Skip to main content

Crate pow2_range_allocator

Crate pow2_range_allocator 

Source

Structs§

Pow2RangeAllocator
Pow2RangeAllocator is a small utility class which partitions a set of ranges of integers into sub-ranges which are power of 2 in length and power of 2 aligned and then manages allocating and freeing the subranges for clients. It is responsible for breaking larger sub-regions into smaller ones as needed for allocation, and for merging sub-regions into larger sub-regions as needed during free operations.
Pow2RangeAllocatorLockClass
Pow2RangeAllocatorLockFields
Pow2RangeAllocatorLockFieldsMut
Pow2RangeAllocatorLockGuard
Pow2RangeAllocatorLockTokenGuard
Pow2RangeAllocatorLockTokenGuardMut

Statics§

POW2RANGEALLOCATOR_LOCK_STRING_REG