- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 119 for References (0.21 sec)
-
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
assertNotNull(sepStopwatchA.get()); // Clear all references to the Stopwatch and wait for it to be gc'd. sepStopwatchA.set(null); GcFinalization.awaitClear(sepStopwatchRef.get()); // Return a weak reference to the parallel ClassLoader. This is the reference that should // eventually become clear if there are no other references to the ClassLoader. return new WeakReference<ClassLoader>(sepLoader); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 16 03:24:50 GMT 2021 - 13.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* <li>clearing weak references to unreachable referents * <li>enqueuing weak references to unreachable referents in their reference queue * </ul> */ @DoNotMock("Implement with a lambda") public interface FinalizationPredicate { boolean isDone(); } /** * Waits until the given weak reference is cleared, invoking the garbage collector as necessary to
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
if (threadStarted) { return; } Reference<?> reference; while ((reference = queue.poll()) != null) { /* * This is for the benefit of phantom references. Weak and soft references will have already * been cleared by this point. */ reference.clear(); try { ((FinalizableReference) reference).finalizeReferent(); } catch (Throwable t) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/FinalizableReferenceQueue.java
if (threadStarted) { return; } Reference<?> reference; while ((reference = queue.poll()) != null) { /* * This is for the benefit of phantom references. Weak and soft references will have already * been cleared by this point. */ reference.clear(); try { ((FinalizableReference) reference).finalizeReferent(); } catch (Throwable t) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 13.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
assertNotNull(sepStopwatchA.get()); // Clear all references to the Stopwatch and wait for it to be gc'd. sepStopwatchA.set(null); GcFinalization.awaitClear(sepStopwatchRef.get()); // Return a weak reference to the parallel ClassLoader. This is the reference that should // eventually become clear if there are no other references to the ClassLoader. return new WeakReference<ClassLoader>(sepLoader); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 16 03:24:50 GMT 2021 - 13.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* <li>clearing weak references to unreachable referents * <li>enqueuing weak references to unreachable referents in their reference queue * </ul> */ @DoNotMock("Implement with a lambda") public interface FinalizationPredicate { boolean isDone(); } /** * Waits until the given weak reference is cleared, invoking the garbage collector as necessary to
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
assertEquals(1, result.getProject().getArtifacts().size()); assertNotNull(result.getDependencyResolutionResult()); } /** * Tests whether local version range parent references are build correctly. * * @throws Exception in case of issue */ @Test void testBuildValidParentVersionRangeLocally() throws Exception {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Jun 19 15:04:04 GMT 2023 - 16.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
@ParametricNullness private final T reference; private Wrapper(Equivalence<? super @NonNull T> equivalence, @ParametricNullness T reference) { this.equivalence = checkNotNull(equivalence); this.reference = reference; } /** Returns the (possibly null) reference wrapped by this instance. */ @ParametricNullness public T get() { return reference; } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 14.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* propagate cancellation) and {@link #toString()}. To access the futures' <i>values</i>, {@code * AggregateFuture} attaches listeners that hold references to one or more inputs. And in the case * of {@link CombinedFuture}, the user-supplied callback usually has its own references to inputs. */ /* * In certain circumstances, this field might theoretically not be visible to an afterDone() call
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 15.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Equivalence.java
@ParametricNullness private final T reference; private Wrapper(Equivalence<? super @NonNull T> equivalence, @ParametricNullness T reference) { this.equivalence = checkNotNull(equivalence); this.reference = reference; } /** Returns the (possibly null) reference wrapped by this instance. */ @ParametricNullness public T get() { return reference; } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.1K bytes - Viewed (0)