Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 222 for uint64_t (0.19 sec)

  1. 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. internal/rest/rpc-stats.go

    	"net/http/httptrace"
    	"sync/atomic"
    	"time"
    )
    
    var globalStats = struct {
    	errs uint64
    
    	tcpDialErrs     uint64
    	tcpDialCount    uint64
    	tcpDialTotalDur uint64
    }{}
    
    // RPCStats holds information about the DHCP/TCP metrics and errors
    type RPCStats struct {
    	Errs uint64
    
    	DialAvgDuration uint64
    	DialErrs        uint64
    }
    
    // GetRPCStats returns RPC stats, include calls errors and dhcp/tcp metrics
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 16:27:58 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  3. internal/disk/disk.go

    	WriteMerges    uint64
    	WriteSectors   uint64
    	WriteTicks     uint64
    	CurrentIOs     uint64
    	TotalTicks     uint64
    	ReqTicks       uint64
    	DiscardIOs     uint64
    	DiscardMerges  uint64
    	DiscardSectors uint64
    	DiscardTicks   uint64
    	FlushIOs       uint64
    	FlushTicks     uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. cmd/endpoint-ellipses_test.go

    			[]uint64{64},
    			[][]uint64{{16, 16, 16, 16}},
    			true,
    		},
    		{
    			[]string{"data{1...24}"},
    			[]uint64{24},
    			[][]uint64{{12, 12}},
    			true,
    		},
    		{
    			[]string{"data/controller{1...11}/export{1...8}"},
    			[]uint64{88},
    			[][]uint64{{11, 11, 11, 11, 11, 11, 11, 11}},
    			true,
    		},
    		{
    			[]string{"data{1...4}"},
    			[]uint64{4},
    			[][]uint64{{4}},
    			true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 15.2K bytes
    - Viewed (0)
  5. internal/disk/stat_solaris.go

    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks),
    		Free:   uint64(s.Frsize) * uint64(s.Bavail),
    		Files:  uint64(s.Files),
    		Ffree:  uint64(s.Ffree),
    		FSType: getFSType(s.Fstr[:]),
    	}
    	if info.Free > info.Total {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. internal/pubsub/mask.go

    func (t *Mask) SetIf(b bool, other Mask) {
    	if b {
    		*t |= other
    	}
    }
    
    // Mask returns the mask as a uint64.
    func (t Mask) Mask() uint64 {
    	return uint64(t)
    }
    
    // Maskable implementations must return their mask as a 64 bit uint.
    type Maskable interface {
    	Mask() uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  7. 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)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. 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),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. cmd/data-usage-utils.go

    	ReplicationPendingSize  uint64 `json:"objectsPendingReplicationTotalSize"`
    	ReplicationFailedSize   uint64 `json:"objectsFailedReplicationTotalSize"`
    	ReplicatedSize          uint64 `json:"objectsReplicatedTotalSize"`
    	ReplicaSize             uint64 `json:"objectReplicaTotalSize"`
    	ReplicationPendingCount uint64 `json:"objectsPendingReplicationCount"`
    	ReplicationFailedCount  uint64 `json:"objectsFailedReplicationCount"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    //msgp:tuple replicationStatsV1
    type replicationStatsV1 struct {
    	PendingSize          uint64
    	ReplicatedSize       uint64
    	FailedSize           uint64
    	ReplicaSize          uint64
    	FailedCount          uint64
    	PendingCount         uint64
    	MissedThresholdSize  uint64
    	AfterThresholdSize   uint64
    	MissedThresholdCount uint64
    	AfterThresholdCount  uint64
    }
    
    func (rsv1 replicationStatsV1) Empty() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
Back to top