4 writes to _currentSegment
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\Http1OutputProducer.cs (4)
450_currentSegment = default; 758_currentSegment = owner.Memory; 766_currentSegment = owner.Memory; 771_currentSegment = new byte[sizeHint];
7 references to _currentSegment
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http\Http1OutputProducer.cs (7)
257if (_currentSegment.Length - bytes < _position) 393if (!_currentSegment.IsEmpty) 397var segment = _currentSegment.Slice(0, _position); 716return _currentSegment.Slice(_position); 723var remainingSize = _currentSegment.Length - _position; 738if (_currentSegment.Length != 0) 749_completedSegments.Add(new CompletedBuffer(_currentSegmentOwner, _currentSegment, _position));