9 instantiations of ListChunk
System.Linq.Parallel (9)
System\Linq\Parallel\Partitioning\HashRepartitionEnumerator.cs (1)
241
privateBuffers[destinationIndex] = buffer = new
ListChunk
<Pair<TInputOutput, THashKey>>(INITIAL_PRIVATE_BUFFER_SIZE);
System\Linq\Parallel\Partitioning\OrderedHashRepartitionEnumerator.cs (2)
250
privateBuffers[destinationIndex] = buffer = new
ListChunk
<Pair<TInputOutput, THashKey>>(INITIAL_PRIVATE_BUFFER_SIZE);
251
privateKeyBuffers[destinationIndex] = keyBuffer = new
ListChunk
<TOrderKey>(INITIAL_PRIVATE_BUFFER_SIZE);
System\Linq\Parallel\QueryOperators\Binary\GroupJoinQueryOperator.cs (1)
263
currentValue = new
ListChunk
<TElement>(INITIAL_CHUNK_SIZE);
System\Linq\Parallel\QueryOperators\Binary\HashJoinQueryOperatorEnumerator.cs (1)
376
_tail = new
ListChunk
<Pair<TElement, TOrderKey>>(INITIAL_CHUNK_SIZE);
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (3)
342
currentValue = new
ListChunk
<TSource>(INITIAL_CHUNK_SIZE);
404
currentValue = new
ListChunk
<TElement>(INITIAL_CHUNK_SIZE);
742
_values = new
ListChunk
<Pair<TOrderKey, TElement>>(INITIAL_CHUNK_SIZE);
System\Linq\Parallel\Utils\ListChunk.cs (1)
46
_tailChunk = new
ListChunk
<TInputOutput>(tail._chunkCount * 2);
56 references to ListChunk
System.Linq.Parallel (56)
System\Linq\Parallel\Partitioning\HashRepartitionEnumerator.cs (6)
33
private readonly
ListChunk
<Pair<TInputOutput, THashKey>>[][] _valueExchangeMatrix; // Matrix to do inter-task communication.
42
internal
ListChunk
<Pair<TInputOutput, THashKey>>? _currentBuffer; // The buffer we're currently enumerating.
67
CountdownEvent barrier,
ListChunk
<Pair<TInputOutput, THashKey>>[][] valueExchangeMatrix, CancellationToken cancellationToken)
204
ListChunk
<Pair<TInputOutput, THashKey>>[] privateBuffers = new
ListChunk
<Pair<TInputOutput, THashKey>>[_partitionCount];
237
ListChunk
<Pair<TInputOutput, THashKey>> buffer = privateBuffers[destinationIndex];
System\Linq\Parallel\Partitioning\OrderedHashRepartitionEnumerator.cs (12)
33
private readonly
ListChunk
<Pair<TInputOutput, THashKey>>[][] _valueExchangeMatrix; // Matrix to do inter-task communication of values.
34
private readonly
ListChunk
<TOrderKey>[][] _keyExchangeMatrix; // Matrix to do inter-task communication of order keys.
43
internal
ListChunk
<Pair<TInputOutput, THashKey>>? _currentBuffer; // The buffer we're currently enumerating.
44
internal
ListChunk
<TOrderKey>? _currentKeyBuffer; // The buffer we're currently enumerating.
69
ListChunk
<Pair<TInputOutput, THashKey>>[][] valueExchangeMatrix,
ListChunk
<TOrderKey>[][] keyExchangeMatrix, CancellationToken cancellationToken)
210
ListChunk
<Pair<TInputOutput, THashKey>>[] privateBuffers = new
ListChunk
<Pair<TInputOutput, THashKey>>[_partitionCount];
211
ListChunk
<TOrderKey>[] privateKeyBuffers = new
ListChunk
<TOrderKey>[_partitionCount];
244
ListChunk
<Pair<TInputOutput, THashKey>> buffer = privateBuffers[destinationIndex];
245
ListChunk
<TOrderKey> keyBuffer = privateKeyBuffers[destinationIndex];
System\Linq\Parallel\Partitioning\OrderedHashRepartitionStream.cs (4)
28
ListChunk
<Pair<TInputOutput, THashKey>>[][] valueExchangeMatrix =
29
JaggedArray<
ListChunk
<Pair<TInputOutput, THashKey>>>.Allocate(inputStream.PartitionCount, inputStream.PartitionCount);
30
ListChunk
<TOrderKey>[][] keyExchangeMatrix =
31
JaggedArray<
ListChunk
<TOrderKey>>.Allocate(inputStream.PartitionCount, inputStream.PartitionCount);
System\Linq\Parallel\Partitioning\UnorderedHashRepartitionStream.cs (2)
33
ListChunk
<Pair<TInputOutput, THashKey>>[][] valueExchangeMatrix =
34
JaggedArray<
ListChunk
<Pair<TInputOutput, THashKey>>>.Allocate(inputStream.PartitionCount, inputStream.PartitionCount);
System\Linq\Parallel\QueryOperators\Binary\GroupJoinQueryOperator.cs (9)
232
HashLookup<THashKey,
ListChunk
<TElement>> lookup = new HashLookup<THashKey,
ListChunk
<TElement>>(_keyComparer);
246
private readonly HashLookup<THashKey,
ListChunk
<TElement>> _base;
248
public GroupJoinBaseHashBuilder(HashLookup<THashKey,
ListChunk
<TElement>> baseLookup)
259
ListChunk
<TElement>? currentValue = default(
ListChunk
<TElement>);
279
private sealed class GroupJoinHashLookup : GroupJoinHashLookup<THashKey, TElement,
ListChunk
<TElement>, int>
283
internal GroupJoinHashLookup(HashLookup<THashKey,
ListChunk
<TElement>> lookup)
290
protected override Pair<IEnumerable<TElement>, int> CreateValuePair(
ListChunk
<TElement> baseValue)
System\Linq\Parallel\QueryOperators\Binary\HashJoinQueryOperatorEnumerator.cs (4)
53
internal
ListChunk
<Pair<TRightInput, TRightKey>>? _currentRightMatches; // Current right matches (if any).
108
ListChunk
<Pair<TRightInput, TRightKey>>? currentRightChunk = mutables._currentRightMatches;
341
internal
ListChunk
<Pair<TElement, TOrderKey>>? Tail
348
private
ListChunk
<Pair<TElement, TOrderKey>>? _tail;
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (14)
231
internal HashLookup<Wrapper<TGroupKey>,
ListChunk
<TElement>>? _hashLookup; // The lookup with key-value mappings.
289
protected abstract HashLookup<Wrapper<TGroupKey>,
ListChunk
<TElement>> BuildHashLookup();
320
protected override HashLookup<Wrapper<TGroupKey>,
ListChunk
<TSource>> BuildHashLookup()
322
HashLookup<Wrapper<TGroupKey>,
ListChunk
<TSource>> hashlookup =
323
new HashLookup<Wrapper<TGroupKey>,
ListChunk
<TSource>>(new WrapperEqualityComparer<TGroupKey>(_keyComparer));
338
ListChunk
<TSource>? currentValue = null;
382
protected override HashLookup<Wrapper<TGroupKey>,
ListChunk
<TElement>> BuildHashLookup()
384
HashLookup<Wrapper<TGroupKey>,
ListChunk
<TElement>> hashlookup =
385
new HashLookup<Wrapper<TGroupKey>,
ListChunk
<TElement>>(new WrapperEqualityComparer<TGroupKey>(_keyComparer));
400
ListChunk
<TElement>? currentValue = null;
681
private readonly KeyValuePair<Wrapper<TGroupKey>,
ListChunk
<TElement>> _keyValues; // A key value pair.
687
internal GroupByGrouping(KeyValuePair<Wrapper<TGroupKey>,
ListChunk
<TElement>> keyValues)
730
private
ListChunk
<Pair<TOrderKey, TElement>>? _values; // Values in this group
787
ListChunk
<Pair<TOrderKey, TElement>>? curChunk = _values;
System\Linq\Parallel\Utils\ListChunk.cs (5)
23
private
ListChunk
<TInputOutput>? _nextChunk;
24
private
ListChunk
<TInputOutput> _tailChunk;
43
ListChunk
<TInputOutput> tail = _tailChunk;
56
internal
ListChunk
<TInputOutput>? Next
74
ListChunk
<TInputOutput>? curr = this;