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

◆ BuildHashLookup()

override HashLookup< Wrapper< TGroupKey >, ListChunk< TSource > > System.Linq.Parallel.GroupByIdentityQueryOperatorEnumerator< TSource, TGroupKey, TOrderKey >.BuildHashLookup ( )
inlineprotected

Definition at line 13 of file GroupByIdentityQueryOperatorEnumerator.cs.

14 {
17 TOrderKey currentKey = default(TOrderKey);
18 int num = 0;
19 while (_source.MoveNext(ref currentElement, ref currentKey))
20 {
21 if ((num++ & 0x3F) == 0)
22 {
24 }
28 {
31 }
33 }
34 return hashLookup;
35 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
void Add(TKey key, TValue value)
readonly QueryOperatorEnumerator< Pair< TSource, TGroupKey >, TOrderKey > _source

References System.Linq.Parallel.GroupByQueryOperatorEnumerator< TSource, TGroupKey, TSource, TOrderKey >._cancellationToken, System.Linq.Parallel.GroupByQueryOperatorEnumerator< TSource, TGroupKey, TSource, TOrderKey >._keyComparer, System.Linq.Parallel.GroupByQueryOperatorEnumerator< TSource, TGroupKey, TSource, TOrderKey >._source, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.key, System.Threading.CancellationToken.ThrowIfCancellationRequested(), System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.