Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

min_class

Because of storing free list pointers, the minimum size class is 3.

BrkAllocator.min_class
const min_class = math.log2(math.ceilPowerOfTwoAssert(usize, 1 + @sizeOf(usize)))

File

lib/std/heap/BrkAllocator.zig:42

Code

const min_class = math.log2(math.ceilPowerOfTwoAssert(usize, 1 + @sizeOf(usize)))