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