Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 85 for isDone (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

            this.phase = phase;
        }
    
        public boolean isCreated() {
            return status.get() == CREATED;
        }
    
        public boolean isDone() {
            int state = status.get();
            return state == EXECUTED || state == FAILED || state == SKIPPED;
        }
    
        public Stream<BuildStep> allPredecessors() {
            return preds(new HashSet<>()).stream();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Apr 30 16:21:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // at the beginning of the loop.
          int i = 0;
          for (ListenableFuture<? extends InputT> future : futures) {
            int index = i++;
            if (future.isDone()) {
              processAllMustSucceedDoneFuture(index, future);
            } else {
              future.addListener(
                  () -> processAllMustSucceedDoneFuture(index, future), directExecutor());
            }
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     * previous callable has returned -- and, if the previous callable was an {@link AsyncCallable}, not
     * until the {@code Future} it returned is {@linkplain Future#isDone done} (successful, failed, or
     * cancelled).
     *
     * <p>This class serializes execution of <i>submitted</i> tasks but not any <i>listeners</i> of
     * those tasks.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           * important for other reasons: run() can still be invoked concurrently in different threads,
           * even with the above null checks.)
           */
          timeoutFutureRef = null;
          if (delegate.isDone()) {
            timeoutFuture.setFuture(delegate);
          } else {
            try {
              @RetainedLocalRef ScheduledFuture<?> timer = timeoutFuture.timer;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     * previous callable has returned -- and, if the previous callable was an {@link AsyncCallable}, not
     * until the {@code Future} it returned is {@linkplain Future#isDone done} (successful, failed, or
     * cancelled).
     *
     * <p>This class serializes execution of <i>submitted</i> tasks but not any <i>listeners</i> of
     * those tasks.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          }
    
          message += "delay)";
        }
        // It's confusing to see a completed future in a timeout message; if isDone() returns false,
        // then we know it must have given a pending toString value earlier. If not, then the future
        // completed after the timeout expired, and the message might be success.
        if (isDone()) {
          throw new TimeoutException(message + " but future completed as timeout expired");
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

         */
        private void cancelNotification(ChangeNotificationHandle handle) {
            CompletableFuture<Void> future = handle.getNotificationFuture();
            if (future != null && !future.isDone()) {
                future.cancel(true);
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          }
    
          message += "delay)";
        }
        // It's confusing to see a completed future in a timeout message; if isDone() returns false,
        // then we know it must have given a pending toString value earlier. If not, then the future
        // completed after the timeout expired, and the message might be success.
        if (isDone()) {
          throw new TimeoutException(message + " but future completed as timeout expired");
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                    pageIdx = 0;
                }
                // Return the initial element if provided
                return staticInitial;
            }
    
            @Override
            protected boolean isDone() {
                return this.done;
            }
    
            @Override
            protected boolean fetchMore() throws CIFSException {
                if (throwOnFetch)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        }
      }
    
      public interface TrackedRunnable extends Runnable {
        boolean isDone();
      }
    
      public static TrackedRunnable trackedRunnable(long timeoutMillis) {
        return new TrackedRunnable() {
          private volatile boolean done = false;
    
          @Override
          public boolean isDone() {
            return done;
          }
    
          @Override
          public void run() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
Back to top