- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 361 for Uint64 (0.04 sec)
-
cmd/streaming-signature-v4.go
func parseChunkSignature(chunk []byte) []byte { chunkSplits := bytes.SplitN(chunk, []byte(s3ChunkSignatureStr), 2) return chunkSplits[1] } // parse hex to uint64. func parseHexUint(v []byte) (n uint64, err error) { for i, b := range v { switch { case '0' <= b && b <= '9': b -= '0' case 'a' <= b && b <= 'f': b = b - 'a' + 10 case 'A' <= b && b <= 'F':
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 18.2K bytes - Viewed (0) -
cmd/erasure-server-pool.go
type poolAvailableSpace struct { Index int Available uint64 // in bytes MaxUsedPct int // Used disk percentage of most filled disk, rounded down. } // TotalAvailable - total available space func (p serverPoolsAvailableSpace) TotalAvailable() uint64 { total := uint64(0) for _, z := range p { total += z.Available } return total }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.1K bytes - Viewed (0) -
cmd/metrics-v3-system-drive.go
) // label constants const ( driveL = "drive" poolIndexL = "pool_index" setIndexL = "set_index" driveIndexL = "drive_index" apiL = "api" sectorSize = uint64(512) kib = float64(1 << 10) driveHealthOffline = float64(0) driveHealthOnline = float64(1) driveHealthHealing = float64(2) ) var allDriveLabels = []string{driveL, poolIndexL, setIndexL, driveIndexL}
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 7.8K bytes - Viewed (0) -
cmd/metrics-v2_gen.go
return } if z.Histogram == nil { z.Histogram = make(map[string]uint64, zb0004) } else if len(z.Histogram) > 0 { for key := range z.Histogram { delete(z.Histogram, key) } } for zb0004 > 0 { var za0005 string var za0006 uint64 zb0004-- za0005, bts, err = msgp.ReadStringBytes(bts) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 23 20:56:18 UTC 2025 - 19.2K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
if m == nil { C.mpz_pow_ui(&z.i[0], &x.i[0], C.mpz_get_ui(&y.i[0])) } else { C.mpz_powm(&z.i[0], &x.i[0], &y.i[0], &m.i[0]) } return z } func (z *Int) Int64() int64 { if !z.init { return 0 } return int64(C.mpz_get_si(&z.i[0])) } // Neg sets z = -x and returns z. func (z *Int) Neg(x *Int) *Int { x.doinit() z.doinit() C.mpz_neg(&z.i[0], &x.i[0]) return z }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0) -
cmd/metrics-resource.go
// helps in calculating the current value by comparing the new // cumulative value with previous one Cumulative float64 Max float64 Avg float64 Sum float64 Count uint64 } func init() { interval := fmt.Sprintf("%ds", int(resourceMetricsCollectionInterval.Seconds())) resourceMetricsHelpMap = map[MetricName]string{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 17.2K bytes - Viewed (0) -
cmd/erasure-sets.go
return -1 } // use the faster version as per siphash docs // https://github.com/dchest/siphash#usage k0, k1 := binary.LittleEndian.Uint64(id[0:8]), binary.LittleEndian.Uint64(id[8:16]) sum64 := siphash.Hash(k0, k1, []byte(key)) return int(sum64 % uint64(cardinality)) } func crcHashMod(key string, cardinality int) int { if cardinality <= 0 { return -1 }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37K bytes - Viewed (1) -
api/go1.25.txt
pkg runtime/trace, method (*FlightRecorder) Stop() #63185 pkg runtime/trace, method (*FlightRecorder) WriteTo(io.Writer) (int64, error) #63185 pkg runtime/trace, type FlightRecorder struct #63185 pkg runtime/trace, type FlightRecorderConfig struct #63185 pkg runtime/trace, type FlightRecorderConfig struct, MaxBytes uint64 #63185 pkg runtime/trace, type FlightRecorderConfig struct, MinAge time.Duration #63185
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jun 02 16:09:57 UTC 2025 - 6.8K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
} func getMajorMinor(path string) (string, error) { var stat syscall.Stat_t if err := syscall.Stat(path, &stat); err != nil { return "", fmt.Errorf("unable to stat `%s`: %w", path, err) } devID := uint64(stat.Dev) major := (devID & 0x00000000000fff00) >> 8 major |= (devID & 0xfffff00000000000) >> 32 minor := (devID & 0x00000000000000ff) >> 0 minor |= (devID & 0x00000ffffff00000) >> 12
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
cmd/xl-storage.go
return dataUsageInfo, nil } func (s *xlStorage) getDeleteAttribute() uint64 { attr := "user.total_deletes" buf, err := xattr.LGet(s.formatFile, attr) if err != nil { // We start off with '0' if we can read the attributes return 0 } return binary.LittleEndian.Uint64(buf[:8]) } func (s *xlStorage) getWriteAttribute() uint64 { attr := "user.total_writes" buf, err := xattr.LGet(s.formatFile, attr)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K bytes - Viewed (0)