1 write to buckets
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
657
buckets
= new int[capacity];
16 references to buckets
System.Xml.Linq (16)
System\Xml\Linq\XLinq.cs (16)
670
if (numEntries <
buckets
.Length)
677
for (int bucketIdx = 0; bucketIdx <
buckets
.Length; bucketIdx++) {
678
int entryIdx =
buckets
[bucketIdx];
682
entryIdx = Interlocked.CompareExchange(ref
buckets
[bucketIdx], FullList, EndOfList);
704
if (newSize <
buckets
.Length / 2) {
705
newSize =
buckets
.Length;
708
newSize =
buckets
.Length * 2;
720
for (int bucketIdx = 0; bucketIdx <
buckets
.Length; bucketIdx++) {
721
int entryIdx =
buckets
[bucketIdx];
782
if (newEntry < 0 || newEntry >=
buckets
.Length)
807
entryIndex = Interlocked.CompareExchange(ref
buckets
[hashCode & (
buckets
.Length - 1)], newEntry, EndOfList);
841
currentIndex =
buckets
[hashCode & (
buckets
.Length - 1)];
863
buckets
[hashCode & (
buckets
.Length - 1)] = currentIndex;