Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 502 for valid (0.47 sec)

  1. src/vendor/golang.org/x/net/http/httpguts/httplex.go

    //	                 (octets 0 - 31) and DEL (127)>
    func isCTL(b byte) bool {
    	const del = 0x7f // a CTL
    	return b < ' ' || b == del
    }
    
    // ValidHeaderFieldName reports whether v is a valid HTTP/1.x header name.
    // HTTP/2 imposes the additional restriction that uppercase ASCII
    // letters are not allowed.
    //
    // RFC 7230 says:
    //
    //	header-field   = field-name ":" OWS field-value OWS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. cmd/httprange.go

    	// Check if range string contains delimiter '-', else return error. eg. "bytes=8"
    	sepIndex := strings.Index(byteRangeString, "-")
    	if sepIndex == -1 {
    		return nil, fmt.Errorf("'%s' does not have a valid range value", rangeString)
    	}
    
    	offsetBeginString := byteRangeString[:sepIndex]
    	offsetBegin := int64(-1)
    	// Convert offsetBeginString only if its not empty.
    	if len(offsetBeginString) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/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: Mon May 20 20:44:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperUpgradeIntegrationTest.groovy

            and:
            failure.assertHasDescription("Invalid version specified for argument '--gradle-version'")
            failure.assertHasCause("'$badVersion' is not a valid Gradle version string (examples: '1.0', '1.0-rc-1')")
            failure.assertHasResolution("Specify a valid Gradle release listed on https://gradle.org/releases/.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_handling_errors/test_tutorial005.py

            {
                "detail": [
                    {
                        "type": "int_parsing",
                        "loc": ["body", "size"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "XL",
                    }
                ],
                "body": {"title": "towel", "size": "XL"},
            }
        ) | IsDict(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_handling_errors/test_tutorial006.py

                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "foo",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["path", "item_id"],
                        "msg": "value is not a valid integer",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. internal/auth/credentials_test.go

    func TestCreateCredentials(t *testing.T) {
    	testCases := []struct {
    		accessKey   string
    		secretKey   string
    		valid       bool
    		expectedErr error
    	}{
    		// Valid access and secret keys with minimum length.
    		{alphaNumericTable[:accessKeyMinLen], alphaNumericTable[:secretKeyMinLen], true, nil},
    		// Valid access and/or secret keys are longer than minimum length.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. tests/integration/security/remote_jwks/remote_jwks_test.go

    					name:       "remote-jwks-without-service-entry",
    					policyFile: "./testdata/requestauthn-no-se.yaml.tmpl",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/valid-token-forward-remote-jwks"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenIssuer1).Build()
    						opts.Check = check.And(
    							check.NotOK(),
    							check.Status(http.StatusUnauthorized))
    					},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/versions/types_go122.go

    	//
    	// File versions require a valid package version to be provided to types
    	// in Config.GoVersion. Config.GoVersion is either from the package's module
    	// or the toolchain (go run). This value should be provided by go/packages
    	// or unitchecker.Config.GoVersion.
    	if v := info.FileVersions[file]; IsValid(v) {
    		return v
    	}
    	// Note: we could instead return runtime.Version() [if valid].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/JavaToolchainSpecInternal.java

         */
        boolean isConfigured();
    
        /**
         * A spec is valid when {@link #getLanguageVersion() language version} is set (along with any other properties)
         * or when no properties are set.
         * <p>
         * A {@link #isConfigured() non-configured} spec is always valid.
         */
        boolean isValid();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 16:57:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top