12 references to MaxPerLength
System.Collections.Immutable (12)
System\Collections\Frozen\String\LengthBuckets.cs (4)
25
if (keys.Length / spread >
MaxPerLength
)
30
int arraySize = spread *
MaxPerLength
;
54
int startIndex = (key.Length - minLength) *
MaxPerLength
;
55
int endIndex = startIndex +
MaxPerLength
;
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 (2)
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 (2)
58
int bucketIndex = (item.Length - _minLength) * LengthBuckets.
MaxPerLength
;
59
int bucketEndIndex = bucketIndex + LengthBuckets.
MaxPerLength
;