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