Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 139 for roundTrip (0.17 sec)

  1. pkg/apis/apps/v1/conversion.go

    	if err := autoConvert_v1_Deployment_To_apps_Deployment(in, out, s); err != nil {
    		return err
    	}
    
    	// Copy annotation to deprecated rollbackTo field for roundtrip
    	// TODO: remove this conversion after we delete extensions/v1beta1 and apps/v1beta1 Deployment
    	if revision := in.Annotations[appsv1.DeprecatedRollbackTo]; revision != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:36:24 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go

    // content with the prefix of the proxy server
    type Transport struct {
    	Scheme      string
    	Host        string
    	PathPrepend string
    
    	http.RoundTripper
    }
    
    // RoundTrip implements the http.RoundTripper interface
    func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) {
    	// Add reverse proxy headers.
    	forwardedURI := path.Join(t.PathPrepend, req.URL.EscapedPath())
    	if strings.HasSuffix(req.URL.Path, "/") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_context_test.cc

          &origin_cpu_tensor, device_.get(), &device_tensor));
      TF_ASSERT_OK(device_context_->CopyDeviceTensorToCPUSync(
          &device_tensor, "", device_.get(), &dest_cpu_tensor));
      LOG(INFO) << "H2D - D2H roundtrip completes. tensor: "
                << dest_cpu_tensor.DebugString(4);
    
      tensorflow::test::ExpectClose(origin_cpu_tensor, dest_cpu_tensor);
    }
    #endif
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. pkg/api/testing/unstructured_test.go

    			if t.Failed() {
    				break
    			}
    		}
    	}
    }
    
    // TestRoundtripToUnstructured verifies the roundtrip faithfulness of all external types from native
    // to unstructured and back using both the JSON and CBOR serializers. The intermediate unstructured
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/fuzzer/fuzzer.go

    			}
    			if len(obj.Names.ListKind) == 0 && len(obj.Names.Kind) > 0 {
    				obj.Names.ListKind = obj.Names.Kind + "List"
    			}
    			if len(obj.Versions) == 0 && len(obj.Version) == 0 {
    				// internal object must have a version to roundtrip all fields
    				obj.Version = "v1"
    			}
    			if len(obj.Versions) == 0 && len(obj.Version) != 0 {
    				obj.Versions = []apiextensions.CustomResourceDefinitionVersion{
    					{
    						Name:    obj.Version,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/net/http/client.go

    //
    // A RoundTripper must be safe for concurrent use by multiple
    // goroutines.
    type RoundTripper interface {
    	// RoundTrip executes a single HTTP transaction, returning
    	// a Response for the provided Request.
    	//
    	// RoundTrip should not attempt to interpret the response. In
    	// particular, RoundTrip must return err == nil if it obtained
    	// a response, regardless of the response's HTTP status code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert_test.go

    			// we drop these intentionally
    			continue
    		}
    		f.Fuzz(x.Field(n).Addr().Interface())
    
    		// it roundtrips or NewStructural errors out. We should never drop anything
    		orig, err := NewStructural(origSchema)
    		if err != nil {
    			continue
    		}
    
    		// roundtrip through go-openapi, JSON, v1beta1 JSONSchemaProp, internal JSONSchemaProp
    		goOpenAPI := orig.ToKubeOpenAPI()
    		bs, err := json.Marshal(goOpenAPI)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 02:09:41 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/nettest/conntest.go

    		t.Errorf("roundtrip SetDeadline error: %v", err)
    	}
    
    	const s = "Hello, world!"
    	buf := []byte(s)
    	if _, err := c.Write(buf); err != nil {
    		t.Errorf("roundtrip Write error: %v", err)
    	}
    	if _, err := io.ReadFull(c, buf); err != nil {
    		t.Errorf("roundtrip Read error: %v", err)
    	}
    	if string(buf) != s {
    		t.Errorf("roundtrip data mismatch: got %q, want %q", buf, s)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir

    // The test parses the file, prints it in the pretty form with debug locations,
    // then parses it back, then prints it in the generic form again.
    // This should be an exact roundtrip.
    // This is a rare example of a test where exact output checking makes
    // sense.
    //
    // To debug this test, it is most useful to look at the output of the first
    // tf-opt invocation.
    
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 05 14:24:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/net/http/transport_test.go

    		if test.accept != "" {
    			req.Header.Set("Accept-Encoding", test.accept)
    		}
    		res, err := tr.RoundTrip(req)
    		if err != nil {
    			t.Errorf("%d. RoundTrip: %v", i, err)
    			continue
    		}
    		var body []byte
    		if test.compressed {
    			var r *gzip.Reader
    			r, err = gzip.NewReader(res.Body)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top