4 references to NUMBUCKETS
System.Runtime.Caching (4)
System\Runtime\Caching\CacheExpires.cs (4)
764
private static readonly TimeSpan s_tsPerCycle = new TimeSpan(
NUMBUCKETS
* _tsPerBucket.Ticks);
774
Debug.Assert(
NUMBUCKETS
< byte.MaxValue);
779
_buckets = new ExpiresBucket[
NUMBUCKETS
];
789
int bucket = (int)(((ticksFromCycleStart / _tsPerBucket.Ticks) + 1) %
NUMBUCKETS
);