Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 703 for Case (0.87 sec)

  1. cmd/erasure-metadata.go

    	for k, v := range m {
    		switch {
    		case equals(k, ReservedMetadataPrefixLower+ReplicationTimestamp):
    			d.ReplicaTimeStamp, _ = amztime.ParseReplicationTS(v)
    		case equals(k, ReservedMetadataPrefixLower+ReplicaTimestamp):
    			d.ReplicaTimeStamp, _ = amztime.ParseReplicationTS(v)
    		case equals(k, ReservedMetadataPrefixLower+ReplicaStatus):
    			d.ReplicaStatus = replication.StatusType(v)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		Aliases: []string{"certificates", "certs", "cert"},
    		Args:    common.validateArgs,
    		RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error {
    			switch common.outputFormat {
    			case summaryOutput:
    				return cw.PrintSecretSummary()
    			case jsonOutput, yamlOutput:
    				return cw.PrintSecretDump(common.outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", common.outputFormat)
    			}
    		}),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  3. cmd/postpolicyform.go

    func toInteger(val interface{}) (int64, error) {
    	switch v := val.(type) {
    	case float64:
    		return int64(v), nil
    	case int64:
    		return v, nil
    	case int:
    		return int64(v), nil
    	case string:
    		i, err := strconv.Atoi(v)
    		return int64(i), err
    	default:
    		return 0, errors.New("Invalid number format")
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. cmd/erasure-healing.go

    	for i, v := range availableDisks {
    		driveState := ""
    		switch {
    		case v != nil:
    			driveState = madmin.DriveStateOk
    		case errs[i] == errDiskNotFound, dataErrs[i] == errDiskNotFound:
    			driveState = madmin.DriveStateOffline
    		case errs[i] == errFileNotFound, errs[i] == errFileVersionNotFound, errs[i] == errVolumeNotFound:
    			fallthrough
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. cmd/admin-handlers-idp-config.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigInvalidIDPType), r.URL)
    		return
    	}
    
    	var subSys string
    	switch idpCfgType {
    	case madmin.OpenidIDPCfg:
    		subSys = madmin.IdentityOpenIDSubSys
    	case madmin.LDAPIDPCfg:
    		subSys = madmin.IdentityLDAPSubSys
    	}
    
    	cfgName := mux.Vars(r)["name"]
    	cfgTarget := madmin.Default
    	if cfgName != "" {
    		cfgTarget = cfgName
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. cmd/object-api-options.go

    		argumentName = strings.ToLower(xhttp.AmzObjectAttributes)
    		valid = false
    		return
    	}
    
    	for tag := range opts.ObjectAttributes {
    		switch tag {
    		case xhttp.ETag:
    		case xhttp.Checksum:
    		case xhttp.StorageClass:
    		case xhttp.ObjectSize:
    		case xhttp.ObjectParts:
    		default:
    			apiErr = errorCodes.ToAPIErr(ErrInvalidAttributeName)
    			argumentName = strings.ToLower(xhttp.AmzObjectAttributes)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.util.concurrent.AggregateFuture.ReleaseResourcesReason.ALL_INPUT_FUTURES_PROCESSED;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. cmd/bucket-handlers_test.go

    		secretKey          string
    		expectedRespStatus int
    	}{
    		// Test case - 1.
    		// Validate a good case request succeeds.
    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 2.
    		// Test case with invalid accessKey to produce and validate Signature Mismatch error.
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  9. cmd/auth-handler.go

    	switch getRequestAuthType(r) {
    	case authTypeUnknown, authTypeStreamingSigned:
    		return ErrSignatureVersionNotSupported
    	case authTypePresignedV2, authTypeSignedV2:
    		if s3Err = isReqAuthenticatedV2(r); s3Err != ErrNone {
    			return s3Err
    		}
    		cred, owner, s3Err = getReqAccessKeyV2(r)
    	case authTypeSigned, authTypePresigned:
    		region := globalSite.Region
    		switch action {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  10. cmd/utils_test.go

    		path           string
    		bucket, object string
    	}{
    		// Test case 1 normal case.
    		{
    			path:   "/bucket/object",
    			bucket: "bucket",
    			object: "object",
    		},
    		// Test case 2 where url only has separator.
    		{
    			path:   SlashSeparator,
    			bucket: "",
    			object: "",
    		},
    		// Test case 3 only bucket is present.
    		{
    			path:   "/bucket",
    			bucket: "bucket",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top