Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for bad32 (0.39 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. 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)
  3. 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)
  4. doc/go_spec.html

    type Bad interface {
    	Bad
    }
    
    // illegal: Bad1 may not embed itself using Bad2
    type Bad1 interface {
    	Bad2
    }
    type Bad2 interface {
    	Bad1
    }
    
    // illegal: Bad3 may not embed a union containing Bad3
    type Bad3 interface {
    	~int | ~string | Bad3
    }
    
    // illegal: Bad4 may not embed an array containing Bad4 as element type
    type Bad4 interface {
    	[10]Bad4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  5. doc/go1.17_spec.html

    </p>
    
    <pre>
    // illegal: Bad cannot embed itself
    type Bad interface {
    	Bad
    }
    
    // illegal: Bad1 cannot embed itself using Bad2
    type Bad1 interface {
    	Bad2
    }
    type Bad2 interface {
    	Bad1
    }
    </pre>
    
    <h3 id="Map_types">Map types</h3>
    
    <p>
    A map is an unordered group of elements of one type, called the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation_test.go

    		"rro but not ro":                         {{Name: "123", MountPath: "/rro-bad1", ReadOnly: false, RecursiveReadOnly: ptr.To(core.RecursiveReadOnlyEnabled)}},
    		"rro with incompatible propagation":      {{Name: "123", MountPath: "/rro-bad2", ReadOnly: true, RecursiveReadOnly: ptr.To(core.RecursiveReadOnlyEnabled), MountPropagation: ptr.To(core.MountPropagationHostToContainer)}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top