Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for usesWriteQueue (0.07 sec)

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

        };
    
        static EntryFactory getFactory(
            Strength keyStrength, boolean usesAccessQueue, boolean usesWriteQueue) {
          int flags =
              ((keyStrength == Strength.WEAK) ? WEAK_MASK : 0)
                  | (usesAccessQueue ? ACCESS_MASK : 0)
                  | (usesWriteQueue ? WRITE_MASK : 0);
          return factories[flags];
        }
    
        /**
         * Creates a new entry.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1));
          if (map.usesAccessQueue()) {
            LocalCache.connectAccessOrder(entryOne, entryTwo);
          }
          if (map.usesWriteQueue()) {
            LocalCache.connectWriteOrder(entryOne, entryTwo);
          }
          assertConnected(map, entryOne, entryTwo);
    
          ReferenceEntry<Object, Object> copyOne = map.copyEntry(entryOne, null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1));
          if (map.usesAccessQueue()) {
            LocalCache.connectAccessOrder(entryOne, entryTwo);
          }
          if (map.usesWriteQueue()) {
            LocalCache.connectWriteOrder(entryOne, entryTwo);
          }
          assertConnected(map, entryOne, entryTwo);
    
          ReferenceEntry<Object, Object> copyOne = map.copyEntry(entryOne, null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top