15 overrides of AdvanceTo
InMemory.FunctionalTests (4)
Http3\WebTransport\WebTransportTestUtilities.cs (1)
175public override void AdvanceTo(SequencePosition consumed, SequencePosition examined)
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
28public override void AdvanceTo(SequencePosition consumed, SequencePosition examined)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
72public override void AdvanceTo(SequencePosition consumed, SequencePosition examined) => _input.AdvanceTo(consumed, examined);
TestTransport\InMemoryTransportConnection.cs (1)
132public override void AdvanceTo(SequencePosition consumed, SequencePosition examined)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpRequestPipeReader.cs (1)
31public override void AdvanceTo(SequencePosition consumed, SequencePosition examined)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
72public override void AdvanceTo(SequencePosition consumed, SequencePosition examined) => _input.AdvanceTo(consumed, examined);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
28public override void AdvanceTo(SequencePosition consumed, SequencePosition examined)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
28public override void AdvanceTo(SequencePosition consumed, SequencePosition examined)
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
Shared\TestPipeReader.cs (1)
21public override void AdvanceTo(SequencePosition consumed, SequencePosition examined)
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.cs (1)
2947public override void AdvanceTo(SequencePosition consumed, SequencePosition examined) =>
Sockets.FunctionalTests (2)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
72public override void AdvanceTo(SequencePosition consumed, SequencePosition examined) => _input.AdvanceTo(consumed, examined);
src\Servers\Kestrel\test\FunctionalTests\ConnectionMiddlewareTests.cs (1)
102public override void AdvanceTo(SequencePosition consumed, SequencePosition examined)
System.IO.Pipelines (3)
System\IO\Pipelines\Pipe.DefaultPipeReader.cs (1)
30public override void AdvanceTo(SequencePosition consumed, SequencePosition examined) => _pipe.AdvanceReader(consumed, examined);
System\IO\Pipelines\SequencePipeReader.cs (1)
29public override void AdvanceTo(SequencePosition consumed, SequencePosition examined)
System\IO\Pipelines\StreamPipeReader.cs (1)
86public override void AdvanceTo(SequencePosition consumed, SequencePosition examined)
100 references to AdvanceTo
Aspire.Dashboard (1)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
205httpContext.Request.BodyReader.AdvanceTo(result.Buffer.Start, result.Buffer.End);
Aspire.Hosting (1)
Dcp\DcpHostService.cs (1)
363reader.AdvanceTo(position, result.Buffer.End);
http2cat (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
148_input.AdvanceTo(readableBuffer.End, readableBuffer.End);
IIS.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
148_input.AdvanceTo(readableBuffer.End, readableBuffer.End);
IIS.LongTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
148_input.AdvanceTo(readableBuffer.End, readableBuffer.End);
IIS.NewHandler.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
148_input.AdvanceTo(readableBuffer.End, readableBuffer.End);
IIS.NewShim.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
148_input.AdvanceTo(readableBuffer.End, readableBuffer.End);
IIS.ShadowCopy.Tests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
148_input.AdvanceTo(readableBuffer.End, readableBuffer.End);
IISExpress.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
148_input.AdvanceTo(readableBuffer.End, readableBuffer.End);
InMemory.FunctionalTests (20)
Http2\Http2ConnectionTests.cs (3)
1390context.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 1394context.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 5663context.Request.BodyReader.AdvanceTo(result.Buffer.Start, result.Buffer.End);
Http2\Http2StreamTests.cs (2)
1001context.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 1284context.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End);
Http2\TlsTests.cs (1)
133reader.AdvanceTo(consumed, examined);
Http3\Http3StreamTests.cs (1)
625context.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End);
RequestTests.cs (10)
1052httpContext.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 1055httpContext.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 1087httpContext.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 1093httpContext.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 1169reader.AdvanceTo(result.Buffer.Start, result.Buffer.End); 1188httpContext.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 1192httpContext.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 1200httpContext.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 1240httpContext.Request.BodyReader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 1243httpContext.Request.BodyReader.AdvanceTo(readResult.Buffer.Slice(1).Start, readResult.Buffer.End);
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
30_inner.AdvanceTo(consumed, examined);
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
72public override void AdvanceTo(SequencePosition consumed, SequencePosition examined) => _input.AdvanceTo(consumed, examined);
TestTransport\InMemoryTransportConnection.cs (1)
134_reader.AdvanceTo(consumed, examined);
Interop.FunctionalTests (3)
HttpClientHttp2InteropTests.cs (3)
276reader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 333reader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End); 349reader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End);
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (2)
ServerStreamingServerCallHandlerTests.cs (2)
272pipeReader.AdvanceTo(end, end); 276pipeReader.AdvanceTo(buffer.Start, buffer.End);
Microsoft.AspNetCore.OutputCaching.Tests (1)
CachedResponseBodyTests.cs (1)
108reader.AdvanceTo(buffer.End, buffer.End);
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (1)
ResponseCachingBenchmark.cs (1)
101reader.AdvanceTo(buffer.End, buffer.End);
Microsoft.AspNetCore.ResponseCaching.Tests (1)
CachedResponseBodyTests.cs (1)
113reader.AdvanceTo(buffer.End, buffer.End);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
148_input.AdvanceTo(readableBuffer.End, readableBuffer.End);
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.IO.cs (1)
48_bodyInputPipe.Reader.AdvanceTo(readableBuffer.End, readableBuffer.End);
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
148_input.AdvanceTo(readableBuffer.End, readableBuffer.End);
Microsoft.AspNetCore.Server.Kestrel.Core (13)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (2)
39_requestBodyPipe.Reader.AdvanceTo(consumed, examined); 146_context.Input.AdvanceTo(consumed, examined);
Internal\Http\Http1Connection.cs (1)
748Input.AdvanceTo(reader.Position, isConsumed ? reader.Position : result.Buffer.End);
Internal\Http\Http1ContentLengthMessageBody.cs (1)
241_context.Input.AdvanceTo(consumed, examined);
Internal\Http\Http1UpgradeMessageBody.cs (1)
40_context.Input.AdvanceTo(consumed, examined);
Internal\Http2\Http2Connection.cs (2)
384Input.AdvanceTo(buffer.Start, buffer.End); 624Input.AdvanceTo(consumed, examined);
Internal\Http2\Http2MessageBody.cs (1)
71_context.RequestBodyPipe.Reader.AdvanceTo(consumed, examined);
Internal\Http3\Http3ControlStream.cs (2)
176Input.AdvanceTo(consumed, examined); 278Input.AdvanceTo(consumed, examined);
Internal\Http3\Http3MessageBody.cs (1)
46_context.RequestBodyPipe.Reader.AdvanceTo(consumed, examined);
Internal\Http3\Http3Stream.cs (1)
640Input.AdvanceTo(consumed, examined);
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
148_input.AdvanceTo(readableBuffer.End, readableBuffer.End);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (22)
BodyControlTests.cs (2)
97Assert.Throws<Exception>(() => requestPipe.AdvanceTo(new SequencePosition(), new SequencePosition()))); 116Assert.Throws<ObjectDisposedException>(() => requestPipe.AdvanceTo(new SequencePosition(), new SequencePosition()));
Http1\Http1ConnectionTests.cs (17)
38_transport.Input.AdvanceTo(_consumed, _examined); 81_transport.Input.AdvanceTo(_consumed, _examined); 98_transport.Input.AdvanceTo(_consumed, _examined); 211_application.Input.AdvanceTo(consumed, examined); 277_transport.Input.AdvanceTo(_consumed, _examined); 289_transport.Input.AdvanceTo(_consumed, _examined); 414_transport.Input.AdvanceTo(_consumed, _examined); 437_transport.Input.AdvanceTo(_consumed, _examined); 451_transport.Input.AdvanceTo(_consumed, _examined); 466_transport.Input.AdvanceTo(_consumed, _examined); 481_transport.Input.AdvanceTo(_consumed, _examined); 495_transport.Input.AdvanceTo(_consumed, _examined); 512_transport.Input.AdvanceTo(_consumed, _examined); 529_transport.Input.AdvanceTo(_consumed, _examined); 546_transport.Input.AdvanceTo(_consumed, _examined); 563_transport.Input.AdvanceTo(_consumed, _examined); 850_transport.Input.AdvanceTo(_consumed, _examined);
Http2\Http2FrameWriterTests.cs (1)
112pipeReader.AdvanceTo(buffer.Start, buffer.End);
MessageBodyTests.cs (1)
1249reader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.End);
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
72public override void AdvanceTo(SequencePosition consumed, SequencePosition examined) => _input.AdvanceTo(consumed, examined);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (8)
ChunkWriterBenchmark.cs (1)
40_reader.AdvanceTo(result.Buffer.End, result.Buffer.End);
Http2\Http2ConnectionBenchmarkBase.cs (1)
180pipeReader.AdvanceTo(consumed, examined);
InMemoryTransportBenchmark.cs (1)
230Output.AdvanceTo(consumed, examined);
PipeThroughputBenchmark.cs (2)
46_pipe.Reader.AdvanceTo(result.Buffer.End, result.Buffer.End); 62_pipe.Reader.AdvanceTo(result.Buffer.End, result.Buffer.End);
RequestParsingBenchmark.cs (2)
190Pipe.Reader.AdvanceTo(reader.Position, reader.Position); 200Pipe.Reader.AdvanceTo(reader.Position, reader.Position);
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
30_inner.AdvanceTo(consumed, examined);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Servers\Kestrel\shared\CompletionPipeReader.cs (1)
30_inner.AdvanceTo(consumed, examined);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ServerInfrastructure\DuplexPipeStream.cs (1)
148_input.AdvanceTo(readableBuffer.End, readableBuffer.End);
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.cs (2)
1551input.AdvanceTo(consumed, examined); 1690input.AdvanceTo(buffer.Start, buffer.End);
Microsoft.AspNetCore.SignalR.Core (2)
HubConnectionContext.cs (1)
628input.AdvanceTo(consumed, examined);
HubConnectionHandler.cs (1)
360input.AdvanceTo(buffer.Start, buffer.End);
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.cs (1)
2948_originalPipeReader.AdvanceTo(consumed, examined);
Microsoft.AspNetCore.SignalR.Tests.Utils (4)
PipeReaderExtensions.cs (4)
31pipeReader.AdvanceTo(result.Buffer.Start, result.Buffer.Start); 60pipeReader.AdvanceTo(result.Buffer.Start, result.Buffer.End); 81pipeReader.AdvanceTo(result.Buffer.Start, result.Buffer.End); 92pipeReader.AdvanceTo(result.Buffer.Start, result.Buffer.End);
Microsoft.AspNetCore.WebUtilities (2)
FormPipeReader.cs (2)
108_pipeReader.AdvanceTo(buffer.Start, buffer.End); 124_pipeReader.AdvanceTo(buffer.Start, buffer.End);
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
72public override void AdvanceTo(SequencePosition consumed, SequencePosition examined) => _input.AdvanceTo(consumed, examined);
System.IO.Pipelines (3)
System\IO\Pipelines\PipeReader.cs (3)
47/// Subsequent calls to <see cref="System.IO.Pipelines.PipeReader.AdvanceTo(System.SequencePosition,System.SequencePosition)" /> should 79AdvanceTo(buffer.Start, buffer.End); 87/// This is equivalent to calling <see cref="System.IO.Pipelines.PipeReader.AdvanceTo(System.SequencePosition,System.SequencePosition)" /> with identical examined and consumed positions.