Home
last modified time | relevance | path

Searched refs:evictsBySize (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java208 entryFactory = EntryFactory.getFactory(keyStrength, expires(), evictsBySize()); in MapMakerInternalMap()
217 if (evictsBySize()) { in MapMakerInternalMap()
227 && (!evictsBySize() || segmentCount * 2 <= maximumSize)) { in MapMakerInternalMap()
246 if (evictsBySize()) { in MapMakerInternalMap()
265 boolean evictsBySize() { in evictsBySize() method in MapMakerInternalMap
477 boolean evictsBySize) { in getFactory() argument
478 int flags = (expireAfterWrite ? EXPIRABLE_MASK : 0) | (evictsBySize ? EVICTABLE_MASK : 0); in getFactory()
2101 recencyQueue = (map.evictsBySize() || map.expiresAfterAccess()) in Segment()
2105 evictionQueue = map.evictsBySize() in Segment()
2377 if (map.evictsBySize() && count >= maxSegmentSize) { in evictEntries()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java100 assertFalse(map.evictsBySize()); in testDefaults()
456 if (map.evictsBySize()) { in testCopyEntry()
482 if (map.evictsBySize()) { in assertConnected()
1382 if (map.evictsBySize() || map.expiresAfterAccess()) { in checkAndDrainRecencyQueue()
1391 if (map.evictsBySize()) { in checkEvictionQueues()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheTesting.java286 if (map.evictsBySize()) {
DLocalCacheTest.java176 assertFalse(map.evictsBySize()); in testDefaults()
2063 if (map.evictsBySize() || map.expiresAfterAccess()) { in checkAndDrainRecencyQueue()
2072 if (map.evictsBySize() || map.expiresAfterAccess()) { in checkEvictionQueues()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java262 if (evictsBySize() && !customWeigher()) { in LocalCache()
274 && (!evictsBySize() || segmentCount * 20 <= maxWeight)) { in LocalCache()
293 if (evictsBySize()) { in LocalCache()
312 boolean evictsBySize() { in evictsBySize() method in LocalCache
337 return expiresAfterAccess() || evictsBySize(); in usesAccessQueue()
2662 if (!map.evictsBySize()) { in evictEntries()