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

◆ Execute< TKey >()

static MergeExecutor< TInputOutput > System.Linq.Parallel.MergeExecutor< TInputOutput >.Execute< TKey > ( PartitionedStream< TInputOutput, TKey > partitions,
bool ignoreOutput,
ParallelMergeOptions options,
TaskScheduler taskScheduler,
bool isOrdered,
CancellationState cancellationState,
int queryId )
inlinestaticpackage

Definition at line 16 of file MergeExecutor.cs.

17 {
19 if (isOrdered && !ignoreOutput)
20 {
21 if (options != ParallelMergeOptions.FullyBuffered && !partitions.OrdinalIndexState.IsWorseThan(OrdinalIndexState.Increasing))
22 {
23 bool autoBuffered = options == ParallelMergeOptions.AutoBuffered;
24 if (partitions.PartitionCount > 1)
25 {
27 }
28 else
29 {
31 }
32 }
33 else
34 {
36 }
37 }
38 else
39 {
41 }
42 mergeExecutor.Execute();
43 return mergeExecutor;
44 }

References System.options.