Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 333 for unwrapped (0.22 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ErroringAction.java

     *
     * Implementations implement doExecute() (instead of execute()) which is allowed to throw checked exceptions.
     * Any checked exceptions thrown will be wrapped as unchecked exceptions and re-thrown.
     *
     * How the exception is wrapped is subject to {@link UncheckedException#throwAsUncheckedException(Throwable)}.
     *
     * @param <T> The type of object which this action accepts.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. internal/etag/reader.go

    //	// the ETag computed over the content.
    //	reader := etag.Wrap(encryptedContent, content)
    func Wrap(wrapped, content io.Reader) io.Reader {
    	if t, ok := content.(Tagger); ok {
    		return wrapReader{
    			Reader: wrapped,
    			Tagger: t,
    		}
    	}
    	return wrapReader{
    		Reader: wrapped,
    	}
    }
    
    // A Reader wraps an io.Reader and computes the
    // MD5 checksum of the read content as ETag.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            () -> new ClassSanityTester().doTestEquals(SetWrapper.class));
      }
    
      private abstract static class Wrapper {
        private final Object wrapped;
    
        Wrapper(Object wrapped) {
          this.wrapped = checkNotNull(wrapped);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          // In general getClass().isInstance() is bad for equals.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/CircularEvaluationSpec.groovy

             * @return the property instance
             */
            abstract PropertyInternal<T> property()
    
            def "calling #consumer throws exception with proper chain if wrapped provider forms a cycle"(
                Consumer<ProviderInternal<?>> consumer
            ) {
                given:
                def property = property()
                def provider = wrapProviderWithProviderUnderTest(property)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/BuildOperationRunner.java

         * Checked exceptions are wrapped in {@link BuildOperationInvocationException}.</p>
         */
        void run(RunnableBuildOperation buildOperation);
    
        /**
         * Calls the given build operation, returns the result.
         *
         * <p>Rethrows any exception thrown by the action.
         * Runtime exceptions are rethrown as is.
         * Checked exceptions are wrapped in {@link BuildOperationInvocationException}.</p>
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/net/http/transport_test.go

    	if !ok {
    		t.Fatalf("url.Error.Err =  %T; want *net.OpError", uerr.Err)
    	}
    	want := &net.OpError{
    		Op:  "proxyconnect",
    		Net: "tcp",
    		Err: errDial, // original error, unwrapped.
    	}
    	if !reflect.DeepEqual(oe, want) {
    		t.Errorf("Got error %#v; want %#v", oe, want)
    	}
    }
    
    // Issue 36431: calls to RoundTrip should not mutate t.ProxyConnectHeader.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/database/sql/64707.md

    Errors returned by [driver.Valuer] implementations are now wrapped for
    improved error handling during operations like [DB.Query], [DB.Exec],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 160 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/wrapper_test.go

    	unaggregated := fakeHTTPHandler{data: "unaggregated"}
    	aggregated := fakeHTTPHandler{data: "aggregated"}
    	wrapped := WrapAggregatedDiscoveryToHandler(unaggregated, aggregated)
    
    	testCases := []struct {
    		accept   string
    		expected string
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top