MCPcopy Create free account
hub / github.com/abgros/stalloc / is_empty

Method is_empty

src/syncstalloc.rs:76–78  ·  view source on GitHub ↗

Checks if the allocator is empty. If this is true, then you are guaranteed to be able to allocate a layout with a size of `B * L` bytes and an alignment of `B` bytes. If this is false, then this is guaranteed to be impossible. This runs in O(1).

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

acquire_lockedMethod · 0.80

Tested by

no test coverage detected