MCPcopy Create free account
hub / github.com/Andy-Python-Programmer/aero / new_in

Method new_in

src/aero_kernel/src/utils/bitmap.rs:48–54  ·  view source on GitHub ↗

Constructs a new bitmap with `size` bits and uses `alloc` as the allocator. ## Example ```rust use alloc::alloc::Global; let mut bitmap = Bitmap::new_in(Global, 4096); ```

(alloc: A, size: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

calculate_blocksFunction · 0.85

Tested by

no test coverage detected