12 references to NUM_ENTRIES
System.Runtime.Caching (12)
System\Runtime\Caching\CacheExpires.cs (12)
292
int capacity = _cPagesInUse *
NUM_ENTRIES
;
298
if ((_minEntriesInUse - 1) > ((_cPagesInUse - 1) *
NUM_ENTRIES
))
307
Debug.Assert((((_pages[(pageIndex)]._entries))[0]._cFree) ==
NUM_ENTRIES
, "FreeEntryCount(EntriesI(pageIndex)) == NUM_ENTRIES");
362
else if (((entries)[0]._cFree) ==
NUM_ENTRIES
)
370
Debug.Assert(_cPagesInUse *
NUM_ENTRIES
== _cEntriesInUse, "_cPagesInUse * NUM_ENTRIES == _cEntriesInUse");
387
Debug.Assert(_cEntriesInUse == oldLength *
NUM_ENTRIES
, "_cEntriesInUse == oldLength * ExpiresEntryRef.NUM_ENTRIES");
420
((entries)[0]._cFree) =
NUM_ENTRIES
;
443
int meanFree = (int)(
NUM_ENTRIES
- (
NUM_ENTRIES
* MIN_LOAD_FACTOR));
477
int availableFreeEntries = (_cPagesInUse *
NUM_ENTRIES
) - ((entries)[0]._cFree) - _cEntriesInUse;
478
if (availableFreeEntries < (
NUM_ENTRIES
- ((entries)[0]._cFree)))
640
int cEntries =
NUM_ENTRIES
- ((entries)[0]._cFree);