11 references to Length
Microsoft.AspNetCore.Shared.Tests (11)
runtime\Http2\DynamicTableTest.cs (9)
47
Assert.Equal(_header1.
Length
, dynamicTable.Size);
50
Assert.Equal(_header1.
Length
+ _header2.
Length
, dynamicTable.Size);
76
DynamicTable dynamicTable = new DynamicTable(_header1.
Length
- 1);
86
DynamicTable dynamicTable = new DynamicTable(_header1.
Length
);
191
dynamicTable.Resize(_header2.
Length
);
212
DynamicTable dynamicTable = new DynamicTable(_header1.
Length
);
222
dynamicTable.Resize(dynamicTable.MaxSize + _header2.
Length
);
240
Assert.Equal(entries.Sum(e => e.
Length
), dynamicTable.Size);
src\Shared\runtime\Http2\Hpack\DynamicTable.cs (2)
73
_size += entry.
Length
;
106
_size -= field.
Length
;