34 references to GetInteger
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\SequenceOfT.cs (1)
124
int firstIndex = position.
GetInteger
();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
src\Shared\test\Shared.Tests\runtime\Http3\VariableLengthIntegerHelperTests.cs (4)
230
Assert.Equal(7, consumed.
GetInteger
());
231
Assert.Equal(7, examined.
GetInteger
());
245
Assert.Equal(0, consumed.
GetInteger
());
246
Assert.Equal(6, examined.
GetInteger
());
Microsoft.AspNetCore.Shared.Tests (4)
runtime\Http3\VariableLengthIntegerHelperTests.cs (4)
230
Assert.Equal(7, consumed.
GetInteger
());
231
Assert.Equal(7, examined.
GetInteger
());
245
Assert.Equal(0, consumed.
GetInteger
());
246
Assert.Equal(6, examined.
GetInteger
());
System.IO.Pipelines (4)
System\IO\Pipelines\Pipe.cs (2)
461
AdvanceReader((BufferSegment?)consumed.GetObject(), consumed.
GetInteger
(), (BufferSegment?)examined.GetObject(), examined.
GetInteger
());
System\IO\Pipelines\StreamPipeReader.cs (2)
90
AdvanceTo((BufferSegment?)consumed.GetObject(), consumed.
GetInteger
(), (BufferSegment?)examined.GetObject(), examined.
GetInteger
());
System.Memory (12)
System\Buffers\ReadOnlySequence.cs (6)
225
int beginIndex = begin.
GetInteger
();
276
uint sliceEndIndex = (uint)end.
GetInteger
();
353
uint sliceStartIndex = (uint)start.
GetInteger
();
454
BoundsCheck((uint)start.
GetInteger
(), start.GetObject(), (uint)end.
GetInteger
(), end.GetObject());
541
uint positionIndex = (uint)position.
GetInteger
();
System\Buffers\ReadOnlySequence.Helpers.cs (6)
27
int startIndex = position.
GetInteger
();
275
int startIndex = start.
GetInteger
();
335
uint sliceStartIndex = (uint)position.
GetInteger
();
475
start.
GetInteger
() | (_startInteger & ReadOnlySequence.FlagBitMask),
477
end.
GetInteger
() | (_endInteger & ReadOnlySequence.FlagBitMask)
490
start.
GetInteger
() | (_startInteger & ReadOnlySequence.FlagBitMask),
System.Text.Json (9)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (9)
597
SequencePosition start = new SequencePosition(startPosition.GetObject(), startPosition.
GetInteger
() + startConsumed);
598
SequencePosition end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.
GetInteger
() + leftToMatch.Length);
818
end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.
GetInteger
() + idx);
935
end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.
GetInteger
() + idx);
1085
end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.
GetInteger
() + idx);
1238
SequencePosition end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.
GetInteger
() + i);
2181
SequencePosition start = new SequencePosition(_currentPosition.GetObject(), _currentPosition.
GetInteger
() + _consumed);
2192
SequencePosition end = new SequencePosition(_currentPosition.GetObject(), _currentPosition.
GetInteger
() + _consumed);
2621
return new SequencePosition(_prevCurrentPosition.GetObject(), _prevCurrentPosition.
GetInteger
() + _prevConsumed + offset);