Searched refs:DRAIN_THRESHOLD (Results 1 – 5 of 5) sorted by relevance
21 import static com.google.common.collect.MapMakerInternalMap.DRAIN_THRESHOLD;58 static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;1229 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnWrite()1254 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnRead()1259 for (int i = 0; i < DRAIN_THRESHOLD * 2; i++) { in testDrainRecencyQueueOnRead()1261 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testDrainRecencyQueueOnRead()1266 for (int i = 0; i < DRAIN_THRESHOLD * 2; i++) { in testDrainRecencyQueueOnRead()1271 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnRead()1278 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testDrainRecencyQueueOnRead()1290 for (int i = 0; i < DRAIN_THRESHOLD * 2; i++) { in testRecordRead()[all …]
19 import static com.google.common.collect.MapMakerInternalMap.DRAIN_THRESHOLD;141 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testRecordReadOnCompute()
21 import static com.google.common.cache.LocalCache.DRAIN_THRESHOLD;78 static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;446 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testRecordReadOnCompute()1797 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnWrite()1822 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnRead()1827 for (int i = 0; i < DRAIN_THRESHOLD * 2; i++) { in testDrainRecencyQueueOnRead()1829 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testDrainRecencyQueueOnRead()1834 for (int i = 0; i < DRAIN_THRESHOLD * 2; i++) { in testDrainRecencyQueueOnRead()1839 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnRead()1846 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testDrainRecencyQueueOnRead()[all …]
123 static final int DRAIN_THRESHOLD = 0x3F; field in MapMakerInternalMap3094 if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) { in postReadCleanup()
142 static final int DRAIN_THRESHOLD = 0x3F; field in LocalCache3446 if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) { in postReadCleanup()