Versions in this module Expand all Collapse all v1 v1.2.4 Dec 9, 2020 Changes in this version + const MAXUINT64 + func CanonicalPathsEqual(filePath1, filePath2 string) (isEqual bool, err error) + func CollectGarbage() + func CopyFile(fromFile, toFile string) error + func CopyFromFileName2Writer(fromFileName string, toFile *os.File) error + func CreatePrefixedZip(pathToZipUp, zipFilePath, prefixToReplace, newPrefix string) error + func GlobalUniqueIntFactory() + func MaxFloat64(a, b float64) float64 + func MaxUint32(a, b uint32) uint32 + func MaxUint64(a, b uint64) uint64 + func MeasurerFactory(verbosity uint32) + func MinFloat64(a, b float64) float64 + func MinInt(a, b int) int + func MinUint32(a, b uint32) uint32 + func NotImplementedYet(what string) + func RandomSlug(byteLen uint) string + func RoundInt(f float64) int + func RoundIntDiv(a, b float64) int + func RoundToEven(f float64) int + func RoundUpInt(f float64) int + type Measurer struct + DeltaTime map[string]time.Time + MaxTotalMemory uint64 + TotalTime map[string]int64 + Track bool + var Measure *Measurer + func (m *Measurer) CheckAmountMemoryUsed() + func (m *Measurer) GetAmountMemoryUsed() float32 + func (m *Measurer) GetInterimTime(codeName string) float64 + func (m *Measurer) LogSummary() + func (m *Measurer) Start(codeName string) *Measurer + func (m *Measurer) Stop(codeName string) (delta float64) + type ResDivide struct + func ResDivideFactory(numResources, numObjects uint64) *ResDivide + func (r *ResDivide) NextAmount() (nextAmount uint64) + type UniqueInt struct + var GlobalUniqueInt *UniqueInt + func (u *UniqueInt) DonateRange(rangeSize uint64) (newU *UniqueInt) + func (u *UniqueInt) NextInt() uint64