1 write to m_partitionIndex
System.Core (1)
System\Linq\Parallel\Utils\Sorting.cs (1)
81
m_partitionIndex
= partitionIndex;
22 references to m_partitionIndex
System.Core (22)
System\Linq\Parallel\Utils\Sorting.cs (22)
166
if (
m_partitionIndex
== 0)
213
return m_sharedValues[
m_partitionIndex
];
302
m_sharedValues[
m_partitionIndex
] = sortedValues;
307
m_sharedIndices[
m_partitionIndex
] = indices;
308
m_sharedKeys[
m_partitionIndex
] = keys;
309
m_sharedValues[
m_partitionIndex
] = new TInputOutput[values.Count];
312
values.CopyTo(m_sharedValues[
m_partitionIndex
]);
379
int[] myIndices = m_sharedIndices[
m_partitionIndex
];
380
GrowingArray<TKey> myKeys = m_sharedKeys[
m_partitionIndex
];
383
TInputOutput[] myValues = m_sharedValues[
m_partitionIndex
];
389
m_sharedBarriers[phase, Math.Min(
m_partitionIndex
, partnerIndex)].SignalAndWait(cancelToken);
394
if (
m_partitionIndex
< partnerIndex)
426
m_sharedIndices[
m_partitionIndex
] = mergedIndices;
427
m_sharedKeys[
m_partitionIndex
] = myKeys;
428
m_sharedValues[
m_partitionIndex
] = mergedValues;
432
m_sharedBarriers[phase,
m_partitionIndex
].SignalAndWait(cancelToken);
482
m_sharedBarriers[phase,
m_partitionIndex
].SignalAndWait(cancelToken);
493
int[] leftIndices = m_sharedIndices[
m_partitionIndex
];
494
TKey[] leftKeys = m_sharedKeys[
m_partitionIndex
].InternalArray;
495
TInputOutput[] leftValues = m_sharedValues[
m_partitionIndex
];
571
return
m_partitionIndex
+ ((
m_partitionIndex
% (offset * 2)) == 0 ? offset : -offset);