- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 125 for countdown (0.33 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
started.countDown(); try { return method.invoke(delegate, args); } catch (InvocationTargetException e) { throw e.getCause(); } finally { awaitUninterruptibly(canReturn); returned.countDown(); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} catch (Exception e) { e.printStackTrace(); } finally { endLatch.countDown(); } }); } // Start all threads simultaneously startLatch.countDown(); // Wait for completion assertTrue(endLatch.await(10, TimeUnit.SECONDS), "All threads should complete within timeout");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
throw new RuntimeException(e); } doneSignal.countDown(); } }.start(); try { computingSignal.await(); } catch (InterruptedException e) { throw new RuntimeException(e); } map.put(one, two); assertThat(map.get(one)).isSameInstanceAs(two); startSignal.countDown(); try { doneSignal.await();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
throw new RuntimeException(e); } doneSignal.countDown(); } }.start(); try { computingSignal.await(); } catch (InterruptedException e) { throw new RuntimeException(e); } map.put(one, two); assertThat(map.get(one)).isSameInstanceAs(two); startSignal.countDown(); try { doneSignal.await();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
fail("Unexpected exception: " + e.getMessage()); } finally { completeLatch.countDown(); } }).start(); } // Start all threads simultaneously startLatch.countDown(); // Wait for completion assertTrue(completeLatch.await(5, TimeUnit.SECONDS)); // Authenticator should be closed
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
super(event); } @Override public void process(Consumer<TransferEvent> consumer) { super.process(consumer); latch.countDown(); } @Override public void waitForProcessed() throws InterruptedException { latch.await(); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Feb 06 11:28:05 GMT 2025 - 8.7K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
super(event); } @Override public void process(Consumer<TransferEvent> consumer) { super.process(consumer); latch.countDown(); } @Override public void waitForProcessed() throws InterruptedException { latch.await(); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
@Override public void onWitnessNotification(WitnessNotification notification) { this.lastNotification = notification; notificationLatch.countDown(); } @Override public void onRegistrationFailed(WitnessRegistration registration, Exception error) { // Test implementation } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
return newTask.latch } } private class AwaitIdleTask : Task("$okHttpName awaitIdle", cancelable = false) { val latch = CountDownLatch(1) override fun runOnce(): Long { latch.countDown() return -1L } } /** Adds [task] to run in [delayNanos]. Returns true if the coordinator is impacted. */ internal fun scheduleAndDecide( task: Task, delayNanos: Long,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
} catch (Exception e) { fail("Concurrent session handling failed: " + e.getMessage()); } finally { latch.countDown(); } }); } assertTrue(latch.await(10, TimeUnit.SECONDS)); executor.shutdown(); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0)