- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for FormatInt (0.1 sec)
-
internal/s3select/message.go
payload := []byte(`<?xml version="1.0" encoding="UTF-8"?><Progress><BytesScanned>` + strconv.FormatInt(bytesScanned, 10) + `</BytesScanned><BytesProcessed>` + strconv.FormatInt(bytesProcessed, 10) + `</BytesProcessed><BytesReturned>` + strconv.FormatInt(bytesReturned, 10) + `</BytesReturned></Stats>`) return genMessage(progressHeader, payload) } // Refer genStatsHeader().
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 30 15:26:43 UTC 2022 - 15.2K 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",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
cmd/apierrorcode_string.go
func (i APIErrorCode) String() string { if i < 0 || i >= APIErrorCode(len(_APIErrorCode_index)-1) { return "APIErrorCode(" + strconv.FormatInt(int64(i), 10) + ")" } return _APIErrorCode_name[_APIErrorCode_index[i]:_APIErrorCode_index[i+1]]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 21.4K bytes - Viewed (0) -
src/archive/tar/writer.go
paxHdrs[paxGNUSparseMajor] = "1" paxHdrs[paxGNUSparseMinor] = "0" paxHdrs[paxGNUSparseName] = realName paxHdrs[paxGNUSparseRealSize] = strconv.FormatInt(realSize, 10) paxHdrs[paxSize] = strconv.FormatInt(hdr.Size, 10) delete(paxHdrs, paxPath) // Recorded by paxGNUSparseName } */ _ = realSize // Write PAX records to the output.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 14:22:59 UTC 2024 - 19.6K bytes - Viewed (0) -
cmd/data-scanner.go
f.newCache.deleteRecursive(thisHash) 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 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 21:10:34 UTC 2024 - 48.4K bytes - Viewed (0) -
src/archive/tar/common.go
if paxKey == paxNone { whyNoPAX = fmt.Sprintf("PAX cannot encode %s=%d", name, n) format.mustNotBe(FormatPAX) } else { paxHdrs[paxKey] = strconv.FormatInt(n, 10) } } if v, ok := h.PAXRecords[paxKey]; ok && v == strconv.FormatInt(n, 10) { paxHdrs[paxKey] = v } } verifyTime := func(ts time.Time, size int, name, paxKey string) { if ts.IsZero() { return // Always okay }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
cmd/signature-v4.go
// Verify signature. if !compareSignatureV4(req.Form.Get(xhttp.AmzSignature), newSignature) { return ErrSignatureDoesNotMatch } r.Header.Set("x-amz-signature-age", strconv.FormatInt(UTCNow().Sub(pSignValues.Date).Milliseconds(), 10)) return ErrNone } // doesSignatureMatch - Verify authorization header with calculated header in accordance with
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
internal/config/notify/legacy.go
}, config.KV{ Key: target.NATSTLSSkipVerify, Value: config.FormatBool(cfg.Secure), }, config.KV{ Key: target.NATSPingInterval, Value: strconv.FormatInt(cfg.PingInterval, 10), }, config.KV{ Key: target.NATSQueueDir, Value: cfg.QueueDir, }, config.KV{ Key: target.NATSQueueLimit, Value: strconv.Itoa(int(cfg.QueueLimit)), },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 19 04:37:54 UTC 2024 - 13.1K bytes - Viewed (0) -
internal/rest/client.go
req.GetBody = func() (io.ReadCloser, error) { return http.NoBody, nil } } } if c.auth != nil { req.Header.Set("Authorization", "Bearer "+c.auth()) } req.Header.Set("X-Minio-Time", strconv.FormatInt(time.Now().UnixNano(), 10)) if tc, ok := ctx.Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok { req.Header.Set(xhttp.AmzRequestID, tc.AmzReqID) } return req, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 12:55:01 UTC 2024 - 14.7K 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)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 20.2K bytes - Viewed (0)