- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 125 for countdown (0.39 seconds)
-
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
Thread thread = new Thread() { @Override public void run() { try { cacheRef.get().getUnchecked(3); } finally { doneSignal.countDown(); } } }; thread.setUncaughtExceptionHandler((t, throwable) -> {}); thread.start(); boolean done = doneSignal.await(1, SECONDS); if (!done) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbSessionTest.java
if (result == mockConfig) { successCount.incrementAndGet(); } } finally { latch.countDown(); } }).start(); } latch.await(5, java.util.concurrent.TimeUnit.SECONDS);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
Future<?> first = blocked.submit(() -> executor.execute(Runnables.doNothing())); future.get(10, SECONDS); assertThrows(RejectedExecutionException.class, () -> executor.execute(Runnables.doNothing())); latch.countDown(); ExecutionException expected = assertThrows(ExecutionException.class, () -> first.get(10, SECONDS)); assertThat(expected).hasCauseThat().isInstanceOf(RejectedExecutionException.class); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
@Param Impl impl; @Param({"1", "5", "10"}) int numListeners; private final Runnable listener = new Runnable() { @Override public void run() { listenerLatch.countDown(); } }; @BeforeExperiment void setUp() throws Exception { executorService = new ThreadPoolExecutor( NUM_THREADS, NUM_THREADS,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
ps.println(line); } } catch (Exception e) { e.printStackTrace(); } finally { latch.countDown(); } }).start(); return os; }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
executor.submit(() -> { try { fesenClient.addOnConnectListener(() -> callbackCount.incrementAndGet()); } finally { latch.countDown(); } }); } latch.await(5, TimeUnit.SECONDS); executor.shutdown(); // Verify all listeners were added
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Jan 12 06:25:38 GMT 2026 - 16.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
} } } catch (final Exception e) { errors.incrementAndGet(); } })); } startLatch.countDown(); for (final Future<?> future : futures) { future.get(); } executor.shutdown(); assertEquals(0, errors.get()); engine.close(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
@Param Impl impl; @Param({"1", "5", "10"}) int numListeners; private final Runnable listener = new Runnable() { @Override public void run() { listenerLatch.countDown(); } }; @BeforeExperiment void setUp() throws Exception { executorService = new ThreadPoolExecutor( NUM_THREADS, NUM_THREADS,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
// Ignore in concurrent test } } } } finally { latch.countDown(); } }); } assertTrue(latch.await(10, TimeUnit.SECONDS), "Concurrent ops should complete"); executor.shutdown();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0)