- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 511 for int64 (0.02 sec)
-
internal/disk/stat_freebsd.go
s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err } reservedBlocks := s.Bfree - uint64(s.Bavail) info = Info{ Total: uint64(s.Bsize) * (s.Blocks - reservedBlocks), Free: uint64(s.Bsize) * uint64(s.Bavail), Files: s.Files, Ffree: uint64(s.Ffree), FSType: getFSType(s.Fstypename[:]), } if info.Free > info.Total {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/disk/stat_openbsd.go
err = syscall.Statfs(path, &s) if err != nil { return Info{}, err } reservedBlocks := uint64(s.F_bfree) - uint64(s.F_bavail) info = Info{ Total: uint64(s.F_bsize) * (uint64(s.F_blocks) - reservedBlocks), Free: uint64(s.F_bsize) * uint64(s.F_bavail), Files: uint64(s.F_files), Ffree: uint64(s.F_ffree), FSType: getFSType(s.F_fstypename[:]), } if info.Free > info.Total {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/notification-summary.go
func GetTotalCapacity(diskInfo []madmin.Disk) (capacity uint64) { for _, disk := range diskInfo { capacity += disk.TotalSpace } return } // GetTotalUsableCapacity gets the total usable capacity in the cluster. func GetTotalUsableCapacity(diskInfo []madmin.Disk, s StorageInfo) (capacity uint64) { for _, disk := range diskInfo { // Ignore invalid.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/data-usage.go
var prefixUsageCache = cachevalue.New[map[string]uint64]() // loadPrefixUsageFromBackend returns prefix usages found in passed buckets // // e.g.: /testbucket/prefix => 355601334 func loadPrefixUsageFromBackend(ctx context.Context, objAPI ObjectLayer, bucket string) (map[string]uint64, error) { z, ok := objAPI.(*erasureServerPools) if !ok { // Prefix usage is empty return map[string]uint64{}, nil } cache := dataUsageCache{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 5.6K bytes - Viewed (0) -
cmd/metrics-v3-cluster-usage.go
return nil } var ( clusterSize uint64 clusterBuckets uint64 clusterObjectsCount uint64 clusterVersionsCount uint64 clusterDeleteMarkersCount uint64 ) clusterObjectSizesHistogram := map[string]uint64{} clusterVersionsHistogram := map[string]uint64{} for _, usage := range dataUsageInfo.BucketsUsage { clusterBuckets++
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 14 18:11:42 UTC 2024 - 6.5K bytes - Viewed (0) -
internal/pubsub/pubsub.go
combined.Merge(Mask(mask.Mask())) atomic.StoreUint64(&ps.types, uint64(combined)) go func() { <-doneCh ps.Lock() defer ps.Unlock() var remainTypes Mask for i, s := range ps.subs { if s == sub { ps.subs = append(ps.subs[:i], ps.subs[i+1:]...) } else { remainTypes.Merge(s.types) } } atomic.StoreUint64(&ps.types, uint64(remainTypes)) atomic.AddInt32(&ps.numSubscribers, -1) }()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 16:57:30 UTC 2024 - 5.2K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops.go
LastUpdate time.Time ObjectsTotalCount uint64 ObjectsTotalSize uint64 ItemsHealed uint64 ItemsFailed uint64 BytesDone uint64 BytesFailed uint64 // Last object scanned. Bucket string `json:"-"` Object string `json:"-"` // Numbers when current bucket started healing, // for resuming with correct numbers. ResumeItemsHealed uint64 `json:"-"` ResumeItemsFailed uint64 `json:"-"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 16.6K bytes - Viewed (0) -
internal/disk/stat_linux_s390x.go
s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err } reservedBlocks := s.Bfree - s.Bavail info = Info{ Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks), Free: uint64(s.Frsize) * s.Bavail, Files: s.Files, Ffree: s.Ffree, FSType: getFSType(s.Type), } // Check for overflows. // https://github.com/minio/minio/issues/8035
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 2.6K bytes - Viewed (0) -
cni/pkg/nodeagent/netns.go
package nodeagent import "io" type NetnsFd interface { Fd() uintptr } type Netns interface { NetnsFd Inode() uint64 } type NetnsCloser interface { io.Closer Netns } type NetnsWithFd struct { netns io.Closer fd uintptr inode uint64 } func (n *NetnsWithFd) Close() error { if n.netns == nil { return nil } ret := n.netns.Close()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/debugging/xattr/main.go
var ( path, name string value uint64 set, list bool ) func getxattr(path, name string) (uint64, error) { buf, err := xattr.LGet(path, name) if err != nil { return 0, err } return binary.LittleEndian.Uint64(buf[:8]), nil } func listxattr(path string) ([]string, error) { return xattr.LList(path) } func setxattr(path, name string, value uint64) error { data := make([]byte, 8)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 29 23:52:41 UTC 2023 - 3.2K bytes - Viewed (0)