Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,510 for nvalid (0.12 sec)

  1. pkg/apis/core/validation/names.go

    	}
    	// validate that segments[0] consists of valid DNS1123 labels separated by '.'
    	domainLabels := strings.Split(segments[0], ".")
    	for _, lbl := range domainLabels {
    		// use IsDNS1123Label as we want to ensure the max length of any single label in the domain
    		// is 63 characters
    		if errs := validation.IsDNS1123Label(lbl); len(errs) > 0 {
    			for _, err := range errs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/cel/compile_test.go

    	testCases := []struct {
    		name                string
    		expressionAccessors []ExpressionAccessor
    	}{
    		{
    			name: "valid ClaimMappingCondition",
    			expressionAccessors: []ExpressionAccessor{
    				&ClaimMappingExpression{
    					Expression: "claims.foo",
    				},
    			},
    		},
    		{
    			name: "valid ClaimValidationCondition",
    			expressionAccessors: []ExpressionAccessor{
    				&ClaimValidationCondition{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    			if strings.HasPrefix(elem, "!!") {
    				return fmt.Errorf("invalid double negative in build constraint: %s", arg)
    			}
    			elem = strings.TrimPrefix(elem, "!")
    			for _, c := range elem {
    				if !unicode.IsLetter(c) && !unicode.IsDigit(c) && c != '_' && c != '.' {
    					return fmt.Errorf("invalid non-alphanumeric build constraint: %s", arg)
    				}
    			}
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/goversion.go

    }
    
    // ParseLangFlag verifies that the -lang flag holds a valid value, and
    // exits if not. It initializes data used by AllowsGoVersion.
    func ParseLangFlag() {
    	if base.Flag.Lang == "" {
    		return
    	}
    
    	var err error
    	langWant, err = parseLang(base.Flag.Lang)
    	if err != nil {
    		log.Fatalf("invalid value %q for -lang: %v", base.Flag.Lang, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 21:36:02 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/labels.go

    				// whose execution terminates."
    				valid := false
    				if t := b.enclosingTarget(name); t != nil {
    					switch t.Stmt.(type) {
    					case *syntax.SwitchStmt, *syntax.SelectStmt, *syntax.ForStmt:
    						valid = true
    					}
    				}
    				if !valid {
    					check.errorf(s.Label, MisplacedLabel, "invalid break label %s", name)
    					return
    				}
    
    			case syntax.Continue:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go

    	// indexValidator is used to check if a given index is still
    	// valid perspective. If it is deemed that the index is not
    	// valid, then this interval can no longer be used to serve
    	// events. Use of indexValidator is warranted only in cases
    	// where the window of events in the underlying source can
    	// change over time. Furthermore, an interval is invalid if
    	// its startIndex no longer coincides with the startIndex of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. pkg/serviceaccount/metrics.go

    	invalidatedAutoTokensTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      kubeServiceAccountSubsystem,
    			Name:           "invalid_legacy_auto_token_uses_total",
    			Help:           "Cumulative invalid auto-generated legacy tokens used",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    	// ValidTokensTotal is the number of valid projected tokens used.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileResolutionIntegrationTest.groovy

        }
    
        def "produces deprecation warning for invalid URLs"() {
            buildFile """
    def originalFile = layout.projectDirectory.dir("test% dir").asFile
    def fileURI = layout.projectDirectory.dir("test% dir").asFile.toURI().toString().replaceFirst("%25", "%")
    def f = file(fileURI)
    assert f == originalFile
    """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 19:24:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/InvalidModelRuleDeclarationException.java

            super("Declaration of model rule " + descriptor.toString() + " is invalid.", cause);
            if (cause == null) {
                throw new IllegalArgumentException("'cause' cannot be null");
            }
        }
    
        public InvalidModelRuleDeclarationException(ModelRuleDescriptor descriptor, String message) {
            super(String.format("%s is not a valid model rule method: %s", descriptor, message));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/upgrade/versiongetter_test.go

    		wantParsedVersion string
    		wantErr           bool
    	}{
    		{
    			name:              "version is valid",
    			ciVersionLabel:    "v1.28.1",
    			wantCIVersion:     "v1.28.1",
    			wantParsedVersion: "1.28.1",
    			wantErr:           false,
    		},
    		{
    			name:              "version is invalid",
    			ciVersionLabel:    "invalid-version",
    			wantCIVersion:     "",
    			wantParsedVersion: "",
    			wantErr:           true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top