Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for invalid11 (0.21 sec)

  1. src/go/types/expr.go

    		if u == nil {
    			check.errorf(x, InvalidReceive, invalidOp+"cannot receive from %s (no core type)", x)
    			x.mode = invalid
    			return
    		}
    		ch, _ := u.(*Chan)
    		if ch == nil {
    			check.errorf(x, InvalidReceive, invalidOp+"cannot receive from non-channel %s", x)
    			x.mode = invalid
    			return
    		}
    		if ch.dir == SendOnly {
    			check.errorf(x, InvalidReceive, invalidOp+"cannot receive from send-only channel %s", x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.go

    		if u == nil {
    			check.errorf(x, InvalidReceive, invalidOp+"cannot receive from %s (no core type)", x)
    			x.mode = invalid
    			return
    		}
    		ch, _ := u.(*Chan)
    		if ch == nil {
    			check.errorf(x, InvalidReceive, invalidOp+"cannot receive from non-channel %s", x)
    			x.mode = invalid
    			return
    		}
    		if ch.dir == SendOnly {
    			check.errorf(x, InvalidReceive, invalidOp+"cannot receive from send-only channel %s", x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    		for _, valid := range valids {
    			for _, invalid := range gvksToInvalidFiles[gvk] {
    				validXInvalidPairs = append(validXInvalidPairs, pair{old: valid, new: invalid})
    			}
    		}
    	}
    
    	// For each invalid file, add pair with every other invalid file of the same
    	// GVK including itself
    	for gvk, invalids := range gvksToInvalidFiles {
    		for _, invalid := range invalids {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		if err != nil {
    			allErrs = append(allErrs, field.Invalid(indexFldPath.Child("jsonPath"), selectableField.JSONPath, fmt.Sprintf("is an invalid path: %v", err)))
    			continue
    		}
    		if path.Root().String() == "metadata" {
    			allErrs = append(allErrs, field.Invalid(indexFldPath.Child("jsonPath"), selectableField.JSONPath, "must not point to fields in metadata"))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  5. pkg/apis/certificates/validation/validation_test.go

    			description: "invalid, bad signer name",
    			bundle: &capi.ClusterTrustBundle{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "invalid:foo",
    				},
    				Spec: capi.ClusterTrustBundleSpec{
    					SignerName:  "invalid",
    					TrustBundle: goodCert1Block,
    				},
    			},
    			wantErrors: field.ErrorList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun unparseableTopPrivateDomain() {
        assertInvalid("http://a../", "Invalid URL host: \"a..\"")
        assertInvalid("http://..a/", "Invalid URL host: \"..a\"")
        assertInvalid("http://a..b/", "Invalid URL host: \"a..b\"")
        assertInvalid("http://.a/", "Invalid URL host: \".a\"")
        assertInvalid("http://../", "Invalid URL host: \"..\"")
      }
    
      @Test
      fun hostnameTelephone() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  7. pkg/apis/batch/validation/validation.go

    			allErrs = append(allErrs, field.Invalid(fldPath.Child("completionTime"), status.CompletionTime, "completionTime cannot be set before startTime"))
    		}
    	}
    	isJobFinished := IsJobFinished(job)
    	if opts.RejectFinishedJobWithActivePods {
    		if status.Active > 0 && isJobFinished {
    			allErrs = append(allErrs, field.Invalid(fldPath.Child("active"), status.Active, "active>0 is invalid for finished job"))
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    		wantErr string
    		kmsv2   bool
    		kmsv1   bool
    	}{
    		{
    			desc:    "Invalid config file path",
    			config:  "invalid/path",
    			want:    nil,
    			wantErr: `error reading encryption provider configuration file "invalid/path"`,
    		},
    		{
    			desc:    "Empty config file content",
    			config:  "testdata/invalid-configs/kms/invalid-content.yaml",
    			want:    nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  9. pkg/apis/flowcontrol/validation/validation_test.go

    		expectedErrors: field.ErrorList{
    			field.Invalid(field.NewPath("spec").Child("rules").Index(0).Child("resourceRules").Index(0).Child("verbs"), []string{"*", "create"}, "if '*' is present, must not specify other verbs"),
    			field.Invalid(field.NewPath("spec").Child("rules").Index(0).Child("resourceRules").Index(0).Child("apiGroups"), []string{"*", "tak"}, "if '*' is present, must not specify other api groups"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  10. src/encoding/json/decode_test.go

    		in:       `{"A":"invalid"}`,
    		ptr:      new(struct{ A Number }),
    		err:      fmt.Errorf("json: invalid number literal, trying to unmarshal %q into Number", `"invalid"`),
    	},
    	{
    		CaseName: Name(""),
    		in:       `{"A":"invalid"}`,
    		ptr: new(struct {
    			A Number `json:",string"`
    		}),
    		err: fmt.Errorf("json: invalid use of ,string struct tag, trying to unmarshal %q into json.Number", `invalid`),
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
Back to top