Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for copyForTesting (0.93 sec)

  1. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          InternalEntry<Object, Object, ?> copyOne = segment.copyForTesting(entryOne, null);
          assertSame(keyOne, entryOne.getKey());
          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          InternalEntry<Object, Object, ?> copyOne = segment.copyForTesting(entryOne, null);
          assertSame(keyOne, entryOne.getKey());
          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         */
        void setTableEntryForTesting(int i, InternalEntry<K, V, ?> entry) {
          table.set(i, castForTesting(entry));
        }
    
        /** Unsafely returns a copy of the given entry. */
        E copyForTesting(InternalEntry<K, V, ?> entry, @Nullable InternalEntry<K, V, ?> newNext) {
          return this.map.entryHelper.copy(self(), castForTesting(entry), castForTesting(newNext));
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top