1 write to _localOffset
System.Collections.Concurrent (1)
System\Collections\Concurrent\PartitionerStatic.cs (1)
419
_localOffset
= new StrongBox<int>(-1);
17 references to _localOffset
System.Collections.Concurrent (17)
System\Collections\Concurrent\PartitionerStatic.cs (17)
416
if (
_localOffset
== null)
425
if (
_localOffset
.Value < _currentChunkSize.Value - 1)
428
_localOffset
.Value++;
437
Debug.Assert(
_localOffset
.Value == _currentChunkSize.Value - 1 || _currentChunkSize.Value == 0);
463
_localOffset
.Value = 0;
951
Debug.Assert(
_localOffset
!.Value >= 0 &&
_localOffset
.Value < _currentChunkSize.Value);
952
return (_localList[
_localOffset
.Value]);
1113
_localOffset
!.Value = -1;
1221
Debug.Assert(
_localOffset
!.Value >= 0 &&
_localOffset
.Value < _currentChunkSize.Value);
1222
return new KeyValuePair<long, TSource>(_startIndex +
_localOffset
.Value,
1223
_sharedReader[_startIndex +
_localOffset
.Value]);
1305
Debug.Assert(
_localOffset
!.Value >= 0 &&
_localOffset
.Value < _currentChunkSize.Value);
1306
return new KeyValuePair<long, TSource>(_startIndex +
_localOffset
.Value,
1307
_sharedReader[_startIndex +
_localOffset
.Value]);