- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for ObjectsHistogramIntervals (0.09 seconds)
-
cmd/object-api-datatypes.go
{"GREATER_THAN_512_MB", humanize.MiByte * 512, math.MaxInt64}, } // ObjectsHistogramIntervals is the list of all intervals // of object sizes to be included in objects histogram. // Note: this histogram expands 1024B-1MB to incl. 1024B-64KB, 64KB-256KB, 256KB-512KB and 512KB-1MiB var ObjectsHistogramIntervals = [dataUsageBucketLen]objectHistogramInterval{ {"LESS_THAN_1024_B", 0, humanize.KiByte - 1},Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21.2K bytes - Click Count (0) -
cmd/data-usage-cache.go
return root } // add a size to the histogram. func (h *sizeHistogram) add(size int64) { // Fetch the histogram interval corresponding // to the passed object size. for i, interval := range ObjectsHistogramIntervals[:] { if size >= interval.start && size <= interval.end { h[i]++ break } } } // mergeV1 is used to migrate data usage cache from sizeHistogramV1 to // sizeHistogram
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0)