Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 5,714 for nvalid (0.18 sec)

  1. pkg/api/job/warnings_test.go

    				Completions:    pointer.Int32(1_000_000_000),
    			},
    		},
    		"invalid PodTemplate": {
    			spec: &batch.JobSpec{
    				CompletionMode: completionModePtr(batch.NonIndexedCompletion),
    				Template: core.PodTemplateSpec{
    					Spec: core.PodSpec{ImagePullSecrets: []core.LocalObjectReference{{Name: ""}}},
    				},
    			},
    			wantWarningsCount: 1,
    		},
    		"valid Indexed low completions low parallelism": {
    			spec: &batch.JobSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 14:38:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/ipset/ipset.go

    		//check if IP and Protocol of Entry is valid.
    		if valid := e.checkIPandProtocol(set); !valid {
    			return false
    		}
    	case HashIPPortIP:
    		//check if IP and Protocol of Entry is valid.
    		if valid := e.checkIPandProtocol(set); !valid {
    			return false
    		}
    
    		// IP2 can not be empty for `hash:ip,port,ip` type ip set
    		if netutils.ParseIPSloppy(e.IP2) == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/struct.go

    			check.recordDef(ident, fld)
    		}
    	}
    
    	// addInvalid adds an embedded field of invalid type to the struct for
    	// fields with errors; this keeps the number of struct fields in sync
    	// with the source as long as the fields are _ or have different names
    	// (go.dev/issue/25627).
    	addInvalid := func(ident *syntax.Name) {
    		typ = Typ[Invalid]
    		tag = ""
    		add(ident, true)
    	}
    
    	var prev syntax.Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/constants/constants_test.go

    			name:          "valid: valid <IPv4,IPv6> ranges from dual-stack",
    		},
    		{
    			svcSubnetList: "fd03::/112,192.168.10.0/24",
    			expected:      "fd03::/112",
    			expectedError: false,
    			name:          "valid: valid <IPv6,IPv4> ranges from dual-stack",
    		},
    		{
    			svcSubnetList: "192.168.10.0/24,fd03:x::/112",
    			expected:      "",
    			expectedError: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. pkg/config/resource/name_test.go

    			valid:       true,
    		},
    		{
    			description: "valid name with namespace",
    			name:        "testNamespace/testName",
    			want:        "testNamespace/testName",
    			valid:       true,
    		},
    	}
    	for _, s := range steps {
    		t.Run(s.description, func(tt *testing.T) {
    			n, err := ParseFullName(s.name)
    			if err == nil && n.String() != s.want {
    				tt.Fatalf("unexpected name: %v", n)
    			}
    			if s.valid {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  6. pkg/registry/apps/controllerrevision/strategy_test.go

    		name       string
    		newHistory *apps.ControllerRevision
    		oldHistory *apps.ControllerRevision
    		isValid    bool
    	}{
    		{
    			name:       "valid",
    			newHistory: valid,
    			oldHistory: valid,
    			isValid:    true,
    		},
    		{
    			name:       "changed data",
    			newHistory: changedData,
    			oldHistory: valid,
    			isValid:    false,
    		},
    		{
    			name:       "changed revision",
    			newHistory: changedRevision,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 09 11:14:08 UTC 2017
    - 4.5K bytes
    - Viewed (0)
  7. src/unicode/utf8/utf8.go

    // An invalid encoding is considered a full Rune since it will convert as a width-1 error rune.
    func FullRune(p []byte) bool {
    	n := len(p)
    	if n == 0 {
    		return false
    	}
    	x := first[p[0]]
    	if n >= int(x&7) {
    		return true // ASCII, invalid or valid.
    	}
    	// Must be short or invalid.
    	accept := acceptRanges[x>>4]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. operator/pkg/util/path_test.go

    	tests := []struct {
    		desc   string
    		in     string
    		expect bool
    	}{
    		{
    			desc:   "valid",
    			in:     "[1:2]",
    			expect: true,
    		},
    		{
    			desc:   "invalid",
    			in:     "[:2]",
    			expect: false,
    		},
    		{
    			desc:   "invalid-2",
    			in:     "[1:]",
    			expect: false,
    		},
    		{
    			desc:   "empty",
    			in:     "",
    			expect: false,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Aug 29 00:15:38 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  9. pkg/registry/storage/volumeattachment/storage/storage_test.go

    	pvName := "foo"
    	test.TestCreate(
    		// valid
    		volumeAttachment,
    		// invalid
    		&storageapi.VolumeAttachment{
    			ObjectMeta: metav1.ObjectMeta{Name: "*BadName!"},
    			Spec: storageapi.VolumeAttachmentSpec{
    				Attacher: "invalid-attacher-!@#$%^&*()",
    				Source: storageapi.VolumeAttachmentSource{
    					PersistentVolumeName: &pvName,
    				},
    				NodeName: "invalid-node-!@#$%^&*()",
    			},
    		},
    	)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 6.2K bytes
    - Viewed (1)
  10. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/name_flags_test.go

    			outputFormat:  "invalid",
    			expectNoMatch: true,
    		},
    		{
    			name:          "printer should not match on any other format supported by another printer",
    			outputFormat:  "go-template",
    			expectNoMatch: true,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			printFlags := NamePrintFlags{
    				Operation: tc.operation,
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 21 15:08:30 UTC 2018
    - 3.1K bytes
    - Viewed (0)
Back to top