1 write to Pipe
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
BufferWriterTests.cs (1)
16
Pipe
= new Pipe(new PipeOptions(useSynchronizationContext: false, pauseWriterThreshold: 0, resumeWriterThreshold: 0));
23 references to Pipe
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (23)
BufferWriterTests.cs (23)
21
Pipe
.Writer.Complete();
22
Pipe
.Reader.Complete();
27
Pipe
.Writer.FlushAsync().GetAwaiter().GetResult();
28
Pipe
.Writer.Complete();
29
ReadResult readResult =
Pipe
.Reader.ReadAsync().GetAwaiter().GetResult();
31
Pipe
.Reader.AdvanceTo(readResult.Buffer.End);
44
BufferWriter<PipeWriter> writer = new BufferWriter<PipeWriter>(
Pipe
.Writer);
77
BufferWriter<PipeWriter> writer = new BufferWriter<PipeWriter>(
Pipe
.Writer);
94
BufferWriter<PipeWriter> writer = new BufferWriter<PipeWriter>(
Pipe
.Writer);
108
BufferWriter<PipeWriter> writer = new BufferWriter<PipeWriter>(
Pipe
.Writer);
120
BufferWriter<PipeWriter> writer = new BufferWriter<PipeWriter>(
Pipe
.Writer);
134
Memory<byte> memory =
Pipe
.Writer.GetMemory();
135
BufferWriter<PipeWriter> writer = new BufferWriter<PipeWriter>(
Pipe
.Writer);
150
BufferWriter<PipeWriter> writer = new BufferWriter<PipeWriter>(
Pipe
.Writer);
160
int initialLength =
Pipe
.Writer.GetMemory().Length;
161
BufferWriter<PipeWriter> writer = new BufferWriter<PipeWriter>(
Pipe
.Writer);
169
int initialLength =
Pipe
.Writer.GetMemory().Length;
171
BufferWriter<PipeWriter> writer = new BufferWriter<PipeWriter>(
Pipe
.Writer);
178
Assert.Equal(
Pipe
.Writer.GetMemory().Length, writer.Span.Length);
185
BufferWriter<PipeWriter> writer = new BufferWriter<PipeWriter>(
Pipe
.Writer);
201
Pipe
.Writer.FlushAsync().GetAwaiter().GetResult();
202
var readResult =
Pipe
.Reader.ReadAsync().GetAwaiter().GetResult();
221
BufferWriter<PipeWriter> writer = new BufferWriter<PipeWriter>(
Pipe
.Writer);