Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for FormatInt (0.38 sec)

  1. 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)
  2. utils/utils.go

    	switch v := value.(type) {
    	case string:
    		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:
    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)
  3. cmd/xl-storage-format-v2_string.go

    var _VersionType_index = [...]uint8{0, 18, 28, 38, 48, 63}
    
    func (i VersionType) String() string {
    	if i >= VersionType(len(_VersionType_index)-1) {
    		return "VersionType(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _VersionType_name[_VersionType_index[i]:_VersionType_index[i+1]]
    }
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Dec 02 19:29:16 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  4. internal/logger/target/types/targettype_string.go

    const _TargetType_name = "ConsoleHTTPKafka"
    
    var _TargetType_index = [...]uint8{0, 7, 11, 16}
    
    func (i TargetType) String() string {
    	i -= 1
    	if i >= TargetType(len(_TargetType_index)-1) {
    		return "TargetType(" + strconv.FormatInt(int64(i+1), 10) + ")"
    	}
    	return _TargetType_name[_TargetType_index[i]:_TargetType_index[i+1]]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Nov 10 18:20:21 GMT 2022
    - 703 bytes
    - Viewed (0)
  5. internal/grid/debugmsg_string.go

    var _debugMsg_index = [...]uint8{0, 13, 29, 46, 62, 86, 112, 130, 151}
    
    func (i debugMsg) String() string {
    	if i < 0 || i >= debugMsg(len(_debugMsg_index)-1) {
    		return "debugMsg(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _debugMsg_name[_debugMsg_index[i]:_debugMsg_index[i+1]]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 09 16:43:38 GMT 2024
    - 993 bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/action_string.go

    var _Action_index = [...]uint8{0, 10, 22, 41, 57, 80, 100, 127, 150, 161}
    
    func (i Action) String() string {
    	if i < 0 || i >= Action(len(_Action_index)-1) {
    		return "Action(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _Action_name[_Action_index[i]:_Action_index[i+1]]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jun 29 05:12:28 GMT 2023
    - 1018 bytes
    - Viewed (0)
  7. cmd/scannermetric_string.go

    func (i scannerMetric) String() string {
    	if i >= scannerMetric(len(_scannerMetric_index)-1) {
    		return "scannerMetric(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _scannerMetric_name[_scannerMetric_index[i]:_scannerMetric_index[i+1]]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. internal/disk/type_linux.go

    	"2fc12fc1": "zfs",
    	"ff534d42": "cifs",
    	"53464846": "wslfs",
    }
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(ftype int64) string {
    	fsTypeHex := strconv.FormatInt(ftype, 16)
    	fsTypeString, ok := fsType2StringMap[fsTypeHex]
    	if !ok {
    		return "UNKNOWN"
    	}
    	return fsTypeString
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.6K bytes
    - Viewed (3)
  9. internal/s3select/sql/value_test.go

    			},
    			want:   1,
    			wantOK: true,
    		},
    		{
    			name: "max",
    			fields: fields{
    				value: []byte(strconv.FormatInt(math.MaxInt64, 10)),
    			},
    			want:   math.MaxInt64,
    			wantOK: true,
    		},
    		{
    			name: "min",
    			fields: fields{
    				value: []byte(strconv.FormatInt(math.MinInt64, 10)),
    			},
    			want:   math.MinInt64,
    			wantOK: true,
    		},
    		{
    			name: "max-overflow",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  10. internal/logger/audit.go

    		entry.API.InputBytes = r.ContentLength
    		entry.API.OutputBytes = outputBytes
    		entry.API.HeaderBytes = headerBytes
    		entry.API.TimeToResponse = strconv.FormatInt(timeToResponse.Nanoseconds(), 10) + "ns"
    		entry.API.TimeToResponseInNS = strconv.FormatInt(timeToResponse.Nanoseconds(), 10)
    		// We hold the lock, so we cannot call reqInfo.GetTagsMap().
    		tags := make(map[string]interface{}, len(reqInfo.tags))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top