Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosdata/cosdata
/ delete
Method
delete
src/models/common.rs:526–530 ·
view source on GitHub ↗
(&self, k: &K)
Source
from the content-addressed store, hash-verified
524
}
525
526
pub fn delete(&self, k: &K) {
527
let index = self.hash_key(k);
528
let mut ht = self.hash_table_list[index].lock().unwrap();
529
ht.remove(k);
530
}
531
532
pub fn lookup(&self, k: &K) -> Option<V>
533
where
Callers
15
delete_collection_by_name
Function · 0.45
get_lazy_object
Method · 0.45
get_data
Method · 0.45
add_random_items_to_versioned_vec
Function · 0.45
add_random_items_to_versioned_vec
Function · 0.45
add_random_items_to_versioned_vec
Function · 0.45
test-dataset-streaming.py
File · 0.45
delete_collection
Function · 0.45
test_performance
Function · 0.45
test-dataset.py
File · 0.45
test_basic_functionality
Function · 0.45
main
Function · 0.45
Calls
2
hash_key
Method · 0.80
remove
Method · 0.80
Tested by
13
add_random_items_to_versioned_vec
Function · 0.36
add_random_items_to_versioned_vec
Function · 0.36
add_random_items_to_versioned_vec
Function · 0.36
delete_collection
Function · 0.36
test_performance
Function · 0.36
test_basic_functionality
Function · 0.36
main
Function · 0.36
main
Function · 0.36
delete_collection
Function · 0.36
main
Function · 0.36
main_non_it
Function · 0.36
ensure_collection
Function · 0.36