10 references to LengthBuckets
System.Collections.Immutable (10)
System\Collections\Frozen\String\LengthBucketsFrozenDictionary.AlternateLookup.cs (2)
21
int bucketIndex = (key.Length - _minLength) *
LengthBuckets
.MaxPerLength;
22
int bucketEndIndex = bucketIndex +
LengthBuckets
.MaxPerLength;
System\Collections\Frozen\String\LengthBucketsFrozenDictionary.cs (3)
37
int[]? lengthBuckets =
LengthBuckets
.CreateLengthBucketsArrayIfAppropriate(keys, comparer, minLength, maxLength);
62
int bucketIndex = (key.Length - _minLength) *
LengthBuckets
.MaxPerLength;
63
int bucketEndIndex = bucketIndex +
LengthBuckets
.MaxPerLength;
System\Collections\Frozen\String\LengthBucketsFrozenSet.AlternateLookup.cs (2)
20
int bucketIndex = (item.Length - _minLength) *
LengthBuckets
.MaxPerLength;
21
int bucketEndIndex = bucketIndex +
LengthBuckets
.MaxPerLength;
System\Collections\Frozen\String\LengthBucketsFrozenSet.cs (3)
34
int[]? lengthBuckets =
LengthBuckets
.CreateLengthBucketsArrayIfAppropriate(items, comparer, minLength, maxLength);
58
int bucketIndex = (item.Length - _minLength) *
LengthBuckets
.MaxPerLength;
59
int bucketEndIndex = bucketIndex +
LengthBuckets
.MaxPerLength;