- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 21 for waitfor (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
thread1.callAndAssertReturns(waitFor(), guard); } public final void testWaitFor_initiallyFalse() throws Exception { TestGuard guard = new TestGuard(false); thread1.callAndAssertReturns(enter()); thread1.callAndAssertWaits(waitFor(), guard); monitor.enter(); guard.setSatisfied(true); monitor.leave(); thread1.assertPriorCallReturns(waitFor()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
thread1.callAndAssertReturns(waitFor(), guard); } public final void testWaitFor_initiallyFalse() throws Exception { TestGuard guard = new TestGuard(false); thread1.callAndAssertReturns(enter()); thread1.callAndAssertWaits(waitFor(), guard); monitor.enter(); guard.setSatisfied(true); monitor.leave(); thread1.assertPriorCallReturns(waitFor()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
<V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) { return waitFor(closingCallable, ClosingCallable.class); } @SuppressWarnings("unchecked") // proxy for a generic class <V> AsyncClosingCallable<V> waitFor(AsyncClosingCallable<V> asyncClosingCallable) { return waitFor(asyncClosingCallable, AsyncClosingCallable.class); }
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/org/codelibs/fess/util/JobProcessTest.java
return inputStream; } @Override public InputStream getErrorStream() { return null; } @Override public int waitFor() throws InterruptedException { return 0; } @Override public int exitValue() { return 0; } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
* @since 33.4.0 (but since 28.0 in the JRE flavor) */ @IgnoreJRERequirement // Users will use this only if they're already using Duration. public boolean waitFor(Guard guard, Duration time) throws InterruptedException { return waitFor(guard, toNanosSaturated(time), NANOSECONDS); } /** * Waits for the guard to be satisfied. Waits at most the given time, and may be interrupted. May
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 43.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
return method.getName().startsWith("enterIf"); } /** Identifies all waitForXxx methods, which must be called while occupying the monitor. */ private static boolean isWaitFor(Method method) { return method.getName().startsWith("waitFor"); } /** Determines whether the given method takes a Guard as its first parameter. */ private static boolean isGuarded(Method method) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
private final int exitValue; public TestProcess(int exitValue) { this.exitValue = exitValue; } @Override public int waitFor() throws InterruptedException { return exitValue; } @Override public int exitValue() { return exitValue; } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
Process p = pb.start(); Future<String> outFuture = readStreamAsync(p.getInputStream()); Future<String> errFuture = readStreamAsync(p.getErrorStream()); int code = p.waitFor(); String out = outFuture.get(); String err = errFuture.get(); return new ExecResult(code, out, err); } private static Future<String> readStreamAsync(InputStream inputStream) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
.teamcity/scripts/FindCommits.java
ProcessBuilder pb = new ProcessBuilder(cmd); Process p = pb.start(); String out = readFully(p.getInputStream()); String err = readFully(p.getErrorStream()); int code = p.waitFor(); return new ExecResult(code, out, err); } private static String readFully(InputStream in) throws IOException {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 5.5K bytes - Click Count (0) -
.teamcity/scripts/CheckBadMerge.java
Future<String> stdoutFuture = readStreamAsync(process.getInputStream()); Future<String> stderrFuture = readStreamAsync(process.getErrorStream()); int returnCode = process.waitFor(); String stdout = stdoutFuture.get(); String stderr = stderrFuture.get(); return new ExecResult(stdout, stderr, returnCode); }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 16:25:09 GMT 2026 - 9K bytes - Click Count (0)