11 references to NUM_ENTRIES
System.Runtime.Caching (11)
System\Runtime\Caching\CacheUsage.cs (11)
272int capacity = _cPagesInUse * NUM_ENTRIES; 278if ((_minEntriesInUse - 1) > ((_cPagesInUse - 1) * NUM_ENTRIES)) 287Debug.Assert((((_pages[(pageIndex)]._entries))[0]._cFree) == NUM_ENTRIES, "FreeEntryCount(EntriesI(pageIndex)) == NUM_ENTRIES"); 347else if (((entries)[0]._cFree) == NUM_ENTRIES) 355Debug.Assert(_cPagesInUse * NUM_ENTRIES == _cEntriesInUse, "_cPagesInUse * NUM_ENTRIES == _cEntriesInUse"); 372Debug.Assert(_cEntriesInUse == oldLength * NUM_ENTRIES, "_cEntriesInUse == oldLength * ExpiresEntryRef.NUM_ENTRIES"); 405((entries)[0]._cFree) = NUM_ENTRIES; 428int meanFree = (int)(NUM_ENTRIES - (NUM_ENTRIES * MIN_LOAD_FACTOR)); 460int availableFreeEntries = (_cPagesInUse * NUM_ENTRIES) - ((entries)[0]._cFree) - _cEntriesInUse; 461if (availableFreeEntries < (NUM_ENTRIES - ((entries)[0]._cFree)))