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