- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 126 for weak (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
checkStrength(map, Strength.WEAK, Strength.STRONG); assertThat(map.entryHelper) .isInstanceOf(MapMakerInternalMap.WeakKeyStrongValueEntry.Helper.class); } public void testSetWeakValues() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakValues()); checkStrength(map, Strength.STRONG, Strength.WEAK); assertThat(map.entryHelper)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
checkStrength(map, Strength.WEAK, Strength.STRONG); assertThat(map.entryHelper) .isInstanceOf(MapMakerInternalMap.WeakKeyStrongValueEntry.Helper.class); } public void testSetWeakValues() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakValues()); checkStrength(map, Strength.STRONG, Strength.WEAK); assertThat(map.entryHelper)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// This is trickier than expected. We plan to put 15 values in each of these (WARMUP_MIN to // WARMUP_MAX), but the tests assume no values get evicted. Even with a maximumSize of 100, one // of the values gets evicted. With weak keys, we use identity equality, which means using // System.identityHashCode, which means the assignment of keys to segments is nondeterministic,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertSame(EntryFactory.WEAK, EntryFactory.getFactory(Strength.WEAK, false, false)); assertSame(EntryFactory.WEAK_ACCESS, EntryFactory.getFactory(Strength.WEAK, true, false)); assertSame(EntryFactory.WEAK_WRITE, EntryFactory.getFactory(Strength.WEAK, false, true)); assertSame(EntryFactory.WEAK_ACCESS_WRITE, EntryFactory.getFactory(Strength.WEAK, true, true)); } // computation tests
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
extends SimpleEntry<K, V> { @Nullable Node<K, V> next; // the next node (with any key) @Weak @Nullable Node<K, V> previous; // the previous node (with any key) @Nullable Node<K, V> nextSibling; // the next node with the same key @Weak @Nullable Node<K, V> previousSibling; // the previous node with the same key Node(@ParametricNullness K key, @ParametricNullness V value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotCall; import com.google.errorprone.annotations.DoNotMock; import com.google.j2objc.annotations.Weak; import com.google.j2objc.annotations.WeakOuter; import java.io.InvalidObjectException; import java.io.ObjectInputStream; import java.io.Serializable; import java.util.Collection; import java.util.Comparator;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
public String toString() { assertTrue(Thread.holdsLock(mutex)); return super.toString(); } private static final long serialVersionUID = 0; } /* * This is somewhat of a weak test; we verify that all of the methods are * correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass()); } /** * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in * GWT). This is sometimes acceptable, when only server-side code could generate enough volume * that reclamation becomes important. */ @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
*/ private boolean finalizeReference(Reference<?> reference, Method finalizeReferentMethod) { /* * This is for the benefit of phantom references. Weak and soft references will have already * been cleared by this point. */ reference.clear(); if (reference == frqReference) { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass()); } /** * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in * GWT). This is sometimes acceptable, when only server-side code could generate enough volume * that reclamation becomes important. */ @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0)