Documentation
¶
Index ¶
- func BootSleep()
- func Bytes2Lines(data []byte) []string
- func CheckNumberPowerOfTwo(n int) int
- func DebugSleepM(microsec int)
- func DebugSleepS(sec int)
- func DirExists(dir string) bool
- func DotStuffingByte(input []byte) []byte
- func Fallocate(file *os.File, offset int64, length int64) error
- func FileExists(File_path string) bool
- func GetSoftLinkTarget(link string) string
- func HardLink(src string, dst string) bool
- func Hash256(astr string) string
- func IsDigit(s string) bool
- func IsSpace(b byte) bool
- func Line_isPrintable(line string) bool
- func Lines2Bytes(lines []string) []byte
- func MMAP_CLOSE(file_path string, file_handle *os.File, mmap_handle mmap.MMap, mode string) (bool, error)
- func MMAP_FILE(file_path string, mode string) (*os.File, mmap.MMap, error)
- func Mkdir(dir string) bool
- func Nano() int64
- func Now() int64
- func RandomCharsHex(size int) string
- func SleepM(microsec int)
- func SleepMS(millisec int)
- func SleepS(sec int)
- func SoftLink(src string, dst string) bool
- func Str2int(str string) int
- func Str2int64(str string) int64
- func Str2uint64(str string) uint64
- func UndoDotStuffingByte(input []byte) []byte
- func UndoDotStuffingLines(lines *[]string) *[]string
- func UnixTimeMicroSec() int64
- func UnixTimeMilliSec() int64
- func UnixTimeNanoSec() int64
- func UnixTimeSec() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes2Lines ¶
func CheckNumberPowerOfTwo ¶
func DebugSleepM ¶
func DebugSleepM(microsec int)
func DebugSleepS ¶
func DebugSleepS(sec int)
func DotStuffingByte ¶
Function to escape dot-stuffing in a []byte
func FileExists ¶
func GetSoftLinkTarget ¶
func Line_isPrintable ¶
func Lines2Bytes ¶
func MMAP_CLOSE ¶
func RandomCharsHex ¶
func Str2uint64 ¶
func UndoDotStuffingByte ¶
Function to undo dot-stuffing in a []byte
func UndoDotStuffingLines ¶
func UnixTimeMicroSec ¶
func UnixTimeMicroSec() int64
func UnixTimeMilliSec ¶
func UnixTimeMilliSec() int64
func UnixTimeNanoSec ¶
func UnixTimeNanoSec() int64
func UnixTimeSec ¶
func UnixTimeSec() int64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.