Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for reclaimKey (0.05 sec)

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

        // absent
        assertEquals(0, listener.getCount());
        assertFalse(segment.reclaimKey(entryOne, hashOne));
        assertEquals(0, listener.getCount());
        table.set(0, entryOne);
        assertFalse(segment.reclaimKey(entryTwo, hashTwo));
        assertEquals(0, listener.getCount());
        table.set(0, entryTwo);
        assertFalse(segment.reclaimKey(entryThree, hashThree));
        assertEquals(0, listener.getCount());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        E entry = valueReference.getEntry();
        int hash = entry.getHash();
        segmentFor(hash).reclaimValue(entry.getKey(), hash, valueReference);
      }
    
      void reclaimKey(E entry) {
        int hash = entry.getHash();
        segmentFor(hash).reclaimKey(entry, hash);
      }
    
      /**
       * This method is a convenience for testing. Code should call {@link Segment#getLiveValue}
       * instead.
       */
      @VisibleForTesting
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMaker.java

     * present in the map to be reclaimed by the garbage collector. Entries with reclaimed keys or
     * values may be removed from the map on each map modification or on occasional map accesses; such
     * entries may be counted by {@link Map#size}, but will never be visible to read or write
     * operations. A partially-reclaimed entry is never exposed to the user. Any {@link Map.Entry}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Striped.java

     * stripes (locks/semaphores) are initialized eagerly, and are not reclaimed unless {@code Striped}
     * itself is reclaimable. <i>Weak</i> means that locks/semaphores are created lazily, and they are
     * allowed to be reclaimed if nobody is holding on to them. This is useful, for example, if one
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <p>If {@link #weakKeys weakKeys}, {@link #weakValues weakValues}, or {@link #softValues
     * softValues} are requested, it is possible for a key or value present in the cache to be reclaimed
     * by the garbage collector. Entries with reclaimed keys or values may be removed from the cache on
     * each cache modification, on occasional cache accesses, or on calls to {@link Cache#cleanUp}; such
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top