util

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2022 License: MIT Imports: 1 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Debug uint64 = 0

Functions

func CloneByteSlice

func CloneByteSlice(s []byte) []byte

func DPrintf

func DPrintf(level uint64, format string, a ...interface{})

func Min

func Min(n uint64, m uint64) uint64

func RoundUp

func RoundUp(n uint64, sz uint64) uint64

func SumOverflows

func SumOverflows(n uint64, m uint64) bool

returns n+m>=2^64 (if it were computed at infinite precision)

func SumOverflows32

func SumOverflows32(n uint32, m uint32) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL