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