Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for copyEntry (0.07 sec)

  1. 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);
      }
    
      /**
    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. 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ReferenceEntry<Object, Object> copyOne = map.copyEntry(entryOne, null);
          assertSame(keyOne, entryOne.getKey());
          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          assertSame(valueOne, copyOne.getValueReference().get());
          assertConnected(map, copyOne, entryTwo);
    
          ReferenceEntry<Object, Object> copyTwo = map.copyEntry(entryTwo, copyOne);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ReferenceEntry<Object, Object> copyOne = map.copyEntry(entryOne, null);
          assertSame(keyOne, entryOne.getKey());
          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          assertSame(valueOne, copyOne.getValueReference().get());
          assertConnected(map, copyOne, entryTwo);
    
          ReferenceEntry<Object, Object> copyTwo = map.copyEntry(entryTwo, copyOne);
    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