Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for hashSuffix (0.12 sec)

  1. cmd/sftp-server-driver.go

    			Prefix:    prefix,
    			Recursive: false,
    		}) {
    			if object.Err != nil {
    				return nil, object.Err
    			}
    
    			if object.Key == prefix {
    				continue
    			}
    
    			isDir := strings.HasSuffix(object.Key, SlashSeparator)
    			files = append(files, &minioFileInfo{
    				p:     pathClean(strings.TrimPrefix(object.Key, prefix)),
    				info:  object,
    				isDir: isDir,
    			})
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. internal/s3select/sql/stringfuncs.go

    			if i == patLen-1 {
    				return false, errMalformedEscapeSequence
    			}
    			// Otherwise do nothing.
    
    		default:
    			s = append(s, r)
    		}
    
    	}
    	if hasLeadingPercent {
    		return strings.HasSuffix(text, string(s)), nil
    	}
    	return string(s) == text, nil
    }
    
    // matcher - Finds `pat` in `text`, and returns the part remainder of
    // `text`, after the match. If leadingPercent is false, `pat` must be
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  3. cmd/admin-server-info.go

    		value := ""
    		if len(split) > 1 {
    			value = split[1]
    		}
    
    		// Do not send sensitive creds.
    		if _, ok := sensitive[key]; ok || strings.Contains(strings.ToLower(key), "password") || strings.HasSuffix(strings.ToLower(key), "key") {
    			props.MinioEnvVars[key] = "*** EXISTS, REDACTED ***"
    			continue
    		}
    		props.MinioEnvVars[key] = value
    	}
    
    	objLayer := newObjectLayerFn()
    	if objLayer != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (1)
  4. cmd/xl-storage.go

    	dataUsageInfo, err := scanDataFolder(ctx, disks, s, cache, func(item scannerItem) (sizeSummary, error) {
    		// Look for `xl.meta/xl.json' at the leaf.
    		if !strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFile) &&
    			!strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFileV1) {
    			// if no xl.meta/xl.json found, skip the file.
    			return sizeSummary{}, errSkipFile
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/route.go

    			// if the domain contains IPv6, such as [fd00:10:96::7fc7] and [fd00:10:96::7fc7]:8090
    		} else if strings.Count(d, ":") > 2 {
    			// if the domain is only a IPv6 address, such as [fd00:10:96::7fc7], append it
    			if strings.HasSuffix(d, "]") {
    				withoutPort = append(withoutPort, d)
    			}
    		}
    	}
    	withoutPort = unexpandDomains(withoutPort)
    	if len(withoutPort) > maximum {
    		ret := strings.Join(withoutPort[:maximum], ", ")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. internal/bucket/encryption/bucket-sse-config.go

    		case AWSKms:
    			keyID := rule.DefaultEncryptionAction.MasterKeyID
    			if keyID == "" {
    				return nil, errors.New("MasterKeyID is missing with aws:kms")
    			}
    			spaces := strings.HasPrefix(keyID, " ") || strings.HasSuffix(keyID, " ")
    			if spaces {
    				return nil, errors.New("MasterKeyID contains unsupported characters")
    			}
    		}
    	}
    
    	if config.XMLNS == "" {
    		config.XMLNS = xmlNS
    	}
    	return &config, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  7. internal/config/heal/heal.go

    	if err == nil {
    		switch enabled {
    		case true:
    			return 0, nil
    		case false:
    			return -1, nil
    		}
    	}
    
    	// Try to parse as a number of months
    	if !strings.HasSuffix(s, "m") {
    		return -1, errors.New("unknown format")
    	}
    
    	months, err := strconv.Atoi(strings.TrimSuffix(s, "m"))
    	if err != nil {
    		return -1, err
    	}
    
    	if months < minimumBitrotCycleInMonths {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. cmd/utils.go

    // For ex. "prefix/" is stored as "prefix__XLDIR__"
    func encodeDirObject(object string) string {
    	if HasSuffix(object, slashSeparator) {
    		return strings.TrimSuffix(object, slashSeparator) + globalDirSuffix
    	}
    	return object
    }
    
    // Reverse process of encodeDirObject()
    func decodeDirObject(object string) string {
    	if HasSuffix(object, globalDirSuffix) {
    		return strings.TrimSuffix(object, globalDirSuffix) + slashSeparator
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  9. istioctl/pkg/checkinject/checkinject.go

    	return wh.GetLabels()[label.IoIstioRev.Name]
    }
    
    func isIstioWebhook(wh *admitv1.MutatingWebhookConfiguration) bool {
    	for _, w := range wh.Webhooks {
    		if strings.HasSuffix(w.Name, "istio.io") {
    			return true
    		}
    	}
    	return false
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. internal/s3select/sql/statement.go

    	}
    
    	// Set table alias
    	stmt.tableAlias = selectAST.From.As
    	// Remove quotes from column aliases
    	if selectAST.Expression != nil {
    		for _, exp := range selectAST.Expression.Expressions {
    			if strings.HasSuffix(exp.As, "'") && strings.HasPrefix(exp.As, "'") && len(exp.As) >= 2 {
    				exp.As = exp.As[1 : len(exp.As)-1]
    			}
    		}
    	}
    	return
    }
    
    func validateTableName(from *TableExpression) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top