feature. See also
. The project being documented here (as the example) is the Zig library itself.
SafeAllocator.growingResizeBucket
fn growingResizeBucket(
s: *SafeAllocator,
f: *AllocFooter,
memory: []const u8,
alignment: Alignment,
new_len: usize,
ra: usize,
) bool
File
Code
fn growingResizeBucket(
s: *SafeAllocator,
f: *AllocFooter,
memory: []const u8,
alignment: Alignment,
new_len: usize,
ra: usize,
) bool {
assert(new_len >= memory.len);
return s.advanceBucketAlloc(f, Bucket.fillAt(s, memory.ptr), false, alignment, new_len, ra);
}