2 writes to _completed
Microsoft.Build.Framework (2)
SegmentedArray.cs (2)
617
_completed
= 0;
642
_completed
+= currentSegmentLength;
6 references to _completed
Microsoft.Build.Framework (6)
SegmentedArray.cs (6)
625
if (
_completed
== _length)
631
var initialFirstSegment = (_firstOffset + _length -
_completed
- 1) >> SegmentedArrayHelper.GetSegmentShift<T>();
632
var initialSecondSegment = (_secondOffset + _length -
_completed
- 1) >> SegmentedArrayHelper.GetSegmentShift<T>();
633
var firstOffset = (_firstOffset + _length -
_completed
- 1) & SegmentedArrayHelper.GetOffsetMask<T>();
634
var secondOffset = (_secondOffset + _length -
_completed
- 1) & SegmentedArrayHelper.GetOffsetMask<T>();
640
var currentSegmentLength = Math.Min(Math.Min(remainingInFirstSegment, remainingInSecondSegment), _length -
_completed
);