Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 61 for isNone (0.26 sec)

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

    /**
     * A {@link Future} that accepts completion listeners. Each listener has an associated executor, and
     * it is invoked using this executor once the future's computation is {@linkplain Future#isDone()
     * complete}. If the computation has already completed when the listener is added, the listener will
     * execute immediately.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake.go

    			frame, more = frames.Next()
    			fileParts := strings.Split(frame.File, "/")
    			isMine := strings.HasSuffix(frame.File, "/fairqueuing/testing/eventclock/fake.go")
    			if isMine {
    				boundary = 2
    			}
    			callers = append(callers, stackFrame{file: fileParts[len(fileParts)-1], line: frame.Line})
    			if i >= boundary && !isMine {
    				break
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    //	} else {
    //		F()
    //	}
    //
    // produces this CFG:
    //
    //	1:  x := f()		Body
    //	    x != nil
    //	    succs: 2, 3
    //	2:  T()			IfThen
    //	    succs: 4
    //	3:  F()			IfElse
    //	    succs: 4
    //	4:			IfDone
    //
    // The CFG does contain Return statements; even implicit returns are
    // materialized (at the position of the function's closing brace).
    //
    // The CFG does not record conditions associated with conditional branch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. 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 {
              ScheduledFuture<?> timer = timeoutFuture.timer;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. 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 {
              ScheduledFuture<?> timer = timeoutFuture.timer;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top