module voxel.svo.buddy
A simple buddy allocator, only does tracking of which blocks are free
Code Map
//! A simple buddy allocator, only does tracking of which blocks are free
module voxel.svo.buddy;
fn isPowerOfTwo(n: size_t) bool { }
fn nextHighestPowerOfTwo(n: size_t) size_t { }
fn sizeToOrder(n: size_t) u8 { }
fn orderToSize(order: u8) size_t { }
fn countTrailingZeros(bits: u8, isZeroUndef: bool) u8;
fn countTrailingZeros(bits: u16, isZeroUndef: bool) u16;
fn countTrailingZeros(bits: u32, isZeroUndef: bool) u32;
fn countTrailingZeros(bits: u64, isZeroUndef: bool) u64;