- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 80 for countdown (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
} }; Thread thread1 = new Thread(execute); Thread thread2 = new Thread(execute); thread1.start(); thread2.start(); assertEquals(0, runCalled.get()); okayToRun.countDown(); thread1.join(); thread2.join(); assertEquals(1, runCalled.get()); } public void testAddAfterRun() throws Exception { // Run the previous test testRunOnPopulatedList();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* * <p>Here's an example that tests a {@code finalize} method: * * {@snippet : * final CountDownLatch latch = new CountDownLatch(1); * Object x = new MyClass() { * ... * protected void finalize() { latch.countDown(); ... } * }; * x = null; // Hint to the JIT that x is stack-unreachable * GcFinalization.await(latch); * } * * <p>Here's an example that uses a user-defined finalization predicate: * * {@snippet :
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
assertThat(closingFuture.cancel(false)).isTrue(); ValueAndCloser<?> unused = finishToValueAndCloser(closingFuture); waitUntilClosed(closingFuture); futureCancelled.countDown(); } private <V> ValueAndCloser<V> finishToValueAndCloser(ClosingFuture<V> closingFuture) { CountDownLatch valueAndCloserSet = new CountDownLatch(1); closingFuture.finishToValueAndCloser(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
} }; Thread thread1 = new Thread(execute); Thread thread2 = new Thread(execute); thread1.start(); thread2.start(); assertEquals(0, runCalled.get()); okayToRun.countDown(); thread1.join(); thread2.join(); assertEquals(1, runCalled.get()); } public void testAddAfterRun() throws Exception { // Run the previous test testRunOnPopulatedList();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.7K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
} catch (Exception e) { e.printStackTrace(); } finally { endLatch.countDown(); } } }).start(); } startLatch.countDown(); endLatch.await(); // Verify all rules were added (can't check exact count due to thread-safe implementation)
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 23.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java
.setTransferredBytes(bytes) .build(); startLatch.countDown(); try { listener.transferProgressed(event); } catch (TransferCancelledException e) { } endLatch.countDown(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Aug 06 12:03:40 GMT 2025 - 8.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* * <p>Here's an example that tests a {@code finalize} method: * * {@snippet : * final CountDownLatch latch = new CountDownLatch(1); * Object x = new MyClass() { * ... * protected void finalize() { latch.countDown(); ... } * }; * x = null; // Hint to the JIT that x is stack-unreachable * GcFinalization.await(latch); * } * * <p>Here's an example that uses a user-defined finalization predicate: * * {@snippet :
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 8.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 8.2K bytes - Click Count (0)