2 writes to _slots
Microsoft.AspNetCore.SignalR.Core (2)
Internal\Utf8HashLookup.cs (2)
26_slots = new Slot[7]; 143_slots = newSlots;
16 references to _slots
Microsoft.AspNetCore.SignalR.Core (16)
Internal\Utf8HashLookup.cs (16)
31if (_count == _slots.Length) 45_slots[slotIndex].hashCode = hashCode; 46_slots[slotIndex].caseSensitiveHashCode = caseSensitiveHashCode; 48_slots[slotIndex].value = value; 49_slots[slotIndex].encodedValue = encodedValue; 51_slots[slotIndex].next = _buckets[bucketIndex] - 1; 52_slots[slotIndex].caseSensitiveNext = _caseSensitiveBuckets[caseSensitiveBucketIndex] - 1; 62for (var i = _caseSensitiveBuckets[caseSensitiveHashCode % _caseSensitiveBuckets.Length] - 1; i >= 0; i = _slots[i].caseSensitiveNext) 64if (_slots[i].caseSensitiveHashCode == caseSensitiveHashCode && encodedValue.SequenceEqual(_slots[i].encodedValue.AsSpan())) 66value = _slots[i].value; 99for (var i = _buckets[hashCode % _buckets.Length] - 1; i >= 0; i = _slots[i].next) 101if (_slots[i].hashCode == hashCode && key.Equals(_slots[i].value, StringComparison.OrdinalIgnoreCase)) 103value = _slots[i].value; 130Array.Copy(_slots, newSlots, _count);