23 writes to RunningIndex
Microsoft.AspNetCore.Components.Forms (2)
src\Components\Shared\src\ExpressionFormatting\ReverseStringBuilder.cs (2)
144RunningIndex = 0; 149next.RunningIndex = tail.RunningIndex + tail.Memory.Length;
Microsoft.AspNetCore.Components.Server (2)
BlazorPack\SequenceOfT.cs (2)
386this.RunningIndex = 0; 409segment.RunningIndex = this.RunningIndex + this.Start + this.Length;
Microsoft.AspNetCore.Components.Web (2)
src\Components\Shared\src\ExpressionFormatting\ReverseStringBuilder.cs (2)
144RunningIndex = 0; 149next.RunningIndex = tail.RunningIndex + tail.Memory.Length;
Microsoft.AspNetCore.Http.Connections.Tests (1)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.HttpLogging (2)
src\Shared\Buffers\BufferSegment.cs (2)
79RunningIndex = 0; 111segment.NextSegment!.RunningIndex = segment.RunningIndex + segment.Length;
Microsoft.AspNetCore.OutputCaching (2)
RecyclableReadOnlySequenceSegment.cs (2)
33obj.RunningIndex = previous.RunningIndex + previous.Length; 48obj.RunningIndex = 0;
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\Shared\Buffers\BufferSegment.cs (2)
79RunningIndex = 0; 111segment.NextSegment!.RunningIndex = segment.RunningIndex + segment.Length;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
src\Shared\test\Shared.Tests\runtime\Http3\VariableLengthIntegerHelperTests.cs (1)
163RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.Shared.Tests (1)
runtime\Http3\VariableLengthIntegerHelperTests.cs (1)
163RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.SignalR.Common.Tests (1)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (1)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.WebUtilities.Tests (1)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
Microsoft.Extensions.Caching.Hybrid.Tests (1)
DistributedCacheTests.cs (1)
364RunningIndex = previous.RunningIndex + previous.Memory.Length;
System.IO.Pipelines (2)
System\IO\Pipelines\BufferSegment.cs (2)
68RunningIndex = 0; 119segment.NextSegment.RunningIndex = segment.RunningIndex + segment.Length;
47 references to RunningIndex
Microsoft.AspNetCore.Components.Forms (1)
src\Components\Shared\src\ExpressionFormatting\ReverseStringBuilder.cs (1)
149next.RunningIndex = tail.RunningIndex + tail.Memory.Length;
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\SequenceOfT.cs (1)
409segment.RunningIndex = this.RunningIndex + this.Start + this.Length;
Microsoft.AspNetCore.Components.Web (1)
src\Components\Shared\src\ExpressionFormatting\ReverseStringBuilder.cs (1)
149next.RunningIndex = tail.RunningIndex + tail.Memory.Length;
Microsoft.AspNetCore.Http.Connections.Tests (1)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.HttpLogging (4)
src\Shared\Buffers\BufferSegment.cs (4)
111segment.NextSegment!.RunningIndex = segment.RunningIndex + segment.Length; 119return (endSegment.RunningIndex + (uint)endIndex) - (startSegment.RunningIndex + (uint)startIndex); 125return (endSegment.RunningIndex + (uint)endIndex) - startPosition;
Microsoft.AspNetCore.OutputCaching (1)
RecyclableReadOnlySequenceSegment.cs (1)
33obj.RunningIndex = previous.RunningIndex + previous.Length;
Microsoft.AspNetCore.Server.Kestrel.Core (4)
src\Shared\Buffers\BufferSegment.cs (4)
111segment.NextSegment!.RunningIndex = segment.RunningIndex + segment.Length; 119return (endSegment.RunningIndex + (uint)endIndex) - (startSegment.RunningIndex + (uint)startIndex); 125return (endSegment.RunningIndex + (uint)endIndex) - startPosition;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
src\Shared\test\Shared.Tests\runtime\Http3\VariableLengthIntegerHelperTests.cs (1)
163RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.Shared.Tests (1)
runtime\Http3\VariableLengthIntegerHelperTests.cs (1)
163RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.SignalR.Common.Tests (1)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (1)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
Microsoft.AspNetCore.WebUtilities.Tests (1)
src\Shared\Buffers.Testing\BufferSegment.cs (1)
17RunningIndex = RunningIndex + Memory.Length
Microsoft.Extensions.Caching.Hybrid.Tests (1)
DistributedCacheTests.cs (1)
364RunningIndex = previous.RunningIndex + previous.Memory.Length;
System.IO.Pipelines (5)
System\IO\Pipelines\BufferSegment.cs (4)
119segment.NextSegment.RunningIndex = segment.RunningIndex + segment.Length; 127return (endSegment.RunningIndex + (uint)endIndex) - (startSegment.RunningIndex + (uint)startIndex); 133return (endSegment.RunningIndex + (uint)endIndex) - startPosition;
System\IO\Pipelines\Pipe.cs (1)
495_lastExaminedIndex = examinedSegment.RunningIndex + examinedIndex;
System.Memory (21)
System\Buffers\ReadOnlySequence.cs (10)
98(startSegment != endSegment && startSegment.RunningIndex > endSegment.RunningIndex) || 301ulong startRange = (ulong)(startSegment.RunningIndex + startIndex); 302ulong sliceRange = (ulong)(((ReadOnlySequenceSegment<T>)sliceEndObject!).RunningIndex + sliceEndIndex); 309(ulong)(((ReadOnlySequenceSegment<T>)endObject!).RunningIndex + endIndex))) 382ulong sliceRange = (ulong)((sliceStartSegment.RunningIndex + sliceStartIndex)); 383ulong startRange = (ulong)(((ReadOnlySequenceSegment<T>)startObject!).RunningIndex + startIndex); 384ulong endRange = (ulong)(((ReadOnlySequenceSegment<T>)endObject!).RunningIndex + endIndex); 578Debug.Assert(currentSegment!.RunningIndex + positionIndex >= 0); 580return currentSegment!.RunningIndex + positionIndex;
System\Buffers\ReadOnlySequence.Helpers.cs (9)
355ulong startRange = (ulong)(((ReadOnlySequenceSegment<T>)startObject!).RunningIndex + startIndex); 360runningIndex = ((ReadOnlySequenceSegment<T>)position.GetObject()!).RunningIndex; 366(ulong)(((ReadOnlySequenceSegment<T>)endObject!).RunningIndex + endIndex))) 404sliceStartRange += (ulong)((ReadOnlySequenceSegment<T>)sliceStartObject).RunningIndex; 409sliceEndRange += (ulong)((ReadOnlySequenceSegment<T>)sliceEndObject).RunningIndex; 415if (sliceStartRange < (ulong)(((ReadOnlySequenceSegment<T>)startObject!).RunningIndex + startIndex) 416|| sliceEndRange > (ulong)(((ReadOnlySequenceSegment<T>)endObject!).RunningIndex + endIndex)) 509return (endSegment.RunningIndex + endIndex) - (startSegment.RunningIndex + startIndex);
System\ThrowHelper.cs (2)
70else if (startSegment != endSegment && startSegment.RunningIndex > endSegment.RunningIndex)