Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Linq.Parallel.SortHelper< TInputOutput, TKey > Class Template Referencesealed

Public Member Functions

void Dispose ()
 

Package Functions

TInputOutput[] Sort ()
 
override TInputOutput[] Sort ()
 

Static Package Functions

static SortHelper< TInputOutput, TKey >[] GenerateSortHelpers (PartitionedStream< TInputOutput, TKey > partitions, QueryTaskGroupState groupState)
 

Private Member Functions

 SortHelper (QueryOperatorEnumerator< TInputOutput, TKey > source, int partitionCount, int partitionIndex, QueryTaskGroupState groupState, int[][] sharedIndices, OrdinalIndexState indexState, IComparer< TKey > keyComparer, GrowingArray< TKey >[] sharedkeys, TInputOutput[][] sharedValues, Barrier[][] sharedBarriers)
 
void BuildKeysFromSource (ref GrowingArray< TKey > keys, ref List< TInputOutput > values)
 
void QuickSortIndicesInPlace (GrowingArray< TKey > keys, List< TInputOutput > values, OrdinalIndexState ordinalIndexState)
 
void MergeSortCooperatively ()
 
int ComputePartnerIndex (int phase)
 
void QuickSort (int left, int right, TKey[] keys, int[] indices, CancellationToken cancelToken)
 

Private Attributes

readonly QueryOperatorEnumerator< TInputOutput, TKey > _source
 
readonly int _partitionCount
 
readonly int _partitionIndex
 
readonly QueryTaskGroupState _groupState
 
readonly int[][] _sharedIndices
 
readonly GrowingArray< TKey >[] _sharedKeys
 
readonly TInputOutput[][] _sharedValues
 
readonly Barrier[][] _sharedBarriers
 
readonly OrdinalIndexState _indexState
 
readonly IComparer< TKey > _keyComparer
 

Detailed Description

Definition at line 10 of file SortHelper.cs.


The documentation for this class was generated from the following file: