Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 87 for tst2 (0.04 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/helper_test.go

    		Err     bool
    		Req     func(*http.Request) bool
    		Resp    *http.Response
    		HttpErr error
    	}{
    		{
    			name:    "test1",
    			HttpErr: errors.New("failure"),
    			Err:     true,
    		},
    		{
    			name: "test2",
    			Resp: &http.Response{
    				StatusCode: http.StatusNotFound,
    				Header:     header(),
    				Body:       objBody(&metav1.Status{Status: metav1.StatusFailure}),
    			},
    			Err: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

            when:
            builder = artifactBuilder()
            builder.sourceFile("org/gradle/test/BuildClass.java").text = originalSourceFile.text.replace("test.properties", "test2.properties")
            builder.resourceFile("org/gradle/test/test2.properties").createFile().text = "text=hello again"
            builder.resourceFile("org/gradle/test/test.properties").delete()
            builder.buildJar(jarFile)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    func rewriteValueARM64latelower_OpARM64TSTWconst(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (TSTWconst [c] x)
    	// cond: !isARM64bitcon(uint64(c)|uint64(c)<<32)
    	// result: (TSTW x (MOVDconst [int64(c)]))
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		x := v_0
    		if !(!isARM64bitcon(uint64(c) | uint64(c)<<32)) {
    			break
    		}
    		v.reset(OpARM64TSTW)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/runtime/crash_cgo_test.go

    		if d1*20 > d2 {
    			// The slow version (d2) was less than 20 times
    			// slower than the fast version (d1), so OK.
    			return
    		}
    
    		tot1 += d1
    		tot2 += d2
    	}
    
    	t.Errorf("cgo check too slow: got %v, expected at most %v", tot2/tries, (tot1/tries)*20)
    }
    
    func TestCgoPanicDeadlock(t *testing.T) {
    	t.Parallel()
    	// test issue 14432
    	got := runTestProg(t, "testprogcgo", "CgoPanicDeadlock")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. plugin/pkg/admission/imagepolicy/admission_test.go

    				"my.image-policy.k8s.io/test":     "test",
    				"other.image-policy.k8s.io/test2": "annotation",
    				"test":                            "test",
    				"another":                         "another",
    				"":                                "",
    			},
    			outAnnotations: map[string]string{
    				"my.image-policy.k8s.io/test":     "test",
    				"other.image-policy.k8s.io/test2": "annotation",
    			},
    		},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/ingress/controller_test.go

    			Rules: []net.IngressRule{
    				{
    					Host: "my.host.com",
    					IngressRuleValue: net.IngressRuleValue{
    						HTTP: &net.HTTPIngressRuleValue{
    							Paths: []net.HTTPIngressPath{
    								{
    									Path: "/test2",
    									Backend: net.IngressBackend{
    										Service: &net.IngressServiceBackend{
    											Name: "foo",
    											Port: net.ServiceBackendPort{
    												Number: 8000,
    											},
    										},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 18:34:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. src/net/http/clientserver_test.go

    	defer cst1.close()
    	cst2 := newClientServerTest(t, http2Mode, HandlerFunc(tt.Handler), tt.Opts...)
    	defer cst2.close()
    
    	res1, err := tt.reqFunc()(cst1.c, cst1.ts.URL)
    	if err != nil {
    		t.Errorf("HTTP/1 request: %v", err)
    		return
    	}
    	res2, err := tt.reqFunc()(cst2.c, cst2.ts.URL)
    	if err != nil {
    		t.Errorf("HTTP/2 request: %v", err)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  8. src/archive/tar/reader_test.go

    		}},
    	}, {
    		// GNU tar file with atime and ctime fields set.
    		// Created with the GNU tar v1.27.1.
    		//	tar --incremental -S -cvf gnu-incremental.tar test2
    		file: "testdata/gnu-incremental.tar",
    		headers: []*Header{{
    			Name:       "test2/",
    			Mode:       16877,
    			Uid:        1000,
    			Gid:        1000,
    			Size:       14,
    			ModTime:    time.Unix(1441973427, 0),
    			Typeflag:   'D',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  9. pkg/credentialprovider/plugin/plugin_test.go

    		name     string
    		registry string
    	}{
    		{
    			name:     "provide for registry 1",
    			registry: "test1.registry.io",
    		},
    		{
    			name:     "provide for registry 2",
    			registry: "test2.registry.io",
    		},
    		{
    			name:     "provide for registry 3",
    			registry: "test3.registry.io",
    		},
    		{
    			name:     "provide for registry 4",
    			registry: "test4.registry.io",
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 09 06:11:06 UTC 2022
    - 26.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body/test_tutorial001.py

                    }
                ]
            }
        )
    
    
    def test_other_exceptions(client: TestClient):
        with patch("json.loads", side_effect=Exception):
            response = client.post("/items/", json={"test": "test2"})
            assert response.status_code == 400, response.text
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top