- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for awaitDone (0.04 seconds)
-
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* * {@snippet : * awaitDone(new FinalizationPredicate() { * public boolean isDone() { * return ref.get() == null; * } * }); * } * * @throws RuntimeException if timed out or interrupted while waiting */ public static void awaitClear(WeakReference<?> ref) { awaitDone(() -> ref.get() == null); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* * {@snippet : * awaitDone(new FinalizationPredicate() { * public boolean isDone() { * return ref.get() == null; * } * }); * } * * @throws RuntimeException if timed out or interrupted while waiting */ public static void awaitClear(WeakReference<?> ref) { awaitDone(() -> ref.get() == null); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
} } /** For testing: sends a ping and waits for a pong. */ @Throws(InterruptedException::class) fun writePingAndAwaitPong() { writePing() awaitPong() } /** For testing: sends a ping to be awaited with [awaitPong]. */ @Throws(InterruptedException::class) fun writePing() { withLock { awaitPingsSent++ } // 0x4f 0x4b 0x6f 0x6b is "OKok".
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0)