Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for reclaimKey (0.04 sec)

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

        assertThat(listener.getCount()).isEqualTo(0);
        assertThat(segment.reclaimKey(entryOne, hashOne)).isFalse();
        assertThat(listener.getCount()).isEqualTo(0);
        table.set(0, entryOne);
        assertThat(segment.reclaimKey(entryTwo, hashTwo)).isFalse();
        assertThat(listener.getCount()).isEqualTo(0);
        table.set(0, entryTwo);
        assertThat(segment.reclaimKey(entryThree, hashThree)).isFalse();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(listener.getCount()).isEqualTo(0);
        assertThat(segment.reclaimKey(entryOne, hashOne)).isFalse();
        assertThat(listener.getCount()).isEqualTo(0);
        table.set(0, entryOne);
        assertThat(segment.reclaimKey(entryTwo, hashTwo)).isFalse();
        assertThat(listener.getCount()).isEqualTo(0);
        table.set(0, entryTwo);
        assertThat(segment.reclaimKey(entryThree, hashThree)).isFalse();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

        int hash = entry.getHash();
        segmentFor(hash).reclaimValue(entry.getKey(), hash, valueReference);
      }
    
      void reclaimKey(ReferenceEntry<K, V> entry) {
        int hash = entry.getHash();
        segmentFor(hash).reclaimKey(entry, hash);
      }
    
      /**
       * This method is a convenience for testing. Code should call {@link Segment#getLiveValue}
       * instead.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/internal/Finalizer.java

        Class<?> finalizableReferenceClass = finalizableReferenceClassReference.get();
        if (finalizableReferenceClass == null) {
          /*
           * FinalizableReference's class loader was reclaimed. While there's a chance that other
           * finalizable references could be enqueued subsequently (at which point the class loader
           * would be resurrected by virtue of us having a strong reference to it), we should pretty
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       *
       * Now, Finalizer no longer keeps an indirect strong reference to the static
       * FinalizableReferenceQueue field in ReferenceMap. The application class loader can be reclaimed
       * at which point the Finalizer thread will stop and its decoupled class loader can also be
       * reclaimed.
       *
       * If any of this fails along the way, we fall back to loading Finalizer directly in the
       * application class loader.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      @Nullable FinalizableWeakReference<Object> reference;
    
      /** Create the FRQ in a method that goes out of scope so that we're sure it will be reclaimed. */
      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  10. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
Back to top