- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 211 for fint64 (0.04 sec)
-
schema/serializer_test.go
}, { name: "uint16", value: uint16Value, want: time.Unix(int64(uint16Value), 0).UTC(), wantErr: false, }, { name: "uint32", value: uint32Value, want: time.Unix(int64(uint32Value), 0).UTC(), wantErr: false, }, { name: "uint64", value: uint64Value, want: time.Unix(int64(uint64Value), 0).UTC(), //nolint:gosec wantErr: false, }, {Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Oct 26 12:29:44 UTC 2025 - 4.8K bytes - Viewed (0) -
utils/utils.go
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:
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Oct 30 10:56:26 UTC 2025 - 4.5K bytes - Viewed (0) -
schema/serializer.go
switch fieldValue.(type) { case int, int8, int16, int32, int64: result = time.Unix(rv.Int(), 0).UTC() case uint, uint8, uint16, uint32, uint64: if uv := rv.Uint(); uv > math.MaxInt64 { err = fmt.Errorf("integer overflow conversion uint64(%d) -> int64", uv) } else { result = time.Unix(int64(uv), 0).UTC() //nolint:gosec } case *int, *int8, *int16, *int32, *int64: if rv.IsZero() { return nil, nil }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Oct 26 12:29:44 UTC 2025 - 5.1K bytes - Viewed (0) -
internal/disk/stat_windows.go
uintptr(unsafe.Pointer(&lpTotalNumberOfFreeBytes))) if uint64(lpTotalNumberOfFreeBytes) > uint64(lpTotalNumberOfBytes) { return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", uint64(lpTotalNumberOfFreeBytes), uint64(lpTotalNumberOfBytes), path) } info = Info{ Total: uint64(lpTotalNumberOfBytes), Free: uint64(lpTotalNumberOfFreeBytes),
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/data-usage-cache_test.go
tests := []struct { sizes []int64 want map[string]uint64 }{ { sizes: []int64{100, 1000, 72_000, 100_000}, want: map[string]uint64{ "LESS_THAN_1024_B": 2, "BETWEEN_64_KB_AND_256_KB": 2, "BETWEEN_1024B_AND_1_MB": 2, }, }, { sizes: []int64{100, 1000, 2000, 100_000, 13 * humanize.MiByte}, want: map[string]uint64{ "LESS_THAN_1024_B": 2,Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Jan 13 07:51:08 UTC 2024 - 2.6K bytes - Viewed (0) -
internal/hash/crc.go
break } } // return combined crc crc1n ^= uint64(crc2) return uint32(crc1n) } func crc64Combine(poly uint64, crc1, crc2 uint64, len2 int64) uint64 { // degenerate case (also disallow negative lengths) if len2 <= 0 { return crc1 } even := make([]uint64, 64) // even-power-of-two zeros operator odd := make([]uint64, 64) // odd-power-of-two zeros operator
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jan 20 14:49:07 UTC 2025 - 5.8K bytes - Viewed (0) -
internal/rest/rpc-stats.go
) var globalStats = struct { errs uint64 tcpDialErrs uint64 tcpDialCount uint64 tcpDialTotalDur uint64 tcpTimeForFirstByteTotalDur uint64 }{} // RPCStats holds information about the DHCP/TCP metrics and errors type RPCStats struct { Errs uint64 DialAvgDuration uint64 TTFBAvgDuration uint64 DialErrs uint64 }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 13 18:21:34 UTC 2024 - 2.6K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor.go
bucketMovingAvgTicker *time.Ticker // Ticker for calculating moving averages ctx context.Context // Context for generate NodeCount uint64 } // NewMonitor returns a monitor with defaults. func NewMonitor(ctx context.Context, numNodes uint64) *Monitor { m := &Monitor{ bucketsMeasurement: make(map[BucketOptions]*bucketMeasurement), bucketsThrottle: make(map[BucketOptions]*bucketThrottle),
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6K bytes - Viewed (0) -
cmd/last-minute.go
func (a AccElem) asTimedAction() madmin.TimedAction { return madmin.TimedAction{AccTime: uint64(a.Total), Count: uint64(a.N), Bytes: uint64(a.Size)} } // lastMinuteLatency keeps track of last minute latency. type lastMinuteLatency struct { Totals [60]AccElem LastSec int64 } // Merge data of two lastMinuteLatency structure
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
cmd/bucket-quota.go
if uint64(size) >= quotaSize { // check if file size already exceeds the quota return BucketQuotaExceeded{Bucket: bucket} } bui := sys.GetBucketUsageInfo(ctx, bucket) if bui.Size > 0 && ((bui.Size + uint64(size)) >= quotaSize) { return BucketQuotaExceeded{Bucket: bucket} } } return nil } func enforceBucketQuotaHard(ctx context.Context, bucket string, size int64) error {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.4K bytes - Viewed (0)