Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 5,714 for nvalid (0.79 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/versions/versions.go

    func Compare(x, y string) int { return compare(stripGo(x), stripGo(y)) }
    
    // IsValid reports whether the version x is valid.
    func IsValid(x string) bool { return isValid(stripGo(x)) }
    
    // stripGo converts from a "go1.21" version to a "1.21" version.
    // If v does not start with "go", stripGo returns the empty string (a known invalid version).
    func stripGo(v string) string {
    	v, _, _ = strings.Cut(v, "-") // strip -bigcorp suffix.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/invalid-filter-wrong-field.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: invalid-filter-wrong-field
    spec:
      rules:
      - filters:
        - type: RequestHeaderModifier
          requestRedirect: 
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 212 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/invalid-filter-duplicate-header.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: invalid-filter-duplicate-header
    spec:
      rules:
      - filters:
        - type: RequestHeaderModifier
          requestHeaderModifier:
            remove:
            - foo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 247 bytes
    - Viewed (0)
  4. src/go/types/index.go

    	// a valid type.
    	if x.typ == nil {
    		x.typ = Typ[Invalid]
    	}
    
    	check.index(index, length)
    	return false
    }
    
    func (check *Checker) sliceExpr(x *operand, e *ast.SliceExpr) {
    	check.expr(nil, x, e.X)
    	if x.mode == invalid {
    		check.use(e.Low, e.High, e.Max)
    		return
    	}
    
    	valid := false
    	length := int64(-1) // valid if >= 0
    	switch u := coreString(x.typ).(type) {
    	case nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/version_test.go

    		},
    		{
    			name:          "invalid: client version is empty",
    			remoteVersion: "v1.12.1",
    			clientVersion: "",
    			expectedError: true,
    		},
    		{
    			name:          "invalid: error parsing the remote version",
    			remoteVersion: "invalid-version",
    			clientVersion: "v1.12.0",
    			expectedError: true,
    		},
    		{
    			name:          "invalid: error parsing the client version",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 03:30:51 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/invalid-path-alphanum-specialchars-mix.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: invalid-path-alphanum-specialchars-mix
    spec:
      rules:
      - matches:
        - path:
            type: PathPrefix
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 212 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/index.go

    	if !valid {
    		check.errorf(e.Pos(), NonSliceableOperand, invalidOp+"cannot index %s", x)
    		check.use(e.Index)
    		x.mode = invalid
    		return false
    	}
    
    	index := check.singleIndex(e)
    	if index == nil {
    		x.mode = invalid
    		return false
    	}
    
    	// In pathological (invalid) cases (e.g.: type T1 [][[]T1{}[0][0]]T0)
    	// the element type may be accessed before it's set. Make sure we have
    	// a valid type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. cni/pkg/install/testdata/invalid-arr.conflist

    Pengyuan Bian <******@****.***> 1625172474 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 01 20:47:54 UTC 2021
    - 3 bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation_test.go

    		},
    		"invalid local volume no node affinity": {
    			isExpectedFailure: true,
    			volume: testVolume("invalid-local-volume-no-node-affinity", "",
    				testLocalVolume("/foo", nil)),
    		},
    		"invalid local volume empty path": {
    			isExpectedFailure: true,
    			volume: testVolume("invalid-local-volume-empty-path", "",
    				testLocalVolume("", simpleVolumeNodeAffinity("foo", "bar"))),
    		},
    		"invalid-local-volume-backsteps": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  10. src/go/types/version.go

    // contain release numbers ("go1.20.1" is not a valid goVersion).
    type goVersion string
    
    // asGoVersion returns v as a goVersion (e.g., "go1.20.1" becomes "go1.20").
    // If v is not a valid Go version, the result is the empty string.
    func asGoVersion(v string) goVersion {
    	return goVersion(version.Lang(v))
    }
    
    // isValid reports whether v is a valid Go version.
    func (v goVersion) isValid() bool {
    	return v != ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 23:12:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top