Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for removeEntry (2.07 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

          ReferenceEntry<K, V> e;
          while ((e = writeQueue.peek()) != null && map.isExpired(e, now)) {
            if (!removeEntry(e, e.getHash(), RemovalCause.EXPIRED)) {
              throw new AssertionError();
            }
          }
          while ((e = accessQueue.peek()) != null && map.isExpired(e, now)) {
            if (!removeEntry(e, e.getHash(), RemovalCause.EXPIRED)) {
              throw new AssertionError();
            }
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // remove absent
        assertThat(segment.removeEntry(entry, hash, RemovalCause.COLLECTED)).isFalse();
    
        // remove live
        segment.recordWrite(entry, 1, map.ticker.read());
        table.set(0, entry);
        segment.count = 1;
        assertThat(segment.removeEntry(entry, hash, RemovalCause.COLLECTED)).isTrue();
        assertNotificationEnqueued(map, key, value);
    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-tests/test/com/google/common/cache/LocalCacheTest.java

        // remove absent
        assertThat(segment.removeEntry(entry, hash, RemovalCause.COLLECTED)).isFalse();
    
        // remove live
        segment.recordWrite(entry, 1, map.ticker.read());
        table.set(0, entry);
        segment.count = 1;
        assertThat(segment.removeEntry(entry, hash, RemovalCause.COLLECTED)).isTrue();
        assertNotificationEnqueued(map, key, value);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public String toString(); public java.util.Collection values(); public java.util.Set entrySet(); public java.util.Set keySet(); protected void sizeChanged(); private static int keyHash(Object); private void addEntry(Object, Object); private void removeEntry(FastMap$EntryImpl); private void initialize(int); private void readObject(java.io.ObjectInputStream) throws java.io.IOException, ClassNotFoundExcepti; private void writeObject(java.io.ObjectOutputStream) throws java.io.IOException; } org/codeha...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 164.6K bytes
    - Viewed (0)
Back to top