Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for isNone (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/crypto/internal/edwards25519/scalar_test.go

    		t.Errorf("failed scalar->bytes->scalar round-trip: %v", err)
    	}
    
    	b := scalarMinusOneBytes
    	b[31] += 1
    	s := scOne
    	if out, err := s.SetCanonicalBytes(b[:]); err == nil {
    		t.Errorf("SetCanonicalBytes worked on a non-canonical value")
    	} else if s != scOne {
    		t.Errorf("SetCanonicalBytes modified its receiver")
    	} else if out != nil {
    		t.Errorf("SetCanonicalBytes did not return nil with an error")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. android/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)
  8. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        final MockReference reference = new MockReference(frq = new FinalizableReferenceQueue());
    
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return reference.finalizeReferentCalled;
              }
            });
      }
    
      static class MockReference extends FinalizableWeakReference<Object> {
    
        volatile boolean finalizeReferentCalled;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/math/big/intconv.go

    // write count copies of text to s.
    func writeMultiple(s fmt.State, text string, count int) {
    	if len(text) > 0 {
    		b := []byte(text)
    		for ; count > 0; count-- {
    			s.Write(b)
    		}
    	}
    }
    
    var _ fmt.Formatter = intOne // *Int must implement fmt.Formatter
    
    // Format implements [fmt.Formatter]. It accepts the formats
    // 'b' (binary), 'o' (octal with 0 prefix), 'O' (octal with 0o prefix),
    // 'd' (decimal), 'x' (lowercase hexadecimal), and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/lists.go

    		next := it.Next()
    		nextCmp, ok := next.(traits.Comparer)
    		if !ok {
    			return types.MaybeNoSuchOverloadErr(next)
    		}
    		if prev != nil {
    			cmp := prev.Compare(next)
    			if cmp == types.IntOne {
    				return types.False
    			}
    		}
    		prev = nextCmp
    	}
    	return types.True
    }
    
    func sum(init func() ref.Val) functions.UnaryOp {
    	return func(val ref.Val) ref.Val {
    		i := init()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top