Versions in this module Expand all Collapse all v0 v0.0.1 Mar 17, 2024 Changes in this version + func ClearBit(n *uint64, offset uint) + func ClearBits(n *uint64, mask uint64) + func ClockTicksToNsSinceBootTime(ticks int64) uint64 + func CopyRegularFileByPath(src, dst string) error + func CopyRegularFileByRelativePath(srcName string, dstDir *os.File, dstName string) error + func CreateAt(dir *os.File, relativePath string) (*os.File, error) + func Dup(file *os.File) (*os.File, error) + func GenerateRandomDuration(min, max int) time.Duration + func GetBootTime() time.Time + func GetBootTimeNS() int64 + func GetStartTimeNS() int64 + func GetSystemHZ() int + func GetUserHZ() int64 + func HasBit(n uint64, offset uint) bool + func HashTaskID(arg1 uint32, arg2 uint64) uint32 + func HashU32AndU64(arg1 uint32, arg2 uint64) uint32 + func IsDirEmpty(pathname string) (bool, error) + func Max(x, y uint64) uint64 + func Min(x, y uint64) uint64 + func MkdirAt(dir *os.File, relativePath string, perm fs.FileMode) error + func MkdirAtExist(dir *os.File, relativePath string, perm fs.FileMode) error + func Murmur32(key []byte) uint32 + func NsSinceBootTimeToTime(ns uint64) time.Time + func OpenAt(dir *os.File, relativePath string, flags int, perm fs.FileMode) (*os.File, error) + func OpenExistingDir(p string) (*os.File, error) + func ParseSymbol(address uint64, table *helpers.KernelSymbolTable) helpers.KernelSymbol + func RemoveAt(dir *os.File, relativePath string, flags int) error + func RenameAt(olddir *os.File, oldpath string, newdir *os.File, newpath string) error + func RoundToClosestN(val int, n int) int + func SetBit(n *uint64, offset uint) + type Cloner interface + Clone func() Cloner