Versions in this module Expand all Collapse all v1 v1.0.4 Oct 29, 2021 v1.0.3 Dec 1, 2020 v1.0.2 Jan 6, 2020 v1.0.1 Feb 16, 2017 v1.0.0 Jan 5, 2017 Changes in this version + const Ln4 + const MaxInt + const MaxUint + const MinInt + const MinUint + func DeBruijn(k, n byte) (s []byte) + func Hash(h hash.Hash, f *os.File) (sum []byte, err error) + func Log4(x float64) float64 + func Max(a ...int) (max int) + func Min(a ...int) (min int) + func Pow(base int, exp byte) (r int) + func Pow4(n int) uint + func UMax(a ...uint) (max uint) + func UMin(a ...uint) (min uint) + type Caller struct + File string + Function string + Line int + Package string + func GetCaller(skip int) *Caller + type Debug bool + func (d Debug) Printf(format string, args ...interface{}) + func (d Debug) Println(args ...interface{}) + type Timer struct + func NewTimer() (t *Timer) + func (t *Timer) Interval() (l time.Duration) + func (t *Timer) Reset() + func (t *Timer) Start() + func (t *Timer) Stop() time.Duration + func (t *Timer) Time() time.Duration + type Wrapper struct + func NewWrapper(w io.Writer, width, limit int) *Wrapper + func (w *Wrapper) Write(p []byte) (n int, err error)