- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for FormatInt (0.1 sec)
-
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:
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/osmetric_string.go
var _osMetric_index = [...]uint8{0, 9, 17, 22, 28, 37, 46, 57, 68, 72, 88, 93, 99, 103, 109, 115, 125, 134, 138, 142} func (i osMetric) String() string { if i >= osMetric(len(_osMetric_index)-1) { return "osMetric(" + strconv.FormatInt(int64(i), 10) + ")" } return _osMetric_name[_osMetric_index[i]:_osMetric_index[i+1]]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 1.3K bytes - Viewed (0) -
cmd/batchjobmetric_string.go
var _batchJobMetric_index = [...]uint8{0, 11, 22, 28} func (i batchJobMetric) String() string { if i >= batchJobMetric(len(_batchJobMetric_index)-1) { return "batchJobMetric(" + strconv.FormatInt(int64(i), 10) + ")" } return _batchJobMetric_name[_batchJobMetric_index[i]:_batchJobMetric_index[i+1]]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 797 bytes - Viewed (0) -
cmd/storagemetric_string.go
func (i storageMetric) String() string { if i >= storageMetric(len(_storageMetric_index)-1) { return "storageMetric(" + strconv.FormatInt(int64(i), 10) + ")" } return _storageMetric_name[_storageMetric_index[i]:_storageMetric_index[i+1]]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/lceventsrc_string.go
var _lcEventSrc_index = [...]uint8{0, 4, 8, 15, 20, 25, 37, 48, 61, 72, 84, 109} func (i lcEventSrc) String() string { if i >= lcEventSrc(len(_lcEventSrc_index)-1) { return "lcEventSrc(" + strconv.FormatInt(int64(i), 10) + ")" } return _lcEventSrc_name[_lcEventSrc_index[i]:_lcEventSrc_index[i+1]]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 01 15:56:24 UTC 2023 - 1.1K bytes - Viewed (0) -
cmd/stserrorcode_string.go
func (i STSErrorCode) String() string { if i < 0 || i >= STSErrorCode(len(_STSErrorCode_index)-1) { return "STSErrorCode(" + strconv.FormatInt(int64(i), 10) + ")" } return _STSErrorCode_name[_STSErrorCode_index[i]:_STSErrorCode_index[i+1]]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 05 00:29:41 UTC 2025 - 1.5K bytes - Viewed (0) -
src/archive/tar/strconv.go
} return int64(x) } func (f *formatter) formatOctal(b []byte, x int64) { if !fitsInOctal(len(b), x) { x = 0 // Last resort, just write zero f.err = ErrFieldTooLong } s := strconv.FormatInt(x, 8) // Add leading zeros, but leave room for a NUL. if n := len(b) - len(s) - 1; n > 0 { s = strings.Repeat("0", n) + s } f.formatString(b, s) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0) -
cmd/bucket-policy.go
authtype = "REST-HEADER" case authTypePostPolicy: authtype = "POST" } args := map[string][]string{ "CurrentTime": {currTime.Format(time.RFC3339)}, "EpochTime": {strconv.FormatInt(currTime.Unix(), 10)}, "SecureTransport": {strconv.FormatBool(r.TLS != nil)}, "SourceIp": {handlers.GetSourceIPRaw(r)}, "UserAgent": {r.UserAgent()}, "Referer": {r.Referer()},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/signature-v4-utils.go
// But some clients deviate from this rule. Hence we consider Content-Length for signature // calculation to be compatible with such clients. extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10)) default: return nil, ErrUnsignedHeaders } } return extractedSignedHeaders, ErrNone }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 25 17:10:22 UTC 2024 - 9.1K bytes - Viewed (0) -
cmd/api-headers.go
} // For providing ranged content start, rangeLen, err = rs.GetOffsetLength(totalObjectSize) if err != nil { return err } // Set content length. w.Header().Set(xhttp.ContentLength, strconv.FormatInt(rangeLen, 10)) if rs != nil { contentRange := fmt.Sprintf("bytes %d-%d/%d", start, start+rangeLen-1, totalObjectSize) w.Header().Set(xhttp.ContentRange, contentRange) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.6K bytes - Viewed (0)