Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 456789000 (0.52 sec)

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

        ticker.advance(2, MILLISECONDS);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // 3 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // reorder
        getAll(cache, asList(5, 7, 9));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(4, 6, 8, 0, 1, 2, 5, 7, 9);
    
        // 4 expires
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 18.7K bytes
    - Viewed (0)
Back to top