Versions in this module Expand all Collapse all v0 v0.3.2 Jul 18, 2026 v0.3.1 Jul 18, 2026 Changes in this version + func UintptrUsableSize(p uintptr) (r int) + func UnsafeUsableSize(p unsafe.Pointer) (r int) + func UsableSize(p *byte) (r int) + type Allocator struct + Allocs int + Bytes int + Mmaps int + func (a *Allocator) Calloc(size int) (r []byte, err error) + func (a *Allocator) Close() (err error) + func (a *Allocator) Free(b []byte) (err error) + func (a *Allocator) Malloc(size int) (r []byte, err error) + func (a *Allocator) Realloc(b []byte, size int) (r []byte, err error) + func (a *Allocator) UintptrCalloc(size int) (r uintptr, err error) + func (a *Allocator) UintptrFree(p uintptr) (err error) + func (a *Allocator) UintptrMalloc(size int) (r uintptr, err error) + func (a *Allocator) UintptrRealloc(p uintptr, size int) (r uintptr, err error) + func (a *Allocator) UnsafeCalloc(size int) (r unsafe.Pointer, err error) + func (a *Allocator) UnsafeFree(p unsafe.Pointer) (err error) + func (a *Allocator) UnsafeMalloc(size int) (r unsafe.Pointer, err error) + func (a *Allocator) UnsafeRealloc(p unsafe.Pointer, size int) (r unsafe.Pointer, err error)