Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEviction_weightedLru (0.16 sec)

  1. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // evict 9, 0, 1
        getAll(cache, asList(13, 14, 15));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(2, 10, 11, 12, 6, 7, 8, 13, 14, 15);
      }
    
      public void testEviction_weightedLru() {
        // test weighted lru within a single segment
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top