2 writes to _buckets
System.Private.CoreLib (2)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierWKeyed.cs (2)
172
_buckets
= new int[_initialCapacity];
182
_buckets
= buckets;
16 references to _buckets
System.Private.CoreLib (16)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierWKeyed.cs (16)
174
_buckets
[i] = -1;
192
int bucket = ComputeBucket(hashCode,
_buckets
.Length);
193
int i = Volatile.Read(ref
_buckets
[bucket]);
217
int bucket = ComputeBucket(hashCode,
_buckets
.Length);
221
_entries[newEntryIdx]._next =
_buckets
[bucket];
227
Volatile.Write(ref
_buckets
[bucket], newEntryIdx);
248
for (int bucket = 0; bucket <
_buckets
.Length; bucket++)
250
for (int entry =
_buckets
[bucket]; entry != -1; entry = _entries[entry]._next)
262
newSize =
_buckets
.Length;
266
newSize = HashHelpers.GetPrime(
_buckets
.Length * 2);
282
for (int bucket = 0; bucket <
_buckets
.Length; bucket++)
284
for (int entry =
_buckets
[bucket]; entry != -1; entry = _entries[entry]._next)
328
for (int bucket = 0; bucket <
_buckets
.Length; bucket++)
330
int walk1 =
_buckets
[bucket];
331
int walk2 =
_buckets
[bucket]; // walk2 advances two elements at a time - if walk1 ever meets walk2, we've detected a cycle.
347
int storedBucket = ComputeBucket(_entries[walk1]._hashCode,
_buckets
.Length);