Documentation ¶
Index ¶
Constants ¶
View Source
const ( // B byte B uint64 = 1 // K kilobyte K uint64 = 1 << (10 * iota) // M megabyte M // G gigabyte G // T TeraByte T // P PetaByte P // E ExaByte E )
Variables ¶
This section is empty.
Functions ¶
func ParseLogNum ¶
ParseLogNum : Parse uint64 from string
func ParseLogSizeMb ¶
ParseLogSizeMb : Translate x(B),xKB,xMB... to uint64 x(MB)
func UniqueInts ¶
UniqueInts Return unique element list of list a
func UpperBound ¶
UpperBound Return the upperbound index for in
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.