MCPcopy Create free account
hub / github.com/cosdata/cosdata / is_empty

Method is_empty

src/models/atomic_array.rs:87–89  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

85 }
86
87 pub fn is_empty(&self) -> bool {
88 self.items[0].load(Ordering::SeqCst).is_null()
89 }
90
91 pub fn insert(&self, idx: usize, value: *mut T) {
92 self.items[idx].store(value, Ordering::SeqCst);

Callers 15

search_recursiveMethod · 0.45
parse_cos_graph_queryFunction · 0.45
load_rustls_configFunction · 0.45
ann_searchFunction · 0.45
index_embeddingFunction · 0.45
create_node_edgesFunction · 0.45
delete_embeddingFunction · 0.45
gen_combinationsFunction · 0.45
newMethod · 0.45

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected