- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 90 for jweak (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertThrows(NoSuchElementException.class, iter::next); assertThrows(NoSuchElementException.class, iter::peek); } @J2ktIncompatible // weak references, details of GC @GwtIncompatible // weak references @AndroidIncompatible // depends on details of GC public void testFreesNextReference() { Iterator<Object> itr = new AbstractIterator<Object>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertThrows(NoSuchElementException.class, iter::next); assertThrows(NoSuchElementException.class, iter::peek); } @J2ktIncompatible // weak references, details of GC @GwtIncompatible // weak references @AndroidIncompatible // depends on details of GC public void testFreesNextReference() { Iterator<Object> itr = new AbstractIterator<Object>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.MapMakerInternalMap.Strength.STRONG; import static com.google.common.collect.MapMakerInternalMap.Strength.WEAK; import static com.google.common.testing.SerializableTester.reserializeAndAssert; import static java.util.Arrays.asList; import static org.junit.Assert.assertThrows; import static org.mockito.ArgumentMatchers.isA;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AggregateFutureState.java
/* * Using weak references here could let us release exceptions earlier, but: * * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent * pass. * * 2. We would probably choose to compare exceptions using == instead of equals() (for * consistency with how weak references are cleared). That's a behavior change -- arguably the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 20:40:51 UTC 2024 - 8.4K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
/* * Using weak references here could let us release exceptions earlier, but: * * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent * pass. * * 2. We would probably choose to compare exceptions using == instead of equals() (for * consistency with how weak references are cleared). That's a behavior change -- arguably the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 20:40:51 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
} public void testGetIfPresent_whenNoMatchingConstant() { assertThat(Enums.getIfPresent(TestEnum.class, "WOMBAT")).isAbsent(); } @J2ktIncompatible @GwtIncompatible // weak references @AndroidIncompatible // depends on details of GC and classloading public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception { WeakReference<?> shadowLoaderReference = doTestClassUnloading();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 8.7K bytes - Viewed (0) -
build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java
import org.codenarc.rule.AbstractAstVisitor; import org.codenarc.util.AstUtil; public class IntegrationTestFixtureVisitor extends AbstractAstVisitor { /** * Determines if the class is an integration test. It's a bit weak, but we cannot * rely on the class node analysis since it doesn't give the right superclass because * resolution is not complete when this visitor is executed. */
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0)