MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / make_engine

Function make_engine

nodedb/src/engine/kv/engine.rs:392–394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

390 }
391
392 fn make_engine() -> KvEngine {
393 KvEngine::new(now(), 16, 0.75, 4, 64, 1000, 1024)
394 }
395
396 #[test]
397 fn basic_get_put_delete() {

Callers 14

basic_get_put_deleteFunction · 0.70
ttl_expiry_via_tickFunction · 0.70
persist_removes_ttlFunction · 0.70
expire_sets_ttlFunction · 0.70
batch_get_and_putFunction · 0.70
tenant_isolationFunction · 0.70
statsFunction · 0.70
index_maintained_on_putFunction · 0.70
index_cleaned_on_deleteFunction · 0.70
zero_index_fast_pathFunction · 0.70

Calls 1

nowFunction · 0.85

Tested by 14

basic_get_put_deleteFunction · 0.56
ttl_expiry_via_tickFunction · 0.56
persist_removes_ttlFunction · 0.56
expire_sets_ttlFunction · 0.56
batch_get_and_putFunction · 0.56
tenant_isolationFunction · 0.56
statsFunction · 0.56
index_maintained_on_putFunction · 0.56
index_cleaned_on_deleteFunction · 0.56
zero_index_fast_pathFunction · 0.56