Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 755 for told (0.06 sec)

  1. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Try.java

        private Try() {
        }
    
        /**
         * Construct a {@code Try} by executing the given operation.
         * The returned object will either hold the result or the exception thrown during the operation.
         * If the callable returns null, then the returned Try instance will hold null as its value.
         */
        public static <U> Try<U> ofFailable(Callable<U> failable) {
            try {
                return Try.successful(failable.call());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        stopwatch.sleepMillis(4000); // #3: becomes cold again
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #4
        }
        stopwatch.sleepMillis(500); // #5: to repay for the last acquire
        stopwatch.sleepMillis(2000); // #6: didn't get cold! It would take another 2 seconds to go cold
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        stopwatch.sleepMillis(4000); // #3: becomes cold again
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #4
        }
        stopwatch.sleepMillis(500); // #5: to repay for the last acquire
        stopwatch.sleepMillis(2000); // #6: didn't get cold! It would take another 2 seconds to go cold
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock.go

    		mode = RetCompliance
    	}
    	return mode
    }
    
    // LegalHoldStatus - object legal hold status.
    type LegalHoldStatus string
    
    const (
    	// LegalHoldOn - legal hold is on.
    	LegalHoldOn LegalHoldStatus = "ON"
    
    	// LegalHoldOff - legal hold is off.
    	LegalHoldOff LegalHoldStatus = "OFF"
    )
    
    // Valid - returns true if legal hold status has valid values
    func (l LegalHoldStatus) Valid() bool {
    	switch l {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/worker_test.go

    		}
    
    		// Set a new container ID to lift the hold. The next probe will succeed.
    		status.ContainerStatuses[0].ContainerID = "test://newCont_ID"
    		m.statusManager.SetPodStatus(w.pod, status)
    		msg = "hold lifted"
    		expectContinue(t, w, w.doProbe(ctx), msg)
    		expectResult(t, w, results.Success, msg)
    		if w.onHold {
    			t.Errorf("Prober should not be on hold anymore")
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 23:48:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

        throw AssertionError("Thread ${Thread.currentThread().name} MUST hold lock on $this")
      }
    }
    
    @Suppress("NOTHING_TO_INLINE")
    internal inline fun Any.assertThreadHoldsLock() {
      if (assertionsEnabled && !Thread.holdsLock(this)) {
        throw AssertionError("Thread ${Thread.currentThread().name} MUST hold lock on $this")
      }
    }
    
    @Suppress("NOTHING_TO_INLINE")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go

    	case 'O':
    		rst.advance(1)
    		rst.writeString("*mut ")
    		rst.demangleType()
    	case 'F':
    		rst.advance(1)
    		hold := rst.lifetimes
    		rst.fnSig()
    		rst.lifetimes = hold
    	case 'D':
    		rst.advance(1)
    		hold := rst.lifetimes
    		rst.dynBounds()
    		rst.lifetimes = hold
    		if len(rst.str) == 0 || rst.str[0] != 'L' {
    			rst.fail("expected L")
    		}
    		rst.advance(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/math_grad.cc

      }
      ~MatMulGradientFunction() override {
        for (auto input : forward_inputs_) {
          if (input) {
            input->Unref();
          }
        }
      }
    
     private:
      // TODO(b/174778737): Only hold needed inputs.
      vector<AbstractTensorHandle*> forward_inputs_;
      AttrBuilder forward_attrs_;
    };
    
    class NegGradientFunction : public GradientFunction {
     public:
      Status Compute(AbstractContext* ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc

      // Explicitly check that the TensorFlow dialect can constant fold ops.
      // Constant folding is essential for the bridge. Without this check, the
      // bridge may fail with an error that is difficult to understand and not
      // actionable.
      if (!mlir::TF::TensorFlowDialect::HasConstantFoldHook()) {
        return tensorflow::errors::Internal(
            "TensorFlow dialect missing constant fold hook in TFXLA bridge phase "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/crypto/aes/asm_ppc64x.s

    #endif
    
    	// Set CR{1,2,3}EQ to hold the key size information.
    	CMPU	R6, $10, CR1
    	CMPU	R6, $12, CR2
    	CMPU	R6, $14, CR3
    
    	MOVD	$16, R6
    	MOVD	$32, R7
    	MOVD	$48, R8
    	MOVD	$64, R9
    	MOVD	$80, R10
    	MOVD	$96, R11
    	MOVD	$112, R12
    
    	// Load text in BE order
    	P8_LXVB16X(R4, R0, V0)
    
    	// V1, V2 will hold keys, V0 is a temp.
    	// At completion, V2 will hold the ciphertext.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top