1 write to _bufferSegmentPool
System.IO.Pipelines (1)
System\IO\Pipelines\Pipe.cs (1)
100
_bufferSegmentPool
= new BufferSegmentStack(options.InitialSegmentPoolSize);
3 references to _bufferSegmentPool
System.IO.Pipelines (3)
System\IO\Pipelines\Pipe.cs (3)
270
if (
_bufferSegmentPool
.TryPop(out BufferSegment? segment))
284
if (
_bufferSegmentPool
.Count < _options.MaxSegmentPoolSize)
286
_bufferSegmentPool
.Push(segment);