- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 137 for roundTrip (0.12 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
src/net/url/url_test.go
t.Errorf("QueryEscape(%q) = %q, want %q", tt.in, actual, tt.out) } // for bonus points, verify that escape:unescape is an identity. roundtrip, err := QueryUnescape(actual) if roundtrip != tt.in || err != nil { t.Errorf("QueryUnescape(%q) = %q, %s; want %q, %s", actual, roundtrip, err, tt.in, "[no error]") } } } var pathEscapeTests = []EscapeTest{ { "", "", nil, },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:52:38 UTC 2024 - 52.1K bytes - Viewed (0) -
pkg/apis/autoscaling/v2/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.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.h
// Passes for unpacking quantized ops to int valued StableHLO ops. This is // useful when uniform quantized types are suboptimal for the hardware. It goes // through a StableHLO <-> MHLO roundtrip to utilize the MHLOQuantToInt pass. void AddStablehloQuantToIntPasses(OpPassManager& pm); // Processes tensors with NCHW format (== (batch, channel, height, weight)) by
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 12:53:33 UTC 2024 - 3.6K bytes - Viewed (0) -
pkg/apis/batch/v1/defaults_test.go
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.JobPodReplacementPolicy, test.enablePodReplacementPolicy) original := test.original expected := test.expected obj2 := roundTrip(t, runtime.Object(original)) actual, ok := obj2.(*batchv1.Job) if !ok { t.Fatalf("Unexpected object: %v", actual) } if diff := cmp.Diff(expected.Spec.Suspend, actual.Spec.Suspend); diff != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.8K bytes - Viewed (0)