2 writes to _buffer
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (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.Server.HttpSys.FunctionalTests (9)
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (9)
44index += _buffer.Length; 47return ref _buffer[index]; 71_buffer[_insertIndex] = entry; 72_insertIndex = (_insertIndex + 1) % _buffer.Length; 83int headCount = Math.Min(_buffer.Length - _removeIndex, _count); 86Array.Copy(_buffer, _removeIndex, newBuffer, 0, headCount); 87Array.Copy(_buffer, 0, newBuffer, headCount, tailCount); 105ref HeaderField field = ref _buffer[_removeIndex]; 110_removeIndex = (_removeIndex + 1) % _buffer.Length;