- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testEviction_maxWeight_zero (0.14 sec)
-
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
/** * With an unlimited-size cache with maxWeight of 0, entries weighing 0 should still be cached. * Entries with positive weight should not be cached (nor dump existing cache). */ public void testEviction_maxWeight_zero() { CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener(); IdentityLoader<Integer> loader = identityLoader(); // Even numbers are free, odd are too expensive
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 15K bytes - Viewed (0)