Versions in this module Expand all Collapse all v0 v0.1.0 Jul 25, 2026 Changes in this version + const NoSpace + func MinAllocatorSize(neededObjectSize uint32) uint32 + type Allocation struct + Metadata uint32 + Offset uint32 + func (a Allocation) Failed() bool + type Allocator struct + func New(size, maxAllocs uint32) *Allocator + func (a *Allocator) Allocate(size uint32) Allocation + func (a *Allocator) AllocationSize(alloc Allocation) uint32 + func (a *Allocator) Free(alloc Allocation) + func (a *Allocator) Reset() + func (a *Allocator) StorageReport() StorageReport + type StorageReport struct + LargestFreeRegion uint32 + TotalFreeSpace uint32 + type SyncAllocator struct + func NewSync(size, maxAllocs uint32) *SyncAllocator + func (s *SyncAllocator) Allocate(size uint32) Allocation + func (s *SyncAllocator) AllocationSize(alloc Allocation) uint32 + func (s *SyncAllocator) Free(alloc Allocation) + func (s *SyncAllocator) Reset() + func (s *SyncAllocator) StorageReport() StorageReport