Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 76 for isNone (0.21 sec)

  1. guava/src/com/google/common/util/concurrent/CombinedFuture.java

        CombinedFutureInterruptibleTask(Executor listenerExecutor) {
          this.listenerExecutor = checkNotNull(listenerExecutor);
        }
    
        @Override
        final boolean isDone() {
          return CombinedFuture.this.isDone();
        }
    
        final void execute() {
          try {
            listenerExecutor.execute(this);
          } catch (RejectedExecutionException e) {
            CombinedFuture.this.setException(e);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

       * TimeUnit)} overload in order to test that method.
       */
      static <V> V getDoneFromTimeoutOverload(Future<V> future) throws ExecutionException {
        checkState(future.isDone(), "Future was expected to be done: %s", future);
        try {
          return getUninterruptibly(future, 0, SECONDS);
        } catch (TimeoutException e) {
          throw new AssertionError(e);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

       * TimeUnit)} overload in order to test that method.
       */
      static <V> V getDoneFromTimeoutOverload(Future<V> future) throws ExecutionException {
        checkState(future.isDone(), "Future was expected to be done: %s", future);
        try {
          return getUninterruptibly(future, 0, SECONDS);
        } catch (TimeoutException e) {
          throw new AssertionError(e);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java

       * does not include "was cancelled." To be explicit: If this method returns a non-null value,
       * then:
       *
       * <ul>
       *   <li>{@code isDone()} must return {@code true}
       *   <li>{@code isCancelled()} must return {@code false}
       *   <li>{@code get()} must not block, and it must throw an {@code ExecutionException} with the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/crypto/aes/asm_arm64.s

    		SUBS	$1, R8
    		VMOV	V2.S[0], R0
    		EORW	R0, R4
    		EORW	R4, R5
    		EORW	R5, R6
    		EORW	R6, R7
    		STPW.P	(R4, R5), 8(R10)
    		STPW.P	(R6, R7), 8(R10)
    	BNE	ks128Loop
    	CBZ	R11, ksDone       // If dec is nil we are done
    	SUB	$176, R10
    	// Decryption keys are encryption keys with InverseMixColumns applied
    	VLD1.P	64(R10), [V0.B16, V1.B16, V2.B16, V3.B16]
    	VMOV	V0.B16, V7.B16
    	AESIMC	V1.B16, V6.B16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

       * does not include "was cancelled." To be explicit: If this method returns a non-null value,
       * then:
       *
       * <ul>
       *   <li>{@code isDone()} must return {@code true}
       *   <li>{@code isCancelled()} must return {@code false}
       *   <li>{@code get()} must not block, and it must throw an {@code ExecutionException} with the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/future.kt

            this.result = result
            outcomeLatch.countDown()
        }
    
        override fun isCancelled(): Boolean = false
    
        override fun cancel(mayInterruptIfRunning: Boolean): Boolean = false
    
        override fun isDone(): Boolean = result != null
    
        override fun get(): T {
            outcomeLatch.await()
            return getOrThrow()
        }
    
        override fun get(timeout: Long, unit: TimeUnit): T =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

      static void clearInterrupt() {
        // There is no thread interruption in GWT, so there's nothing to do.
      }
    
      static <V> V getDoneFromTimeoutOverload(Future<V> future) throws ExecutionException {
        checkState(future.isDone(), "Future was expected to be done: %s", future);
        try {
          return future.get(0, SECONDS);
        } catch (InterruptedException e) {
          throw new AssertionError();
        } catch (TimeoutException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Nov 26 19:19:13 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ImmediateFuture.java

        checkNotNull(unit);
        return get();
      }
    
      @Override
      public boolean isCancelled() {
        return false;
      }
    
      @Override
      public boolean isDone() {
        return true;
      }
    
      @Override
      public String toString() {
        // Behaviour analogous to AbstractFuture#toString().
        return super.toString() + "[status=SUCCESS, result=[" + value + "]]";
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/CleanUpVirtualFileSystemAfterBuild.java

                    }, executor))
                .orElseGet(() -> CompletableFuture.completedFuture(null));
        }
    
        private void waitForPendingCleanupToFinish(CompletableFuture<Void> pendingCleanup) {
            if (!pendingCleanup.isDone()) {
                LOGGER.debug("Waiting for pending virtual file system cleanup to be finished");
                try {
                    pendingCleanup.get();
                } catch (InterruptedException | ExecutionException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top