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