1 write to _partitionIndex
System.Linq.Parallel (1)
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (1)
418
_partitionIndex
= partitionIndex;
5 references to _partitionIndex
System.Linq.Parallel (5)
System\Linq\Parallel\Partitioning\PartitionedDataSource.cs (5)
470
mutables._currentChunkOffset = currentSectionOffset +
_partitionIndex
* _maxChunkSize;
481
if (
_partitionIndex
< biggerChunkCount)
492
+
_partitionIndex
* smallerChunkSize // + the start of this chunk if all chunks were "smaller"
493
+ (
_partitionIndex
< biggerChunkCount ?
_partitionIndex
: biggerChunkCount); // + the number of "bigger" chunks before this chunk