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.

bucketSize

SafeAllocator.bucketSize
fn bucketSize(s: *SafeAllocator) u32

File

lib/std/heap/SafeAllocator.zig:87

Code

fn bucketSize(s: *SafeAllocator) u32 {
    return @as(u32, 1) << s.bucket_size_log2;
}