Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 45 (0.25 sec)

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

                .concurrencyLevel(1)
                .maximumWeight(45)
                .weigher(intKeyWeigher())
                .build(loader);
        CacheTesting.warmUp(cache, 0, 10);
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // add an at-the-maximum-weight entry
        getAll(cache, asList(45));
        CacheTesting.drainRecencyQueues(cache);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

                .concurrencyLevel(1)
                .maximumWeight(45)
                .weigher(intKeyWeigher())
                .build(loader);
        CacheTesting.warmUp(cache, 0, 10);
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // add an at-the-maximum-weight entry
        getAll(cache, asList(45));
        CacheTesting.drainRecencyQueues(cache);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
Back to top