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