Searched refs:complete (Results 1 - 14 of 14) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
H A DAbstractInterruptibleChannelTest.java43 boolean complete = false;
47 complete = true;
49 testChannel.superEnd(complete);
54 complete = false;
56 testChannel.superEnd(complete);
61 complete = true;
63 testChannel.superEnd(complete);
69 complete = true;
71 testChannel.superEnd(complete);
81 boolean complete
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DCompletableFutureTest.java218 * complete completes normally, as indicated by methods isDone,
226 assertTrue(f.complete(v1));
227 assertFalse(f.complete(v1));
264 assertTrue(f.complete(one));
291 assertTrue(f.complete(v1));
311 assertFalse(f.complete(v1));
330 assertTrue(f.complete(v1));
347 assertTrue(f.complete("foo"));
534 assertTrue(f.complete(inc(x)));
845 if (!createIncomplete) assertTrue(f.complete(v
[all...]
H A DForkJoinTask8Test.java242 super.complete(null);
258 public final void complete() { method in class:ForkJoinTask8Test.BinaryAsyncAction
324 f.complete();
362 f.complete();
522 * helpQuiesce returns when tasks are complete.
H A DForkJoinTaskTest.java256 super.complete(null);
271 public final void complete() { method in class:ForkJoinTaskTest.BinaryAsyncAction
354 f.complete();
379 f.complete();
497 * helpQuiesce returns when tasks are complete.
1245 * helpQuiesce returns when tasks are complete.
H A DCountedCompleterTest.java258 complete(rawResult);
293 * complete() causes completion. pendingCount is ignored.
543 f.complete(null);
594 f.complete(null);
732 * helpQuiesce returns when tasks are complete.
1454 * helpQuiesce returns when tasks are complete.
H A DRecursiveActionTest.java500 * helpQuiesce returns when tasks are complete.
861 * invoke task suppresses execution invoking complete
867 f.complete(null);
H A DRecursiveTaskTest.java109 * Waits for the task to complete, and checks that when it does,
327 * helpQuiesce returns when tasks are complete.
679 * invoke task suppresses execution invoking complete
685 f.complete(NoResult);
H A DForkJoinPool8Test.java674 * invoke task suppresses execution invoking complete
680 f.complete(null);
/libcore/luni/src/main/java/java/util/concurrent/
H A DCountedCompleter.java68 * {@link #complete}, {@link ForkJoinTask#cancel},
88 * to complete for some elements than others, either because of
224 * tryComplete(); // normally complete whether or not found
306 * tryComplete}, or (2) by any of its subtasks when they complete and
430 * method {@link #complete} is invoked. By default, this method
542 * and then similarly tries to complete this task's completer,
543 * if one exists, else marks this task as complete.
564 * otherwise, similarly tries to complete this task's completer, if
565 * one exists, else marks this task as complete. This method may be
586 * complete an
602 public void complete(T rawResult) { method in class:CountedCompleter
[all...]
H A DCompletableFuture.java23 * {@link #complete complete},
136 * complete.
150 * not async and x is already complete, the action is run
274 * already completed. May complete with the given Object r
488 CompletableFuture<V> dep; // the dependent to complete
1794 * Creates a new complete CompletableFuture with given encoded result.
1806 * to complete the returned CompletableFuture
1820 * to complete the returned CompletableFuture
1881 * Waits if necessary for this future to complete, an
1957 public boolean complete(T value) { method in class:CompletableFuture
2717 @Override public boolean complete(T value) { method in class:CompletableFuture.MinimalStage
[all...]
H A DForkJoinTask.java92 * to delay processing of results or exceptions until all complete.
133 * {@link Phaser}, {@link #helpQuiesce}, and {@link #complete}) that
901 * completion of tasks that would not otherwise complete. Its use
922 * complete normally. Its use in other situations is
929 public void complete(V value) { method in class:ForkJoinTask
952 * Waits if necessary for the computation to complete, and then
974 * to complete, and then retrieves its result, if available.
1196 * complete (or is not known to be complete), for example in
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSelectorTest.java359 final AtomicBoolean complete = new AtomicBoolean();
376 complete.set(true);
386 } while (!complete.get()); // avoid spurious interrupts
/libcore/ojluni/src/main/java/java/util/
H A DGregorianCalendar.java553 * instance. After calling complete(), this value is guaranteed to
560 * calling complete(), this value is guaranteed to be set and
751 complete();
897 complete();
1054 // set since the call to complete() above.
1092 * <p>This method calls {@link #complete()} before adding the
1143 complete();
2005 * <p>This method calls {@link Calendar#complete()} before
2022 int year = get(YEAR); // implicitly calls complete()
2062 cal.complete();
[all...]
H A DCalendar.java356 // complete() method. Resolving a partial set of fields into a UTC millis
1047 * @see #complete()
1058 * {@link #complete()} method.
1132 * {@link #complete()} method, which process is calendar
1140 * @see #complete()
1144 complete();
1459 complete();
1538 protected void complete() method in class:Calendar
1746 /* No complete combination exists. Look for WEEK_OF_MONTH,
2067 * AFTER it up to the next call to complete()
[all...]

Completed in 885 milliseconds