Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for FormatUint (0.19 sec)

  1. utils/utils.go

    		return v
    	case int:
    		return strconv.FormatInt(int64(v), 10)
    	case int8:
    		return strconv.FormatInt(int64(v), 10)
    	case int16:
    		return strconv.FormatInt(int64(v), 10)
    	case int32:
    		return strconv.FormatInt(int64(v), 10)
    	case int64:
    		return strconv.FormatInt(v, 10)
    	case uint:
    		return strconv.FormatUint(uint64(v), 10)
    	case uint8:
    		return strconv.FormatUint(uint64(v), 10)
    	case uint16:
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Feb 19 03:42:25 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. internal/disk/stat_linux_s390x.go

    	"2fc12fc1": "zfs",
    	"ff534d42": "cifs",
    	"53464846": "wslfs",
    }
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(ftype uint32) string {
    	fsTypeHex := strconv.FormatUint(uint64(ftype), 16)
    	fsTypeString, ok := fsType2StringMap[fsTypeHex]
    	if !ok {
    		return "UNKNOWN"
    	}
    	return fsTypeString
    }
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Viewed (2)
  3. cmd/peer-rest-client.go

    	queryVals := make(url.Values)
    	if opts.Serial {
    		queryVals.Set("serial", "true")
    	}
    	queryVals.Set("blocksize", strconv.FormatUint(opts.BlockSize, 10))
    	queryVals.Set("filesize", strconv.FormatUint(opts.FileSize, 10))
    
    	respBody, err := client.callWithContext(ctx, peerRESTMethodDriveSpeedTest, queryVals, nil, -1)
    	if err != nil {
    		return madmin.DriveSpeedTestResult{}, err
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    			f.newCache.replaceHashed(thisHash, folder.parent, *flat)
    			total := map[string]string{
    				"objects": strconv.FormatUint(flat.Objects, 10),
    				"size":    strconv.FormatInt(flat.Size, 10),
    			}
    			if flat.Versions > 0 {
    				total["versions"] = strconv.FormatUint(flat.Versions, 10)
    			}
    			stop(total)
    		}
    
    	}
    	// Compact if too many children...
    	if !into.Compacted {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    			paths = append([]string{p.String()}, paths...)
    			var errStr string
    			if err != nil {
    				errStr = err.Error()
    			}
    			custom["total-errs-timeout"] = strconv.FormatUint(p.totalErrsTimeout.Load(), 10)
    			custom["total-errs-availability"] = strconv.FormatUint(p.totalErrsAvailability.Load(), 10)
    			globalTrace.Publish(storageTrace(s, startTime, duration, strings.Join(paths, " "), errStr, custom))
    		}
    	}
    }
    
    const (
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle.go

    	u, err := uuid.NewRandom()
    	if err != nil {
    		return "", err
    	}
    	us := u.String()
    	hash := xxh3.HashString(pathJoin(globalDeploymentID(), bucket))
    	obj := fmt.Sprintf("%s/%s/%s/%s", strconv.FormatUint(hash, 16), us[0:2], us[2:4], us)
    	return obj, nil
    }
    
    // transition object to target specified by the transition ARN. When an object is transitioned to another
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    				res["free-versions"] = strconv.Itoa(len(fivs.FreeVersions))
    			}
    
    			if sizeS.versions > 0 {
    				res["versions"] = strconv.FormatUint(sizeS.versions, 10)
    			}
    			res["size"] = strconv.FormatInt(sizeS.totalSize, 10)
    			for name, tier := range sizeS.tiers {
    				res["tier-size-"+name] = strconv.FormatUint(tier.TotalSize, 10)
    				res["tier-versions-"+name] = strconv.Itoa(tier.NumVersions)
    			}
    			if sizeS.failedCount > 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 82.4K bytes
    - Viewed (0)
  8. cmd/encryption-v1.go

    	size, err := sio.EncryptedSize(uint64(o.Size))
    	if err != nil {
    		// This cannot happen since AWS S3 allows parts to be 5GB at most
    		// sio max. size is 256 TB
    		reqInfo := (&logger.ReqInfo{}).AppendTags("size", strconv.FormatUint(size, 10))
    		ctx := logger.SetReqInfo(GlobalContext, reqInfo)
    		logger.CriticalIf(ctx, err)
    	}
    	return int64(size)
    }
    
    // DecryptObjectInfo tries to decrypt the provided object if it is encrypted.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    				PubKeyAlgo:    c.PublicKeyAlgorithm.String(),
    				SignatureAlgo: c.SignatureAlgorithm.String(),
    				NotBefore:     c.NotBefore,
    				NotAfter:      c.NotAfter,
    				Checksum:      strconv.FormatUint(check, 16),
    			})
    		}
    	}
    	return tlsInfo
    }
    
    // ServerInfoHandler - GET /minio/admin/v3/info
    // ----------
    // Get server information
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  10. cmd/healingmetric_string.go

    var _healingMetric_index = [...]uint8{0, 6, 12, 31}
    
    func (i healingMetric) String() string {
    	if i >= healingMetric(len(_healingMetric_index)-1) {
    		return "healingMetric(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _healingMetric_name[_healingMetric_index[i]:_healingMetric_index[i+1]]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Nov 28 18:20:55 GMT 2022
    - 789 bytes
    - Viewed (0)
Back to top