39 internal HashRepartitionEnumerator(
QueryOperatorEnumerator<TInputOutput, TIgnoreKey> source,
int partitionCount,
int partitionIndex, Func<TInputOutput, THashKey>
keySelector,
HashRepartitionStream<TInputOutput, THashKey, int> repartitionStream,
CountdownEvent barrier,
ListChunk<
Pair<TInputOutput, THashKey>>[][] valueExchangeMatrix,
CancellationToken cancellationToken)
55 TIgnoreKey currentKey2 =
default(TIgnoreKey);
56 TInputOutput currentElement2 =
default(TInputOutput);
82 mutables._currentIndex = -1;
89 mutables._currentBufferIndex = -1;
92 mutables._currentIndex = -1;
109 TInputOutput currentElement =
default(TInputOutput);
110 TIgnoreKey currentKey =
default(TIgnoreKey);
114 if ((num++ & 0x3F) == 0)
118 THashKey val =
default(THashKey);
130 if (listChunk ==
null)
143 mutables._currentIndex = -1;
146 protected override void Dispose(
bool disposed)
ListChunk< Pair< TInputOutput, THashKey > > _currentBuffer
override void Dispose(bool disposed)
readonly Func< TInputOutput, THashKey > _keySelector
readonly int _partitionIndex
readonly HashRepartitionStream< TInputOutput, THashKey, int > _repartitionStream
HashRepartitionEnumerator(QueryOperatorEnumerator< TInputOutput, TIgnoreKey > source, int partitionCount, int partitionIndex, Func< TInputOutput, THashKey > keySelector, HashRepartitionStream< TInputOutput, THashKey, int > repartitionStream, CountdownEvent barrier, ListChunk< Pair< TInputOutput, THashKey > >[][] valueExchangeMatrix, CancellationToken cancellationToken)
readonly QueryOperatorEnumerator< TInputOutput, TIgnoreKey > _source
readonly ListChunk< Pair< TInputOutput, THashKey > >[][] _valueExchangeMatrix
void EnumerateAndRedistributeElements()
readonly CancellationToken _cancellationToken
override bool MoveNext(ref Pair< TInputOutput, THashKey > currentElement, ref int currentKey)
readonly int _partitionCount
int GetHashCode(TInputOutput element)
bool MoveNext([MaybeNullWhen(false)][AllowNull] ref TElement currentElement, [AllowNull] ref TKey currentKey)
void ThrowIfCancellationRequested()