Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for Pad2 (0.53 sec)

  1. test/fixedbugs/issue8606b.go

    	(*reflect.StringHeader)(unsafe.Pointer(&bad2)).Data = uintptr(unsafe.Pointer(&b[1]))
    
    	for _, test := range []struct {
    		a, b interface{}
    	}{
    		{SI{s: bad1, i: 1}, SI{s: bad2, i: 2}},
    		{SS{s: bad1, t: "a"}, SS{s: bad2, t: "aa"}},
    		{SS{s: "a", t: bad1}, SS{s: "b", t: bad2}},
    		// This one would panic because the length of both strings match, and we check
    		// the body of the bad strings before the body of the good strings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. security/pkg/k8s/tokenreview/k8sauthn_test.go

    				Status: authenticationv1.TokenReviewStatus{
    					Authenticated: true,
    					User: authenticationv1.UserInfo{
    						Username: "system:serviceaccount:default:example-pod-sa",
    						UID:      "ff578a9e-65d3-11e8-aad2-42010a8a001d",
    						Groups: []string{
    							"system:serviceaccounts",
    							"system:serviceaccounts:default",
    							"system:authenticated",
    						},
    					},
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 13 17:12:41 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_verify.txt

    grep '^rsc.io/quote v1.1.0/go.mod ' go.sum
    
    # verify should work
    go mod verify
    
    # basic loading of module graph should detect incorrect go.mod files.
    go mod graph
    cp go.sum.bad2 go.sum
    ! go mod graph
    stderr 'go.mod: checksum mismatch'
    
    # go.sum should be created and updated automatically.
    rm go.sum
    go mod tidy
    grep '^rsc.io/quote v1.1.0/go.mod ' go.sum
    grep '^rsc.io/quote v1.1.0 ' go.sum
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. test/fixedbugs/issue9006.go

    func NewT1(x int) T1 { return T1{x} }
    
    type T2 int
    
    func NewT2(x int) T2 { return T2(x) }
    
    func main() {
    	switch (T1{}) {
    	case NewT1(1):
    		panic("bad1")
    	case NewT1(0):
    		// ok
    	default:
    		panic("bad2")
    	}
    
    	switch T2(0) {
    	case NewT2(2):
    		panic("bad3")
    	case NewT2(0):
    		// ok
    	default:
    		panic("bad4")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 520 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    			wantBody:    smallPayload,
    		},
    
    		{
    			name:        "fail to encode object or status",
    			out:         smallPayload,
    			outErrs:     []error{fmt.Errorf("bad"), fmt.Errorf("bad2")},
    			mediaType:   "application/json",
    			req:         &http.Request{Header: http.Header{}, URL: &url.URL{Path: "/path"}},
    			wantCode:    http.StatusInternalServerError,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. security/pkg/k8s/tokenreview/k8sauthn.go

    	//  "kubernetes.io/serviceaccount/service-account.uid":"ff578a9e-65d3-11e8-aad2-42010a8a001d",
    	//  "sub":"system:serviceaccount:default:example-pod-sa"
    	//  }
    
    	// An example token review status
    	// "status":{
    	//   "authenticated":true,
    	//   "user":{
    	//     "username":"system:serviceaccount:default:example-pod-sa",
    	//     "uid":"ff578a9e-65d3-11e8-aad2-42010a8a001d",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 13 17:12:41 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. test/convlit.go

    var _ = int(unsafe.Pointer(uintptr(65)))     // ERROR "convert|conversion"
    
    // implicit conversions merit scrutiny
    var s string
    var bad1 string = 1  // ERROR "conver|incompatible|invalid|cannot"
    var bad2 = s + 1     // ERROR "conver|incompatible|invalid|cannot"
    var bad3 = s + 'a'   // ERROR "conver|incompatible|invalid|cannot"
    var bad4 = "a" + 1   // ERROR "literals|incompatible|convert|invalid"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 05:11:09 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    	a.AuthenticateToken(context.Background(), "bad2")
    	a.AuthenticateToken(context.Background(), "bad3")
    	fakeClock.Step(2 * time.Microsecond)
    	a.AuthenticateToken(context.Background(), "bad1")
    	a.AuthenticateToken(context.Background(), "bad2")
    	a.AuthenticateToken(context.Background(), "bad3")
    	fakeClock.Step(2 * time.Microsecond)
    	if !reflect.DeepEqual(calledWithToken, []string{"bad1", "bad2", "bad3", "bad1", "bad2", "bad3"}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

        }
    
        static class TypeWithUnannotatedProperties extends DefaultTask {
            String bad1
            File bad2
            @Input
            String useful
        }
    
        def "warns about and ignores properties that are not annotated"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/coerce_test.go

    			"metadata": map[string]interface{}{
    				"name": "good",
    				"Name": "bad1",
    				"nAme": "bad2",
    				"naMe": "bad3",
    				"namE": "bad4",
    
    				"namespace": "good",
    				"Namespace": "bad1",
    				"nAmespace": "bad2",
    				"naMespace": "bad3",
    				"namEspace": "bad4",
    
    				"creationTimestamp": "a",
    			},
    		}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top