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

◆ WrapPartitionedStream< TKey >() [2/2]

Definition at line 85 of file IndexedWhereQueryOperator.cs.

86 {
87 int partitionCount = inputStream.PartitionCount;
90 {
91 ListQueryResults<TInputOutput> listQueryResults = QueryOperator<TInputOutput>.ExecuteAndCollectResults(inputStream, partitionCount, base.Child.OutputOrdered, preferStriping, settings);
92 partitionedStream = listQueryResults.GetPartitionedStream();
93 }
94 else
95 {
97 }
99 for (int i = 0; i < partitionCount; i++)
100 {
101 partitionedStream2[i] = new IndexedWhereQueryOperatorEnumerator(partitionedStream[i], _predicate, settings.CancellationState.MergedCancellationToken);
102 }
104 }
readonly Func< TInputOutput, int, bool > _predicate

References System.Linq.Parallel.IndexedWhereQueryOperator< TInputOutput >._predicate, System.Linq.Parallel.IndexedWhereQueryOperator< TInputOutput >._prematureMerge, System.Linq.Parallel.QuerySettings.CancellationState, and System.Linq.Parallel.CancellationState.MergedCancellationToken.