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;1203 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnWrite()1228 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnRead()1233 for (int i = 0; i < DRAIN_THRESHOLD * 2; i++) { in testDrainRecencyQueueOnRead()1235 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testDrainRecencyQueueOnRead()1240 for (int i = 0; i < DRAIN_THRESHOLD * 2; i++) { in testDrainRecencyQueueOnRead()1245 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnRead()1252 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testDrainRecencyQueueOnRead()1264 for (int i = 0; i < DRAIN_THRESHOLD * 2; i++) { in testRecordRead()[all …]
19 import static com.google.common.collect.MapMakerInternalMap.DRAIN_THRESHOLD;137 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testRecordReadOnCompute()
21 import static com.google.common.cache.LocalCache.DRAIN_THRESHOLD;107 static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;480 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testRecordReadOnCompute()1884 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnWrite()1909 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnRead()1914 for (int i = 0; i < DRAIN_THRESHOLD * 2; i++) { in testDrainRecencyQueueOnRead()1916 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testDrainRecencyQueueOnRead()1921 for (int i = 0; i < DRAIN_THRESHOLD * 2; i++) { in testDrainRecencyQueueOnRead()1926 for (int i = 0; i < DRAIN_THRESHOLD / 2; i++) { in testDrainRecencyQueueOnRead()1933 assertTrue(segment.recencyQueue.size() <= DRAIN_THRESHOLD); in testDrainRecencyQueueOnRead()[all …]
122 static final int DRAIN_THRESHOLD = 0x3F; field in MapMakerInternalMap3049 if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) { in postReadCleanup()
146 static final int DRAIN_THRESHOLD = 0x3F; field in LocalCache3416 if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) { in postReadCleanup()