2 instantiations of EncoderHeaderEntry
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\Shared\Hpack\DynamicHPackEncoder.cs (2)
31Head = new EncoderHeaderEntry(); 219EncoderHeaderEntry? newEntry = PopRemovedEntry() ?? new EncoderHeaderEntry();
26 references to EncoderHeaderEntry
Microsoft.AspNetCore.Server.Kestrel.Core (24)
src\Shared\Hpack\DynamicHPackEncoder.cs (19)
15internal readonly EncoderHeaderEntry Head; 18private readonly EncoderHeaderEntry[] _headerBuckets; 23private EncoderHeaderEntry? _removed; 35_headerBuckets = new EncoderHeaderEntry[16]; 120EncoderHeaderEntry? headerField = GetEntry(name, value); 157EncoderHeaderEntry? removed = RemoveHeaderEntry(); 165private EncoderHeaderEntry? GetEntry(string name, string value) 173for (EncoderHeaderEntry? e = _headerBuckets[bucketIndex]; e != null; e = e.Next) 195for (EncoderHeaderEntry? e = _headerBuckets[bucketIndex]; e != null; e = e.Next) 217EncoderHeaderEntry? oldEntry = _headerBuckets[bucketIndex]; 219EncoderHeaderEntry? newEntry = PopRemovedEntry() ?? new EncoderHeaderEntry(); 226private void PushRemovedEntry(EncoderHeaderEntry removed) 235private EncoderHeaderEntry? PopRemovedEntry() 239EncoderHeaderEntry? removed = _removed; 250private EncoderHeaderEntry? RemoveHeaderEntry() 256EncoderHeaderEntry? eldest = Head.After; 259EncoderHeaderEntry? prev = _headerBuckets[bucketIndex]; 260EncoderHeaderEntry? e = prev; 263EncoderHeaderEntry? next = e.Next;
src\Shared\Hpack\EncoderHeaderEntry.cs (5)
17public EncoderHeaderEntry? Next; 24public EncoderHeaderEntry? Before; 25public EncoderHeaderEntry? After; 30public void Initialize(int hash, string name, string value, uint size, int index, EncoderHeaderEntry? next) 62public void AddBefore(EncoderHeaderEntry existingEntry)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Http2\Http2HPackEncoderTests.cs (2)
673var entry = encoder.Head; 685var entry = encoder.Head;