Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for segmentFor (0.18 sec)

  1. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        int hash = original.getHash();
        return segmentFor(hash).copyEntry(original, newNext);
      }
    
      int hash(Object key) {
        int h = keyEquivalence.hash(key);
        return rehash(h);
      }
    
      void reclaimValue(WeakValueReference<K, V, E> valueReference) {
        E entry = valueReference.getEntry();
        int hash = entry.getHash();
        segmentFor(hash).reclaimValue(entry.getKey(), hash, valueReference);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

        return valueStrength.referenceValue(segmentFor(hash), entry, checkNotNull(value), weight);
      }
    
      int hash(@CheckForNull Object key) {
        int h = keyEquivalence.hash(key);
        return rehash(h);
      }
    
      void reclaimValue(ValueReference<K, V> valueReference) {
        ReferenceEntry<K, V> entry = valueReference.getEntry();
        int hash = entry.getHash();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

        return valueStrength.referenceValue(segmentFor(hash), entry, checkNotNull(value), weight);
      }
    
      int hash(@CheckForNull Object key) {
        int h = keyEquivalence.hash(key);
        return rehash(h);
      }
    
      void reclaimValue(ValueReference<K, V> valueReference) {
        ReferenceEntry<K, V> entry = valueReference.getEntry();
        int hash = entry.getHash();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheTesting.java

        checkNotNull(cache);
        checkNotNull(key);
        LocalCache<K, V> map = toLocalCache(cache);
        int hash = map.hash(key);
        Segment<K, V> segment = map.segmentFor(hash);
        segment.expand();
      }
    
      /**
       * Gets the {@link LocalCache} used by the given {@link Cache}, if any, or throws an
       * IllegalArgumentException if this is a Cache type that doesn't have a LocalCache.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheTesting.java

        checkNotNull(cache);
        checkNotNull(key);
        LocalCache<K, V> map = toLocalCache(cache);
        int hash = map.hash(key);
        Segment<K, V> segment = map.segmentFor(hash);
        segment.expand();
      }
    
      /**
       * Gets the {@link LocalCache} used by the given {@link Cache}, if any, or throws an
       * IllegalArgumentException if this is a Cache type that doesn't have a LocalCache.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
Back to top