Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 939 for goodg1 (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestLiterals(t *testing.T) {
    	ui := &user.DefaultInfo{Name: "goodu", UID: "1",
    		Groups: []string{"goodg1", "goodg2"}}
    	reqRN := RequestDigest{
    		RequestInfo: &request.RequestInfo{
    			IsResourceRequest: true,
    			Path:              "/apis/goodapig/v1/namespaces/goodns/goodrscs",
    			Verb:              "goodverb",
    			APIPrefix:         "apis",
    			APIGroup:          "goodapig",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. test/convlit.go

    var bad7 int = 1e100     // ERROR "overflow|truncated to int|truncated"
    var bad8 float32 = 1e200 // ERROR "overflow"
    
    // but these implicit conversions are okay
    var good1 string = "a"
    var good2 int = 1.0
    var good3 int = 1e9
    var good4 float64 = 1e20
    
    // explicit conversion of string is okay
    var _ = []rune("abc")
    var _ = []byte("abc")
    
    // implicit is not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 05:11:09 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    		template     *resource.ResourceClaimTemplate
    		wantFailures field.ErrorList
    	}{
    		"good-claim": {
    			template: testClaimTemplate(goodName, goodNS, goodClaimSpec),
    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    			template:     testClaimTemplate("", goodNS, goodClaimSpec),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/mod/example.com_retract_v1.0.0-good.txt

    -- .mod --
    module example.com/retract
    
    go 1.15
    
    -- .info --
    {"Version":"v1.0.0-good"}
    
    -- retract.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 26 21:12:37 UTC 2020
    - 120 bytes
    - Viewed (0)
  5. pkg/apis/resource/validation/validation_podschedulingcontext_test.go

    				schedulingCtx := testPodSchedulingContexts(goodName, goodNS, goodPodSchedulingSpec)
    				schedulingCtx.Labels = map[string]string{
    					"hello-world": badValue,
    				}
    				return schedulingCtx
    			}(),
    		},
    		"good-annotations": {
    			schedulingCtx: func() *resource.PodSchedulingContext {
    				schedulingCtx := testPodSchedulingContexts(goodName, goodNS, goodPodSchedulingSpec)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:18:08 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  6. pkg/apis/resource/validation/validation_resourceclaim_test.go

    			}(),
    		},
    		"good-parameters": {
    			claim: func() *resource.ResourceClaim {
    				claim := testClaim(goodName, goodNS, goodClaimSpec)
    				claim.Spec.ParametersRef = &resource.ResourceClaimParametersReference{
    					Kind: "foo",
    					Name: "bar",
    				}
    				return claim
    			}(),
    		},
    		"good-parameters-apigroup": {
    			claim: func() *resource.ResourceClaim {
    				claim := testClaim(goodName, goodNS, goodClaimSpec)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/mono_test.go

    }
    
    func TestMonoGood(t *testing.T) {
    	for i, good := range goods {
    		if err := checkMono(t, good); err != nil {
    			t.Errorf("%d: unexpected failure: %v", i, err)
    		}
    	}
    }
    
    func TestMonoBad(t *testing.T) {
    	for i, bad := range bads {
    		if err := checkMono(t, bad); err == nil {
    			t.Errorf("%d: unexpected success", i)
    		} else {
    			t.Log(err)
    		}
    	}
    }
    
    var goods = []string{
    	"func F[T any](x T) { F(x) }",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/go/types/mono_test.go

    }
    
    func TestMonoGood(t *testing.T) {
    	for i, good := range goods {
    		if err := checkMono(t, good); err != nil {
    			t.Errorf("%d: unexpected failure: %v", i, err)
    		}
    	}
    }
    
    func TestMonoBad(t *testing.T) {
    	for i, bad := range bads {
    		if err := checkMono(t, bad); err == nil {
    			t.Errorf("%d: unexpected success", i)
    		} else {
    			t.Log(err)
    		}
    	}
    }
    
    var goods = []string{
    	"func F[T any](x T) { F(x) }",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-linked_ptr.h

    //   If a linked_ptr<> is converted to a raw pointer and back, BAD THINGS
    //   will happen (double deletion).
    //
    // A good use of this class is storing object references in STL containers.
    // You can safely put linked_ptr<> in a vector<>.
    // Other uses may not be as good.
    //
    // Note: If you use an incomplete type with linked_ptr<>, the class
    // *containing* linked_ptr<> must have a constructor and destructor (even
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-linked_ptr.h

    //   If a linked_ptr<> is converted to a raw pointer and back, BAD THINGS
    //   will happen (double deletion).
    //
    // A good use of this class is storing object references in STL containers.
    // You can safely put linked_ptr<> in a vector<>.
    // Other uses may not be as good.
    //
    // Note: If you use an incomplete type with linked_ptr<>, the class
    // *containing* linked_ptr<> must have a constructor and destructor (even
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top