Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Live (0.14 sec)

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

        // wait, so that entries have just 10 ms to live
        ticker.advance(ttl * 2 / 3, MILLISECONDS);
    
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
        assertEquals(0, removalListener.getCount());
    
        int shift2 = shift1 + 10;
        loader.setValuePrefix(shift2);
        // fill with new data - has to live for 20 ms more
        for (int i = 0; i < 10; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // wait, so that entries have just 10 ms to live
        ticker.advance(ttl * 2 / 3, MILLISECONDS);
    
        assertEquals(10, CacheTesting.expirationQueueSize(cache));
        assertEquals(0, removalListener.getCount());
    
        int shift2 = shift1 + 10;
        loader.setValuePrefix(shift2);
        // fill with new data - has to live for 20 ms more
        for (int i = 0; i < 10; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
Back to top