Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 174 for roundTrip (0.18 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware.go

    	resp, err := rt.upgrader.RoundTrip(req)
    	if err != nil {
    		return nil, err
    	}
    	return resp.Request, nil
    }
    
    // onewayRoundTripper captures the provided request - which is assumed to have
    // been modified by other round trippers - and then returns a fake response.
    type onewayRoundTripper struct{}
    
    // RoundTrip returns a simple 200 OK response that captures the provided request.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go

    				NewSANDeprecatedChecker(missingSAN),
    				NewSHA1SignatureDeprecatedChecker(sha1),
    			},
    		}
    	}
    }
    
    func (w *x509DeprecatedCertificateMetricsRTWrapper) RoundTrip(req *http.Request) (*http.Response, error) {
    	resp, err := w.rt.RoundTrip(req)
    
    	if err != nil {
    		for _, checker := range w.checkers {
    			if checker.CheckRoundTripError(err) {
    				checker.IncreaseMetricsCounter(req)
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  5. src/encoding/csv/fuzz_test.go

    				t.Logf("records = %v\n", records)
    				t.Fatal(err)
    			}
    			if tt.Comment != 0 {
    				// Writer doesn't support comments, so it can turn the quoted record "#"
    				// into a non-quoted comment line, failing the roundtrip check below.
    				continue
    			}
    			t.Logf("second input = %q", buf.Bytes())
    
    			r = NewReader(buf)
    			r.Comma = tt.Comma
    			r.Comment = tt.Comment
    			r.LazyQuotes = tt.LazyQuotes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 01:26:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go

    	auth := username + ":" + password
    	return "Basic " + base64.StdEncoding.EncodeToString([]byte(auth))
    }
    
    // RoundTrip executes the Request and upgrades it. After a successful upgrade,
    // clients may call SpdyRoundTripper.Connection() to retrieve the upgraded
    // connection.
    func (s *SpdyRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
    	req = utilnet.CloneRequest(req)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo_custom_call.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer --emit-stablehlo-ops=true %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir --disable-vhlo-to-stablehlo=true - -o - | FileCheck %s
    // test stablehlo roundtrip
    
    //test TF ops wrapped in stablehlo custom_call
    
    // Identity function to make the exporter happy
    func.func @main(%arg0: tensor<4xi8>) -> tensor<4xi8> {
      func.return %arg0 : tensor<4xi8>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. pkg/apis/apps/v1beta2/conversion.go

    	if err := autoConvert_v1beta2_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[appsv1beta2.DeprecatedRollbackTo]; revision != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:36:24 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  9. pkg/apis/autoscaling/v2beta2/defaults_test.go

    					},
    				},
    			},
    			test: "test empty array value for Annotations",
    		},
    	}
    
    	for _, test := range tests {
    		hpa := &test.hpa
    		hpaBeforeMuatate := *hpa.DeepCopy()
    		obj := roundTrip(t, runtime.Object(hpa))
    		final_obj, ok := obj.(*autoscalingv2.HorizontalPodAutoscaler)
    		if !ok {
    			t.Fatalf("unexpected object: %v", obj)
    		}
    		if !reflect.DeepEqual(*hpa, hpaBeforeMuatate) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. pkg/kubelet/client/kubelet_client_test.go

    	}
    	if rt == nil {
    		t.Error("rt should not be nil")
    	}
    
    	req, err := http.NewRequest(http.MethodGet, testServer.URL, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	response, err := rt.RoundTrip(req)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if response.StatusCode != http.StatusOK {
    		dump, err := httputil.DumpResponse(response, true)
    		if err != nil {
    			t.Fatal(err)
    		}
    		t.Fatal(string(dump))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 01:34:49 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top