Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 5,714 for nvalid (0.17 sec)

  1. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		ip       string
    		expected bool
    	}{
    		{"invalid missing address", "", false},
    		{"invalid missing decimal points in IPv4 address", "1234", false},
    		{"invalid incomplete IPv4 address", "1.2", false},
    		{"invalid IPv4 CIDR provided instead of IPv4 address", "1.2.3.4/16", false},
    		{"valid IPv4 address", "1.2.3.4", true},
    		{"valid IPv6 address", "2001:db8::1", true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  2. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    		return field.Invalid(p, minCandidateNodesPercentage, "not in valid range [0, 100]")
    	}
    	return nil
    }
    
    // validateMinCandidateNodesAbsolute validates that minCandidateNodesAbsolute
    // is within the allowed range.
    func validateMinCandidateNodesAbsolute(minCandidateNodesAbsolute int32, p *field.Path) *field.Error {
    	if minCandidateNodesAbsolute < 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publisher/ValidatingMavenPublisherTest.groovy

            e.message == "Invalid publication 'pub-name': POM file is invalid. Check any modifications you have made to the POM file."
            e.cause instanceof XmlPullParserException
            e.cause.message =~ "Unrecognised tag: 'invalid' .*"
        }
    
        private def makeProjectIdentity(String groupId, String artifactId, String version) {
            def coordinates = TestUtil.objectFactory().newInstance(MavenPublicationCoordinates)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 12K bytes
    - Viewed (0)
  4. src/go/types/check.go

    // It also sets alias.typ to Typ[Invalid].
    // Not used if check.conf._EnableAlias is set.
    func (check *Checker) brokenAlias(alias *TypeName) {
    	assert(!check.conf._EnableAlias)
    	if check.brokenAliases == nil {
    		check.brokenAliases = make(map[*TypeName]bool)
    	}
    	check.brokenAliases[alias] = true
    	alias.typ = Typ[Invalid]
    }
    
    // validAlias records that alias has the valid type typ (possibly Typ[Invalid]).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. cmd/signature-v4-parser_test.go

    		},
    		// Test case - 3.
    		// Test case with valid "X-Amz-Algorithm" query value, but invalid  "X-Amz-Credential" header.
    		// Malformed crenential.
    		{
    			inputQueryKeyVals: []string{
    				// valid  "X-Amz-Algorithm" header.
    				"X-Amz-Algorithm", signV4Algorithm,
    				// valid  "X-Amz-Credential" header.
    				"X-Amz-Credential", "invalid-credential",
    				"X-Amz-Signature", "",
    				"X-Amz-Date", "",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. tests/integration/security/jwt_test.go

    						opts.Check = check.And(
    							check.OK(),
    							check.ReachedTargetClusters(t))
    					},
    				},
    			}))
    
    			t.NewSubTest("invalid-jwks").Run(newTest("testdata/requestauthn/invalid-jwks.yaml.tmpl", []testCase{
    				{
    					name: "invalid-jwks-valid-token-noauthz",
    					customizeCall: func(_ framework.TestContext, _ echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  7. src/encoding/json/number_test.go

    		if !isValidNumber(test) {
    			t.Errorf("%s should be valid", test)
    		}
    
    		var f float64
    		if err := Unmarshal([]byte(test), &f); err != nil {
    			t.Errorf("%s should be valid but Unmarshal failed: %v", test, err)
    		}
    
    		if !jsonNumberRegexp.MatchString(test) {
    			t.Errorf("%s should be valid but regexp does not match", test)
    		}
    	}
    
    	invalidTests := []string{
    		"",
    		"invalid",
    		"1.0.1",
    		"1..1",
    		"-1-2",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 05:40:28 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/decl.go

    			check.trace(obj.Pos(), "## cycle contains: %d values, %d type definitions", nval, ndef)
    		}
    		defer func() {
    			if valid {
    				check.trace(obj.Pos(), "=> cycle is valid")
    			} else {
    				check.trace(obj.Pos(), "=> error: cycle is invalid")
    			}
    		}()
    	}
    
    	if !tparCycle {
    		// A cycle involving only constants and variables is invalid but we
    		// ignore them here because they are reported via the initialization
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/audit/validation/validation.go

    	var allErrs field.ErrorList
    	for i, stage := range omitStages {
    		valid := false
    		for _, validOmitStage := range validOmitStages {
    			if string(stage) == validOmitStage {
    				valid = true
    				break
    			}
    		}
    		if !valid {
    			allErrs = append(allErrs, field.Invalid(fldPath.Index(i), string(stage), "allowed stages are "+strings.Join(validOmitStages, ",")))
    		}
    	}
    	return allErrs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 15 14:13:07 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    		want string
    	}{
    		{
    			name: "invalid certificate authority",
    			in:   func() string { return "invalid" },
    			want: `issuer.certificateAuthority: Invalid value: "<omitted>": data does not contain any valid RSA or ECDSA certificates`,
    		},
    		{
    			name: "certificate authority is empty",
    			in:   func() string { return "" },
    			want: "",
    		},
    		{
    			name: "valid certificate authority",
    			in: func() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top