Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,127 for valid (0.04 sec)

  1. pkg/proxy/apis/config/validation/validation_test.go

    			addresses: []string{},
    		},
    		"valid 1": {
    			addresses: []string{"127.0.0.0/8"},
    		},
    		"valid 2": {
    			addresses: []string{"0.0.0.0/0"},
    		},
    		"valid 3": {
    			addresses: []string{"::/0"},
    		},
    		"valid 4": {
    			addresses: []string{"127.0.0.1/32", "1.2.3.0/24"},
    		},
    		"valid 5": {
    			addresses: []string{"127.0.0.1/32"},
    		},
    		"valid 6": {
    			addresses: []string{"::1/128"},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. cmd/signature-v4-parser_test.go

    				strings.Join([]string{
    					// generating a valid credential.
    					generateCredentialStr(
    						"access key",
    						sampleTimeStr,
    						"us-west-1",
    						"s3",
    						"aws4_request"),
    					// valid SignedHeader.
    					"SignedHeaders=host;x-amz-content-sha256;x-amz-date",
    					// valid Signature field.
    					// a valid signature is of form "Signature="
    					"Signature=abcd",
    				}, ","),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/constants/constants_test.go

    		{
    			svcSubnetList: "192.168.10.0/24",
    			expected:      "192.168.10.0/24",
    			expectedError: false,
    			name:          "valid: valid IPv4 range from single-stack",
    		},
    		{
    			svcSubnetList: "fd03::/112",
    			expected:      "fd03::/112",
    			expectedError: false,
    			name:          "valid: valid IPv6 range from single-stack",
    		},
    		{
    			svcSubnetList: "192.168.10.0/24,fd03::/112",
    			expected:      "192.168.10.0/24",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/go/types/index.go

    	check.nonGeneric(nil, x)
    	if x.mode == invalid {
    		return false
    	}
    
    	// ordinary index expression
    	valid := false
    	length := int64(-1) // valid if >= 0
    	switch typ := under(x.typ).(type) {
    	case *Basic:
    		if isString(typ) {
    			valid = true
    			if x.mode == constant_ {
    				length = int64(len(constant.StringVal(x.val)))
    			}
    			// an indexed string always yields a byte value
    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. tests/integration/security/jwt_test.go

    						opts.HTTP.Path = "/valid-aud"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenIssuer1).Build()
    						opts.Check = check.Status(http.StatusForbidden)
    					},
    				},
    				{
    					name: "valid-aud",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/valid-aud"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/runtime/runtime_test.go

    func TestRemoveContainers(t *testing.T) {
    	for _, tc := range []struct {
    		name        string
    		containers  []string
    		prepare     func(*fakeImpl)
    		shouldError bool
    	}{
    		{
    			name: "valid",
    		},
    		{
    			name:        "valid: two containers",
    			containers:  []string{"1", "2"},
    			shouldError: false,
    		},
    		{
    			name:       "invalid: remove pod sandbox fails",
    			containers: []string{"1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go

    			enableRatcheting: false,
    			crd: &apiextensions.CustomResourceDefinition{
    				ObjectMeta: metav1.ObjectMeta{Name: "foos.sigs.k8s.io", Annotations: map[string]string{v1beta1.KubeAPIApprovedAnnotation: "valid"}, ResourceVersion: "1"},
    				Spec: apiextensions.CustomResourceDefinitionSpec{
    					Validation: &apiextensions.CustomResourceValidation{
    						OpenAPIV3Schema: &apiextensions.JSONSchemaProps{
    							Type: "object",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/index.go

    	check.nonGeneric(nil, x)
    	if x.mode == invalid {
    		return false
    	}
    
    	// ordinary index expression
    	valid := false
    	length := int64(-1) // valid if >= 0
    	switch typ := under(x.typ).(type) {
    	case *Basic:
    		if isString(typ) {
    			valid = true
    			if x.mode == constant_ {
    				length = int64(len(constant.StringVal(x.val)))
    			}
    			// an indexed string always yields a byte value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/version_test.go

    		parsingError bool
    	}
    	cases := []T{
    		{
    			name:   "valid version with label and metadata",
    			input:  "v1.8.0-alpha.2.1231+afabd012389d53a",
    			output: "v1.8.0-alpha.2",
    		},
    		{
    			name:   "valid version with label and extra metadata",
    			input:  "v1.8.0-alpha.2.1231+afabd012389d53a.extra",
    			output: "v1.8.0-alpha.2",
    		},
    		{
    			name:   "valid patch version with label and extra metadata",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 03:30:51 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body/test_tutorial001.py

            {
                "detail": [
                    {
                        "type": "float_parsing",
                        "loc": ["body", "price"],
                        "msg": "Input should be a valid number, unable to parse string as a number",
                        "input": "twenty",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top