Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for lives (0.2 sec)

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

        DummyEntry<Object, Object> entry = createDummyEntry(key, hash, value, null);
    
        // remove absent
        assertFalse(segment.removeEntry(entry, hash, RemovalCause.COLLECTED));
    
        // remove live
        segment.recordWrite(entry, 1, map.ticker.read());
        table.set(0, entry);
        segment.count = 1;
        assertTrue(segment.removeEntry(entry, hash, RemovalCause.COLLECTED));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        DummyEntry<Object, Object> entry = createDummyEntry(key, hash, value, null);
    
        // remove absent
        assertFalse(segment.removeEntry(entry, hash, RemovalCause.COLLECTED));
    
        // remove live
        segment.recordWrite(entry, 1, map.ticker.read());
        table.set(0, entry);
        segment.count = 1;
        assertTrue(segment.removeEntry(entry, hash, RemovalCause.COLLECTED));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

       * that the function is capable of accepting null input. The transformed map might contain null
       * values, if the function sometimes gives a null result.
       *
       * <p>The returned map is not thread-safe or serializable, even if the underlying map is.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned map
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top