2 writes to _buffer
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
17
_buffer
= new HeaderField[maxSize / HeaderField.RfcOverhead];
89
_buffer
= newBuffer;
9 references to _buffer
Microsoft.AspNetCore.Shared.Tests (9)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (9)
44
index +=
_buffer
.Length;
47
return ref
_buffer
[index];
71
_buffer
[_insertIndex] = entry;
72
_insertIndex = (_insertIndex + 1) %
_buffer
.Length;
83
int headCount = Math.Min(
_buffer
.Length - _removeIndex, _count);
86
Array.Copy(
_buffer
, _removeIndex, newBuffer, 0, headCount);
87
Array.Copy(
_buffer
, 0, newBuffer, headCount, tailCount);
105
ref HeaderField field = ref
_buffer
[_removeIndex];
110
_removeIndex = (_removeIndex + 1) %
_buffer
.Length;