Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 407 for unwrapped (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

      /**
       * Invokes a specified Callable, timing out after the specified time limit. If the target method
       * call finishes before the limit is reached, the return value or a wrapped exception is
       * propagated. If, on the other hand, the time limit is reached, we attempt to abort the call to
       * the target, and throw a {@link TimeoutException} to the caller.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. src/testing/fstest/testfs_test.go

    }
    
    func TestTestFSWrappedErrors(t *testing.T) {
    	err := TestFS(failPermFS{})
    	if err == nil {
    		t.Fatal("error expected")
    	}
    	t.Logf("Error (expecting wrapped fs.ErrPermission):\n%v", err)
    
    	if !errors.Is(err, fs.ErrPermission) {
    		t.Errorf("error should be a wrapped ErrPermission: %#v", err)
    	}
    
    	// TestFS is expected to return a list of errors.
    	// Enforce that the list can be extracted for browsing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.td

        after a _TPUCompileMlir op if there is no predecessor _TPUCompileMlir op.
        Both the embedding op and compile op are assumed to be wrapped in separate
        tf_device.launch() ops. This is because the embedding op is head outside
        compiled and the compile op is wrapped in launch to execute on host
        during TPURewritePass.
    
        For example, the tf.OpA with the `mini_batch_splits` attribute will be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/runtime/signal_darwin_amd64.go

    		// Try looking at the code to see if it's a breakpoint.
    		// The assumption is that we're very unlikely to get an
    		// asynchronous SIGTRAP at just the moment that the
    		// PC started to point at unmapped memory.
    		pc := uintptr(c.rip())
    		// OS X will leave the pc just after the INT 3 instruction.
    		// INT 3 is usually 1 byte, but there is a 2-byte form.
    		code := (*[2]byte)(unsafe.Pointer(pc - 2))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 23:07:11 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Callables.java

       * running will have the given name.
       *
       * @param callable The callable to wrap
       * @param nameSupplier The supplier of thread names, {@link Supplier#get get} will be called once
       *     for each invocation of the wrapped callable.
       */
      @J2ktIncompatible
      @GwtIncompatible // threads
      static <T extends @Nullable Object> Callable<T> threadRenaming(
          Callable<T> callable, Supplier<String> nameSupplier) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    func NewVerifier(opts x509.VerifyOptions, auth authenticator.Request, allowedCommonNames sets.String) authenticator.Request {
    	return NewDynamicCAVerifier(StaticVerifierFn(opts), auth, StaticStringSlice(allowedCommonNames.List()))
    }
    
    // NewDynamicCAVerifier create a request.Authenticator by verifying a client cert on the request, then delegating to the wrapped auth
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/command_headers.go

    	}
    }
    
    // CancelRequest is propagated to the Delegate RoundTripper within
    // if the wrapped RoundTripper implements this function.
    func (c *CommandHeaderRoundTripper) CancelRequest(req *http.Request) {
    	type canceler interface {
    		CancelRequest(*http.Request)
    	}
    	// If possible, call "CancelRequest" on the wrapped Delegate RoundTripper.
    	if cr, ok := c.Delegate.(canceler); ok {
    		cr.CancelRequest(req)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  8. pilot/pkg/model/kstatus/helper.go

    // be discarded.
    type WrappedStatus struct {
    	// Status is the object that is wrapped.
    	config.Status
    	// Dirty indicates if this object has been modified at all.
    	// Note: only changes wrapped in Mutate are tracked.
    	Dirty bool
    }
    
    func Wrap(s config.Status) *WrappedStatus {
    	return &WrappedStatus{config.DeepCopy(s), false}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 17:36:41 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorProblemsApiIntegrationTest.groovy

                    @Inject
                    public abstract Problems getProblems();
    
                    @Override
                    public void execute() {
                        Exception wrappedException = new Exception("Wrapped cause");
                        // Create and report a problem
                        // This needs to be Java 6 compatible, as we are in a worker
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/httpstream/httpstream_test.go

    		},
    		"UpgradeFailure error should return true": {
    			err:      &UpgradeFailureError{},
    			expected: true,
    		},
    		"Wrapped Non-UpgradeFailure error should return false": {
    			err:      fmt.Errorf("%s: %w", "first error", errors.New("Non-upgrade error")),
    			expected: false,
    		},
    		"Wrapped UpgradeFailure error should return true": {
    			err:      fmt.Errorf("%s: %w", "first error", &UpgradeFailureError{}),
    			expected: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top