Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for copyEntry (0.07 seconds)

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

       * This method is a convenience for testing. Code should call {@link Segment#copyEntry} directly.
       */
      // Guarded By Segment.this
      @SuppressWarnings("GuardedBy")
      @VisibleForTesting
      ReferenceEntry<K, V> copyEntry(ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext) {
        int hash = original.getHash();
        return segmentFor(hash).copyEntry(original, newNext);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/cache/LocalCache.java

       * This method is a convenience for testing. Code should call {@link Segment#copyEntry} directly.
       */
      // Guarded By Segment.this
      @SuppressWarnings("GuardedBy")
      @VisibleForTesting
      ReferenceEntry<K, V> copyEntry(ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext) {
        int hash = original.getHash();
        return segmentFor(hash).copyEntry(original, newNext);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

      }
    
      /**
       * This method is a convenience for testing. Code should call {@link Segment#copyEntry} directly.
       */
      // Guarded By Segment.this
      @VisibleForTesting
      E copyEntry(E original, E newNext) {
        int hash = original.getHash();
        return segmentFor(hash).copyEntry(original, newNext);
      }
    
      int hash(Object key) {
        int h = keyEquivalence.hash(key);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      }
    
      /**
       * This method is a convenience for testing. Code should call {@link Segment#copyEntry} directly.
       */
      // Guarded By Segment.this
      @VisibleForTesting
      E copyEntry(E original, E newNext) {
        int hash = original.getHash();
        return segmentFor(hash).copyEntry(original, newNext);
      }
    
      int hash(Object key) {
        int h = keyEquivalence.hash(key);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            }
            doneSignal.countDown();
          }
        }.start();
    
        ReferenceEntry<Object, Object> entry = segment.getEntry(one, hash);
        ReferenceEntry<Object, Object> newEntry = segment.copyEntry(entry, null);
        table.set(index, newEntry);
    
        @SuppressWarnings("unchecked")
        LoadingValueReference<Object, Object> valueReference =
            (LoadingValueReference) newEntry.getValueReference();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            }
            doneSignal.countDown();
          }
        }.start();
    
        ReferenceEntry<Object, Object> entry = segment.getEntry(one, hash);
        ReferenceEntry<Object, Object> newEntry = segment.copyEntry(entry, null);
        table.set(index, newEntry);
    
        @SuppressWarnings("unchecked")
        LoadingValueReference<Object, Object> valueReference =
            (LoadingValueReference) newEntry.getValueReference();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
Back to Top