2 writes to slots
System.Linq.Parallel (2)
System\Linq\Parallel\Utils\HashLookup.cs (2)
38
slots
= new Slot[7];
137
slots
= newSlots;
14 references to slots
System.Linq.Parallel (14)
System\Linq\Parallel\Utils\HashLookup.cs (14)
81
for (int i = buckets[(uint)hashCode % buckets.Length] - 1; i >= 0; i =
slots
[i].next)
83
if (
slots
[i].hashCode == hashCode && AreKeysEqual(
slots
[i].key, key))
87
slots
[i].value = value;
92
value =
slots
[i].value;
104
freeList =
slots
[index].next;
108
if (count ==
slots
.Length) Resize();
114
slots
[index].hashCode = hashCode;
115
slots
[index].key = key;
116
slots
[index].value = value;
117
slots
[index].next = buckets[bucket] - 1;
129
Array.Copy(
slots
, newSlots, count);
147
get { return new KeyValuePair<TKey, TValue>(
slots
[index].key,
slots
[index].value); }