2 writes to _buckets
System.Private.CoreLib (2)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierW.cs (2)
163
_buckets
= new int[_initialCapacity];
173
_buckets
= buckets;
17 references to _buckets
System.Private.CoreLib (17)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierW.cs (17)
165
_buckets
[i] = -1;
183
int bucket = ComputeBucket(hashCode,
_buckets
.Length);
184
int i = Volatile.Read(ref
_buckets
[bucket]);
206
int bucket = ComputeBucket(hashCode,
_buckets
.Length);
213
int idx =
_buckets
[bucket];
239
_entries[newEntryIdx]._next =
_buckets
[bucket];
245
Volatile.Write(ref
_buckets
[bucket], newEntryIdx);
266
for (int bucket = 0; bucket <
_buckets
.Length; bucket++)
268
for (int entry =
_buckets
[bucket]; entry != -1; entry = _entries[entry]._next)
280
newSize =
_buckets
.Length;
284
newSize = HashHelpers.GetPrime(
_buckets
.Length * 2);
300
for (int bucket = 0; bucket <
_buckets
.Length; bucket++)
302
for (int entry =
_buckets
[bucket]; entry != -1; entry = _entries[entry]._next)
347
for (int bucket = 0; bucket <
_buckets
.Length; bucket++)
349
int walk1 =
_buckets
[bucket];
350
int walk2 =
_buckets
[bucket]; // walk2 advances two elements at a time - if walk1 ever meets walk2, we've detected a cycle.
360
int storedBucket = ComputeBucket(_entries[walk1]._hashCode,
_buckets
.Length);