Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 538 for parseAI (0.06 sec)

  1. internal/config/identity/openid/jwt_test.go

    		pubKeys: pubKeys,
    		arnProviderCfgsMap: map[arn.ARN]*providerCfg{
    			DummyRoleARN: &provider,
    		},
    		ProviderCfgs: map[string]*providerCfg{
    			"1": &provider,
    		},
    	}
    
    	u, err := url.Parse("http://127.0.0.1:8443/?Token=invalid")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var claims jwtgo.MapClaims
    	if err = cfg.Validate(context.Background(), DummyRoleARN, u.Query().Get("Token"), "", "", claims); err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. docs/sts/custom-token-identity.go

    	flag.DurationVar(&expiryDuration, "e", 0, "Request a duration of validity for the generated credential")
    	flag.StringVar(&bucketToList, "b", "mybucket", "Bucket to list (defaults to mybucket)")
    }
    
    func main() {
    	flag.Parse()
    	if token == "" || roleArn == "" {
    		flag.PrintDefaults()
    		return
    	}
    
    	// The credentials package in minio-go provides an interface to call the
    	// AssumeRoleWithCustomToken STS API.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. internal/s3select/sql/funceval.go

    	case int64:
    		return x, nil
    	case string:
    		// Parse as number, truncate floating point if
    		// needed.
    		// String might contain trimming spaces, which
    		// needs to be trimmed.
    		res, ok := strToInt(strings.TrimSpace(x))
    		if !ok {
    			return 0, errCastFailure("could not parse as int")
    		}
    		return res, nil
    	case []byte:
    		// Parse as number, truncate floating point if
    		// needed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_query_params/test_tutorial006.py

                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "a",
                    },
                    {
                        "type": "int_parsing",
                        "loc": ["query", "limit"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "b",
                    },
                ]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Version.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * A version or meta-version of an artifact or a dependency.
     * A meta-version is a version suffixed with the {@code SNAPSHOT} keyword.
     * Versions are usually parsed using the {@link org.apache.maven.api.services.VersionParser} service.
     *
     * @since 4.0.0
     * @see org.apache.maven.api.services.VersionParser#parseVersion(String)
     * @see org.apache.maven.api.Session#parseVersion(String)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_query_params/test_tutorial006_py310.py

                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "a",
                    },
                    {
                        "type": "int_parsing",
                        "loc": ["query", "limit"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "b",
                    },
                ]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/MediaType.kt

        @JvmStatic
        @JvmName("get")
        fun String.toMediaType(): MediaType = commonToMediaType()
    
        /** Returns a media type for this, or null if this is not a well-formed media type. */
        @JvmStatic
        @JvmName("parse")
        fun String.toMediaTypeOrNull(): MediaType? = commonToMediaTypeOrNull()
    
        @JvmName("-deprecated_get")
        @Deprecated(
          message = "moved to extension function",
          replaceWith =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. cmd/bucket-targets.go

    	if uuid == "" {
    		uuid = mustGetUUID()
    	}
    	arn := madmin.ARN{
    		Type:   t.Type,
    		ID:     uuid,
    		Region: t.Region,
    		Bucket: t.TargetBucket,
    	}
    	return arn.String()
    }
    
    // Returns parsed target config. If KMS is configured, remote target is decrypted
    func parseBucketTargetConfig(bucket string, cdata, cmetadata []byte) (*madmin.BucketTargets, error) {
    	var (
    		data []byte
    		err  error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainsBuilder.java

         * @return The toolchains model or <code>null</code> if no toolchain file was configured or the configured file does
         *         not exist.
         * @throws MisconfiguredToolchainException If the toolchain file exists but cannot be parsed.
         */
        PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

                try {
                    this.delegate = versionScheme.parseVersion(delegateValue);
                } catch (InvalidVersionSpecificationException e) {
                    throw new VersionParserException("Unable to parse version: " + delegateValue, e);
                }
            }
    
            @Override
            public int compareTo(Version o) {
                if (o instanceof DefaultVersion) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top