Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 137 for roundTrip (0.38 sec)

  1. 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)
  2. 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)
  3. internal/grid/trace.go

    		return c.roundtrip(h, req)
    	}
    
    	// Following trimming is needed for consistency between outputs with other internode traces.
    	local := strings.TrimPrefix(strings.TrimPrefix(t.Local, httpsScheme), httpScheme)
    	remote := strings.TrimPrefix(strings.TrimPrefix(t.Remote, httpsScheme), httpScheme)
    
    	start := time.Now()
    	body := bytesOrLength(req)
    	resp, err := c.roundtrip(h, req)
    	end := time.Now()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-stablehlo-tfl-composite.mlir

    module {
      func.func public @main(%arg0: tensor<3x3xf32>, %arg1: tensor<3x3xf32>, %arg2: tensor<1x100x32x4xf32>,
          %arg3: tensor<1x500x4x4xf32>, %arg4: tensor<1x500x4x4xf32>, %arg5: tensor<1x1x100x500xf32>, %arg6: tensor<f32>)
          -> tensor<1x100x32x4xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. internal/grid/connection_test.go

    	const testPayload = "Hello Grid World!"
    
    	gotResp := make(chan struct{})
    	go func() {
    		start := time.Now()
    		t.Log("Roundtrip: sending request")
    		resp, err := remoteConn.Request(context.Background(), handlerTest, []byte(testPayload))
    		t.Log("Roundtrip:", time.Since(start), resp, err)
    		gotResp <- struct{}{}
    	}()
    	<-gotCall
    	remote.debugMsg(debugKillInbound)
    	local.debugMsg(debugKillInbound)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/basic_lstm.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    // Ensure basic_lstm roundtrip exactly
    
    func.func @main(%arg0: tensor<1x384xf32>, %arg1: tensor<1x96xf32>, %arg2: tensor<384x480xf32>, %arg3: tensor<384xf32>, %arg4: tensor<1x96xf32>) -> tensor<1x96xf32> {
    // CHECK-LABEL: @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. pkg/apis/apps/v1beta1/defaults_test.go

    					Template:                defaultTemplate,
    				},
    			},
    		},
    	}
    
    	for _, test := range tests {
    		original := test.original
    		expected := test.expected
    		obj2 := roundTrip(t, runtime.Object(original))
    		got, ok := obj2.(*appsv1beta1.Deployment)
    		if !ok {
    			t.Errorf("unexpected object: %v", got)
    			t.FailNow()
    		}
    		if !apiequality.Semantic.DeepEqual(got.Spec, expected.Spec) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/id/UniqueIdTest.groovy

    class UniqueIdTest extends Specification {
    
        def "generates unique values"() {
            expect:
            def n = 100
            (1..n).collect { UniqueId.generate() }.unique().size() == n
        }
    
        def "can roundtrip to / from string"() {
            when:
            def id = UniqueId.generate()
            def s = id.asString()
    
            then:
            UniqueId.from(s) == id
            UniqueId.from(s).asString() == s
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/math.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    // Confirm float constants and operators survive a roundtrip
    
    func.func @main(tensor<4xf32>) -> tensor<4xf32> {
    ^bb0(%arg0: tensor<4xf32>):
      // CHECK:      [[CONST:%.*]] = "tfl.pseudo_const"() <{value = dense<1.000000e+00> : tensor<4xf32>}> : () -> tensor<4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. 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)
Back to top