2 writes to _buckets
Roslyn.Test.PdbUtilities (2)
Reader\Token2SourceLineExporter.cs (2)
416
_buckets
= new bucket[hashsize];
514
_buckets
= newBuckets;
21 references to _buckets
Roslyn.Test.PdbUtilities (21)
Reader\Token2SourceLineExporter.cs (21)
452
bucket[] lbuckets =
_buckets
;
480
rehash(GetPrime(1 +
_buckets
.Length * 2));
485
rehash(
_buckets
.Length);
503
for (nb = 0; nb <
_buckets
.Length; nb++)
505
bucket oldb =
_buckets
[nb];
545
uint hashcode = InitHash(key,
_buckets
.Length, out var seed, out var incr);
552
int bucketNumber = (int)(seed % (uint)
_buckets
.Length);
562
if (
_buckets
[bucketNumber].val == null)
573
_buckets
[bucketNumber].val = nvalue;
574
_buckets
[bucketNumber].key = key;
575
_buckets
[bucketNumber].hash_coll |= (int)hashcode;
584
if (((
_buckets
[bucketNumber].hash_coll & 0x7FFFFFFF) == hashcode) &&
585
key ==
_buckets
[bucketNumber].key)
589
throw new ArgumentException("Argument_AddingDuplicate__" +
_buckets
[bucketNumber].key);
591
_buckets
[bucketNumber].val = nvalue;
601
if (
_buckets
[bucketNumber].hash_coll >= 0)
603
_buckets
[bucketNumber].hash_coll |= unchecked((int)0x80000000);
608
} while (++ntry <
_buckets
.Length);
615
_buckets
[emptySlotNumber].val = nvalue;
616
_buckets
[emptySlotNumber].key = key;
617
_buckets
[emptySlotNumber].hash_coll |= (int)hashcode;