MCPcopy Create free account
hub / github.com/argumentcomputer/ix / is_empty

Method is_empty

crates/aiur/src/querymap.rs:71–73  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

69 assert!(cap > 0, "HugeVec capacity must be positive");
70 let bytes = cap * size_of::<T>();
71 let ptr = unsafe {
72 let p = libc::mmap(
73 std::ptr::null_mut(),
74 bytes,
75 libc::PROT_READ | libc::PROT_WRITE,
76 libc::MAP_PRIVATE | libc::MAP_ANONYMOUS,

Callers 2

executeMethod · 0.45
insertMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected