- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 35 for isNative (0.04 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
void assertThreadStaysAlive(Thread thread, long millis) throws InterruptedException { // No need to optimize the failing case via Thread.join. delay(millis); assertTrue(thread.isAlive()); } /** * Checks that the threads do not terminate within the default millisecond delay of {@code * timeoutMillis()}. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 37.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
// Stop the thread by sending n = -1 synchronized (w) { w.write(new byte[0], -1, out); } w.join(2000); assertFalse(w.isAlive(), "WriterThread should stop after -1 sentinel"); } @Test @DisplayName("WriterThread surfaces SmbException via checkException") void writerThread_propagates_exception() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
locked.await(1, MINUTES); } void releaseLockAndFinish() throws InterruptedException { finishLatch.countDown(); this.join(10000); assertFalse(this.isAlive()); } } public void testReentrantReadWriteLock_implDoesNotExposeShadowedLocks() { assertEquals( "Unexpected number of public methods in ReentrantReadWriteLock. "
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} } }; waiter.start(); awaitTimedWaiting(waiter); service.shutdown(); Uninterruptibles.joinUninterruptibly(waiter, 10, SECONDS); if (waiter.isAlive()) { waiter.interrupt(); fail("awaitTermination failed to trigger after shutdown()"); } } /** Wait for the given thread to reach the {@link State#TIMED_WAITING} thread state. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashFunction.java
* instance that is ready to receive data. Example: * * {@snippet : * HashFunction hf = Hashing.md5(); * HashCode hc = hf.newHasher() * .putLong(id) * .putBoolean(isActive) * .hash(); * } */ Hasher newHasher(); /** * Begins a new hash code computation as {@link #newHasher()}, but provides a hint of the expectedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashFunction.java
* instance that is ready to receive data. Example: * * {@snippet : * HashFunction hf = Hashing.md5(); * HashCode hc = hf.newHasher() * .putLong(id) * .putBoolean(isActive) * .hash(); * } */ Hasher newHasher(); /** * Begins a new hash code computation as {@link #newHasher()}, but provides a hint of the expectedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} } }; waiter.start(); awaitTimedWaiting(waiter); service.shutdown(); Uninterruptibles.joinUninterruptibly(waiter, 10, SECONDS); if (waiter.isAlive()) { waiter.interrupt(); fail("awaitTermination failed to trigger after shutdown()"); } } /** Wait for the given thread to reach the {@link State#TIMED_WAITING} thread state. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
this.loading = loading; } @Override public boolean isLoading() { return loading; } @Override public boolean isActive() { return !loading; } @Override public V waitForValue() { return get(); } @Override public void notifyNewValue(V newValue) {}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 115.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
this.loading = loading; } @Override public boolean isLoading() { return loading; } @Override public boolean isActive() { return !loading; } @Override public V waitForValue() { return get(); } @Override public void notifyNewValue(V newValue) {}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
} catch (final Throwable t) { logger.error("Crawler terminated unexpectedly.", t); exitCode = Constants.EXIT_FAIL; } finally { if (commandThread != null && commandThread.isAlive()) { commandThread.interrupt(); } if (systemMonitorTask != null) { systemMonitorTask.cancel(); } if (hotThreadMonitorTask != null) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 31.4K bytes - Viewed (0)