12 references to NUM_ENTRIES
System.Runtime.Caching (12)
System\Runtime\Caching\CacheExpires.cs (12)
289int capacity = _cPagesInUse * NUM_ENTRIES; 295if ((_minEntriesInUse - 1) > ((_cPagesInUse - 1) * NUM_ENTRIES)) 304Debug.Assert((((_pages[(pageIndex)]._entries))[0]._cFree) == NUM_ENTRIES, "FreeEntryCount(EntriesI(pageIndex)) == NUM_ENTRIES"); 359else if (((entries)[0]._cFree) == NUM_ENTRIES) 367Debug.Assert(_cPagesInUse * NUM_ENTRIES == _cEntriesInUse, "_cPagesInUse * NUM_ENTRIES == _cEntriesInUse"); 384Debug.Assert(_cEntriesInUse == oldLength * NUM_ENTRIES, "_cEntriesInUse == oldLength * ExpiresEntryRef.NUM_ENTRIES"); 417((entries)[0]._cFree) = NUM_ENTRIES; 440int meanFree = (int)(NUM_ENTRIES - (NUM_ENTRIES * MIN_LOAD_FACTOR)); 474int availableFreeEntries = (_cPagesInUse * NUM_ENTRIES) - ((entries)[0]._cFree) - _cEntriesInUse; 475if (availableFreeEntries < (NUM_ENTRIES - ((entries)[0]._cFree))) 636int cEntries = NUM_ENTRIES - ((entries)[0]._cFree);