- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,516 for Hatch (0.3 sec)
-
guava-testlib/src/com/google/common/testing/GcFinalization.java
do { System.runFinalization(); if (latch.getCount() == 0) { return; } System.gc(); try { if (latch.await(1L, SECONDS)) { return; } } catch (InterruptedException ie) { throw new RuntimeException("Unexpected interrupt while waiting for latch", ie); } } while (System.nanoTime() - deadline < 0);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/DispatcherTest.java
final CyclicBarrier barrier = new CyclicBarrier(2); final CountDownLatch latch = new CountDownLatch(2); new Thread( new Runnable() { @Override public void run() { try { barrier.await(); } catch (Exception e) { throw new AssertionError(e); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 27 15:41:25 GMT 2022 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
}, executor); fail(); } catch (IllegalStateException expected2) { } try { ClosingFuture.whenAllComplete(asList(closingFuture)); fail(); } catch (IllegalStateException expected1) { } try { ClosingFuture.whenAllSucceed(asList(closingFuture)); fail(); } catch (IllegalStateException expected) { } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 74.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
* <li>{@code *,!repo1} (since 2.0.9)= everything except {@code repo1}.</li> * </ul> * * @param originalRepository to compare for a match. * @param pattern used for match. * @return true if the repository is a match to this pattern. */ static boolean matchPattern(ArtifactRepository originalRepository, String pattern) { boolean result = false;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sat Feb 17 18:40:11 GMT 2024 - 32.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/ConcurrencyTest.java
} catch ( InterruptedException e ) { log.debug("Interrupted1", e); } log.debug("Closed1"); this.completed = true; } finally { f.delete(); } } catch ( Exception e ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Nov 14 17:40:50 GMT 2021 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
this.recursive = recursive; } /** * {@inheritDoc} * * @see jcifs.SmbWatchHandle#watch() */ @Override public List<FileNotifyInformation> watch () throws CIFSException { if ( !this.handle.isValid() ) { throw new SmbException("Watch was broken by tree disconnect"); } try ( SmbTreeHandleImpl th = this.handle.getTree() ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
verifyChecksum(sha1ChecksumObserver, destination, temp, remotePath, ".sha1", wagon); } catch (ChecksumFailedException e) { // if we catch a ChecksumFailedException, it means the transfer/read succeeded, but the // checksum doesn't match. This could be a problem with the server (ibiblio HTTP-200 error
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 29.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
try { Thread.sleep(tMinus); } catch (InterruptedException e) { throw new AssertionError(e); } doAction(); } protected abstract void doAction(); } private static class CountDown extends DelayedActionRunnable { private final CountDownLatch latch; public CountDown(CountDownLatch latch, long tMinus) { super(tMinus);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 31.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestGeneral(inRange('p', 'x'), 'q', 'z'); } private void doTestGeneral(CharMatcher matcher, char match, char noMatch) { doTestOneCharMatch(matcher, "" + match); doTestOneCharNoMatch(matcher, "" + noMatch); doTestMatchThenNoMatch(matcher, "" + match + noMatch); doTestNoMatchThenMatch(matcher, "" + noMatch + match); } private void doTestOneCharMatch(CharMatcher matcher, String s) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 30.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestGeneral(inRange('p', 'x'), 'q', 'z'); } private void doTestGeneral(CharMatcher matcher, char match, char noMatch) { doTestOneCharMatch(matcher, "" + match); doTestOneCharNoMatch(matcher, "" + noMatch); doTestMatchThenNoMatch(matcher, "" + match + noMatch); doTestNoMatchThenMatch(matcher, "" + noMatch + match); } private void doTestOneCharMatch(CharMatcher matcher, String s) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 30.1K bytes - Viewed (0)