- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for FormatUint (1.77 sec)
-
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 }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jan 31 18:56:45 GMT 2024 - 9K bytes - Viewed (0) -
cmd/object-handlers.go
start, rangeLen, err := rs.GetOffsetLength(ci.Size) if err != nil { start, rangeLen = 0, ci.Size } // 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, ci.Size) w.Header().Set(xhttp.ContentRange, contentRange) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 20:15:54 GMT 2024 - 125.2K bytes - Viewed (0) -
internal/s3select/sql/value.go
switch x := v.value.(type) { case nil, Missing: return "" case bool: if x { return "true" } return "false" case string: return x case int64: return strconv.FormatInt(x, 10) case float64: return strconv.FormatFloat(x, 'g', -1, 64) case time.Time: return FormatSQLTimestamp(x) case []byte: return string(x) case []Value: b, _ := json.Marshal(x)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Feb 25 20:31:19 GMT 2022 - 20.2K bytes - Viewed (0) -
cmd/api-errors.go
} case InvalidRange: apiErr = APIError{ Code: "InvalidRange", Description: e.Error(), HTTPStatusCode: errorCodes[ErrInvalidRange].HTTPStatusCode, ObjectSize: strconv.FormatInt(e.ResourceSize, 10), RangeRequested: fmt.Sprintf("%d-%d", e.OffsetBegin, e.OffsetEnd), } case InvalidArgument: apiErr = APIError{ Code: "InvalidArgument",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 91.4K bytes - Viewed (7) -
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 May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 11:18:58 GMT 2024 - 47.6K bytes - Viewed (0) -
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 May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 06 16:56:10 GMT 2023 - 12.5K 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]]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Dec 02 10:51:33 GMT 2023 - 797 bytes - Viewed (0) -
cmd/rebalstatus_string.go
var _rebalStatus_index = [...]uint8{0, 4, 11, 20, 27, 33} func (i rebalStatus) String() string { if i >= rebalStatus(len(_rebalStatus_index)-1) { return "rebalStatus(" + strconv.FormatInt(int64(i), 10) + ")" } return _rebalStatus_name[_rebalStatus_index[i]:_rebalStatus_index[i+1]]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Oct 25 19:36:57 GMT 2022 - 795 bytes - Viewed (0) -
cmd/authtype_string.go
var _authType_index = [...]uint8{0, 7, 16, 25, 36, 46, 61, 67, 75, 78, 81, 103, 127} func (i authType) String() string { if i < 0 || i >= authType(len(_authType_index)-1) { return "authType(" + strconv.FormatInt(int64(i), 10) + ")" } return _authType_name[_authType_index[i]:_authType_index[i+1]]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 06 02:53:12 GMT 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]]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Aug 03 20:24:25 GMT 2023 - 1.4K bytes - Viewed (0)