Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for tc (0.07 sec)

  1. src/net/http/client_test.go

    			out:  `Get "http://user:***@dummy.faketld/": dummy impl`,
    		},
    	}
    	for _, tC := range testCases {
    		t.Run(tC.desc, func(t *testing.T) {
    			_, err := client.Get(tC.in)
    			if err.Error() != tC.out {
    				t.Errorf("Unexpected output for %q: expected %q, actual %q",
    					tC.in, tC.out, err.Error())
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_test.go

    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			got := route.SortVHostRoutes(tc.in)
    			if !reflect.DeepEqual(tc.expected, got) {
    				t.Errorf("SortVHostRoutes: \n")
    				t.Errorf("got: \n")
    				for _, g := range got {
    					t.Errorf("%v\n", g.Match.PathSpecifier)
    				}
    				t.Errorf("want: \n")
    				for _, g := range tc.expected {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/sidecar_simulation_test.go

      - name: auto
        port: 81
      - name: tcp
        port: 82
      - name: tls
        port: 83
      - name: https
        port: 84`
    
    	type tc struct {
    		call     simulation.Call
    		expected string
    	}
    	calls := []simulation.Expect{}
    	for _, call := range []tc{
    		{call: simulation.Call{Address: "1.2.3.4", Port: 80, Protocol: simulation.HTTP, HostHeader: "alias.default.svc.cluster.local"}, expected: "alias"},
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    			requestRV:        "0",
    			expectResponseRV: secondNonConsistentReadRV,
    		},
    	}
    	for _, tc := range tcs {
    		t.Run(tc.name, func(t *testing.T) {
    			out := &example.PodList{}
    			opts := storage.ListOptions{
    				ResourceVersion: tc.requestRV,
    				Predicate:       storage.Everything,
    			}
    			err = store.GetList(ctx, "/pods/empty", opts, out)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  5. src/testing/testing.go

    // run in parallel with each other, and only with each other, regardless of
    // other top-level tests that may be defined:
    //
    //	func TestGroupedParallel(t *testing.T) {
    //	    for _, tc := range tests {
    //	        tc := tc // capture range variable
    //	        t.Run(tc.Name, func(t *testing.T) {
    //	            t.Parallel()
    //	            ...
    //	        })
    //	    }
    //	}
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  6. src/net/dnsclient_unix_test.go

    					t.Fatalf("unexpected error: %s", err)
    				}
    				if !reflect.DeepEqual(records, expected) {
    					t.Error("Unexpected record set")
    				}
    			},
    		},
    	}
    
    	for _, tc := range tests {
    		t.Run(tc.name, tc.f)
    	}
    
    }
    
    func TestNullMX(t *testing.T) {
    	fake := fakeDNSServer{
    		rh: func(n, _ string, q dnsmessage.Message, _ time.Time) (dnsmessage.Message, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  7. src/net/http/transport.go

    		if err != nil {
    			return nil, wrapErr(err)
    		}
    		if tc, ok := pconn.conn.(*tls.Conn); ok {
    			// Handshake here, in case DialTLS didn't. TLSNextProto below
    			// depends on it for knowing the connection state.
    			if trace != nil && trace.TLSHandshakeStart != nil {
    				trace.TLSHandshakeStart()
    			}
    			if err := tc.HandshakeContext(ctx); err != nil {
    				go pconn.conn.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

    embedding lookup on the SparseCore, followed by one or more dense layers on
    TensorCores, optionally followed by a backward pass (training update) with
    more ops on the SparseCore. Ops are broken up into:
      1. SC forward pass
      2. TC forward/backward pass
      3. SC backward pass
      4. non-TPU loop counter updates
    These 4 functions are then staggered so as to enable parallel execution.
    
    In pseudocode, the algorithm is as follows:
    
    // Start step 0
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    //	               ::= TA <template-arg>
    //	               ::= GV <(object) name>
    //	               ::= T <call-offset> <(base) encoding>
    //	               ::= Tc <call-offset> <call-offset> <(base) encoding>
    //	g++ extensions:
    //	               ::= TC <type> <(offset) number> _ <(base) type>
    //	               ::= TF <type>
    //	               ::= TJ <type>
    //	               ::= GR <name>
    //	               ::= GA <encoding>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
Back to top