Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WrapPartitionedStreamIndexed()

void System.Linq.Parallel.SelectManyQueryOperator< TLeftInput, TRightInput, TOutput >.WrapPartitionedStreamIndexed ( PartitionedStream< TLeftInput, int > inputStream,
IPartitionedStreamRecipient< TOutput > recipient,
QuerySettings settings )
inlineprivate

Definition at line 256 of file SelectManyQueryOperator.cs.

257 {
258 PairComparer<int, int> keyComparer = new PairComparer<int, int>(inputStream.KeyComparer, Util.GetDefaultComparer<int>());
260 for (int i = 0; i < inputStream.PartitionCount; i++)
261 {
262 partitionedStream[i] = new IndexedSelectManyQueryOperatorEnumerator(inputStream[i], this, settings.CancellationState.MergedCancellationToken);
263 }
265 }

References System.Linq.Parallel.QuerySettings.CancellationState, System.Linq.Parallel.CancellationState.MergedCancellationToken, and System.Linq.Parallel.UnaryQueryOperator< TLeftInput, TOutput >.OrdinalIndexState.

Referenced by System.Linq.Parallel.SelectManyQueryOperator< TLeftInput, TRightInput, TOutput >.WrapPartitionedStream< TLeftKey >().