Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for EqualFold (0.13 sec)

  1. internal/hash/checksum.go

    			var duplicates bool
    			switch {
    			case strings.EqualFold(header, ChecksumCRC32C.Key()):
    				duplicates = res != nil
    				res = NewChecksumWithType(ChecksumCRC32C|ChecksumTrailing, "")
    			case strings.EqualFold(header, ChecksumCRC32.Key()):
    				duplicates = res != nil
    				res = NewChecksumWithType(ChecksumCRC32|ChecksumTrailing, "")
    			case strings.EqualFold(header, ChecksumSHA256.Key()):
    				duplicates = res != nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. utils/utils.go

    }
    
    // CheckTruth check string true or not
    func CheckTruth(vals ...string) bool {
    	for _, val := range vals {
    		if val != "" && !strings.EqualFold(val, "false") {
    			return true
    		}
    	}
    	return false
    }
    
    func ToStringKey(values ...interface{}) string {
    	results := make([]string, len(values))
    
    	for idx, value := range values {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. internal/s3select/sql/statement.go

    				exp.As = exp.As[1 : len(exp.As)-1]
    			}
    		}
    	}
    	return
    }
    
    func validateTableName(from *TableExpression) error {
    	if !strings.EqualFold(from.Table.BaseKey.String(), baseTableName) {
    		return errBadTableName(errors.New("table name must be `s3object`"))
    	}
    
    	if len(from.Table.PathExpr) > 0 {
    		if !from.Table.PathExpr[0].ArrayWildcard {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. cmd/warm-backend-azure.go

    	Prefix       string
    	StorageClass string
    }
    
    func (az *warmBackendAzure) tier() *blob.AccessTier {
    	if az.StorageClass == "" {
    		return nil
    	}
    	for _, t := range blob.PossibleAccessTierValues() {
    		if strings.EqualFold(az.StorageClass, string(t)) {
    			return &t
    		}
    	}
    	return nil
    }
    
    func (az *warmBackendAzure) getDest(object string) string {
    	destObj := object
    	if az.Prefix != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. istioctl/pkg/injector/injector-list.go

    	inject := pod.ObjectMeta.GetAnnotations()[annotation.SidecarInject.Name]
    	if lbl, labelPresent := pod.ObjectMeta.GetLabels()[label.SidecarInject.Name]; labelPresent {
    		inject = lbl
    	}
    	return strings.EqualFold(inject, "false")
    }
    
    func renderCounts(injectedRevision string, counts revisionCount) string {
    	if counts.pods == 0 {
    		return "<no pods>"
    	}
    
    	podText := strconv.Itoa(counts.pods)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. internal/s3select/select.go

    			rc = newLimitedReadCloser(rsc, length)
    		}
    
    		s3Select.progressReader, err = newProgressReader(rc, s3Select.Input.CompressionType)
    		if err != nil {
    			rsc.Close()
    			return err
    		}
    
    		if strings.EqualFold(s3Select.Input.JSONArgs.ContentType, "lines") {
    			if simdjson.SupportedCPU() {
    				s3Select.recordReader = simdj.NewReader(s3Select.progressReader, &s3Select.Input.JSONArgs)
    			} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. cmd/postpolicyform.go

    	if _, ok := formValues[xhttp.AmzSignatureV2]; ok {
    		delete(checkHeader, xhttp.AmzSignatureV2)
    		for k := range checkHeader {
    			// case-insensitivity for AWSAccessKeyId
    			if strings.EqualFold(k, xhttp.AmzAccessKeyID) {
    				delete(checkHeader, k)
    				break
    			}
    		}
    	}
    
    	if len(checkHeader) != 0 {
    		logKeys := make([]string, 0, len(checkHeader))
    		for key := range checkHeader {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. common/config/.golangci.yml

          - defaultCaseOrder
          - deprecatedComment
          - docStub
          - dupArg
          - dupBranchBody
          - dupCase
          - dupSubExpr
          - elseif
          - emptyFallthrough
          - equalFold
          - flagDeref
          - flagName
          - hexLiteral
          - indexAlloc
          - initClause
          - methodExprCall
          - nilValReturn
          - octalLiteral
          - offBy1
          - rangeExprCopy
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    		types = madmin.MetricType(t)
    	} else {
    		types = madmin.MetricsAll
    	}
    
    	disks := strings.Split(r.Form.Get("disks"), ",")
    	byDisk := strings.EqualFold(r.Form.Get("by-disk"), "true")
    	var diskMap map[string]struct{}
    	if len(disks) > 0 && disks[0] != "" {
    		diskMap = make(map[string]struct{}, len(disks))
    		for _, k := range disks {
    			if k != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    	tierFVMarkerKey := ReservedMetadataPrefixLower + tierFVMarker
    	for k, v := range j.MetaSys {
    		// Make sure we skip free-version-id, similar to AddVersion()
    		if len(k) > len(ReservedMetadataPrefixLower) && strings.EqualFold(k[:len(ReservedMetadataPrefixLower)], ReservedMetadataPrefixLower) {
    			// Skip tierFVID, tierFVMarker keys; it's used
    			// only for creating free-version.
    			switch k {
    			case tierFVIDKey, tierFVMarkerKey:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top