Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 155 for roundTrip (0.23 sec)

  1. src/net/http/transport.go

    	}
    
    	// Transport request context.
    	//
    	// If RoundTrip returns an error, it cancels this context before returning.
    	//
    	// If RoundTrip returns no error:
    	//   - For an HTTP/1 request, persistConn.readLoop cancels this context
    	//     after reading the request body.
    	//   - For an HTTP/2 request, RoundTrip cancels this context after the HTTP/2
    	//     RoundTripper returns.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/bootstraptoken/v1/utils_test.go

    		t.Run(rt.input, func(t *testing.T) {
    			if err := roundtrip(rt.input, rt.bts); err != nil {
    				t.Errorf("failed BootstrapTokenString JSON roundtrip with error: %v", err)
    			}
    		})
    	}
    }
    
    func roundtrip(input string, bts *BootstrapTokenString) error {
    	var b []byte
    	var err error
    	newbts := &BootstrapTokenString{}
    	// If string input was specified, roundtrip like this: string -> (unmarshal) -> object -> (marshal) -> string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/mix_tflite_vhlo.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
    
    module {
    func.func @main(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> {
      %0 = "vhlo.logistic_v1"(%arg0) : (tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32>
      %1 = "tfl.exp"(%0) : (tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> loc("exp")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 907 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo_const.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
    
    module attributes {tfl.metadata = {"keep_stablehlo_constant" = "true"}} {
     func.func @main () -> tensor<1x1x1x96xf32> {
      %0 = "vhlo.constant_v1"() <{value = #vhlo.tensor_v1<dense<0.000000e+00> : tensor<f32>>}> : () -> tensor<1x1x1x96xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 833 bytes
    - Viewed (0)
  5. pkg/apis/batch/v1beta1/defaults_test.go

    					FailedJobsHistoryLimit:     utilpointer.Int32(5),
    				},
    			},
    		},
    	}
    
    	for name, test := range tests {
    		original := test.original
    		expected := test.expected
    		obj2 := roundTrip(t, runtime.Object(original))
    		actual, ok := obj2.(*batchv1beta1.CronJob)
    		if !ok {
    			t.Errorf("%s: unexpected object: %v", name, actual)
    			t.FailNow()
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:14:37 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/fuzz_norace.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package roundtrip
    
    // in non-race-detection mode, a higher number of iterations is reasonable
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 727 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations_test.go

    				checkers: tt.checkers,
    			}
    			got, err := w.RoundTrip(&http.Request{})
    			if err != tt.err {
    				t.Errorf("x509DeprecatedCertificateMetricsRTWrapper.RoundTrip() should not mutate the error. Got %v, want %v", err, tt.err)
    				return
    			}
    			if !reflect.DeepEqual(got, tt.resp) {
    				t.Errorf("x509DeprecatedCertificateMetricsRTWrapper.RoundTrip() = should not mutate the response. Got %v, want %v", got, tt.resp)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  8. src/net/http/roundtrip_js.go

    	strings.HasPrefix(js.Global().Get("process").Get("argv0").String(), "node")
    
    // RoundTrip implements the [RoundTripper] interface using the WHATWG Fetch API.
    func (t *Transport) RoundTrip(req *Request) (*Response, error) {
    	// The Transport has a documented contract that states that if the DialContext or
    	// DialTLSContext functions are set, they will be used to set up the connections.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/fuzz_race.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package roundtrip
    
    // in race-detection mode, lower the number of iterations to keep reasonable runtimes in CI
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 741 bytes
    - Viewed (0)
  10. pkg/apis/flowcontrol/fuzzer/fuzzer.go

    	return []interface{}{
    		func(obj *flowcontrol.LimitedPriorityLevelConfiguration, c fuzz.Continue) {
    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    
    			// NOTE: setting a zero value here will cause the roundtrip
    			// test (from internal to v1beta2, v1beta1) to fail
    			if obj.NominalConcurrencyShares == 0 {
    				obj.NominalConcurrencyShares = int32(1)
    			}
    			if obj.LendablePercent == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top