4 writes to _currentSegment
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\Http1OutputProducer.cs (4)
449_currentSegment = default; 757_currentSegment = owner.Memory; 765_currentSegment = owner.Memory; 770_currentSegment = new byte[sizeHint];
7 references to _currentSegment
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http\Http1OutputProducer.cs (7)
257if (_currentSegment.Length - bytes < _position) 392if (!_currentSegment.IsEmpty) 394var segment = _currentSegment.Slice(0, _position); 715return _currentSegment.Slice(_position); 722var remainingSize = _currentSegment.Length - _position; 737if (_currentSegment.Length != 0) 748_completedSegments.Add(new CompletedBuffer(_currentSegmentOwner, _currentSegment, _position));