Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator[T1 any] struct { // contains filtered or unexported fields }
func (*Iterator[T1]) IsConsecutive ¶
type Table ¶
type Table[T1 any] interface { Get(id uint64) (Entry[T1], error) Claim(id uint64, d T1) error ClaimDynamic(d T1) (Entry[T1], error) ClaimRange(start, size uint64, d T1) error ClaimSize(size uint64, d T1) (Entries[T1], error) Release(id uint64) error Update(id uint64, d T1) error Iterate() *Iterator[T1] IterateFree() *Iterator[T1] Size() int Has(id uint64) bool IsFree(id uint64) bool FindFree() (uint64, error) FindFreeRange(min, size uint64) ([]uint64, error) FindFreeSize(size uint64) ([]uint64, error) GetAll() Entries[T1] }
Click to show internal directories.
Click to hide internal directories.