Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ make_engine
Function
make_engine
nodedb/src/engine/kv/engine_atomic.rs:477–479 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
475
use super::*;
476
477
fn make_engine() -> KvEngine {
478
KvEngine::new(1000, 16, 0.75, 4, 64, 1000, 1024)
479
}
480
481
#[test]
482
fn incr_new_key() {
Callers
15
incr_new_key
Function · 0.70
incr_existing_key
Function · 0.70
incr_negative_delta
Function · 0.70
incr_overflow
Function · 0.70
incr_type_mismatch
Function · 0.70
incr_with_ttl_new_key
Function · 0.70
incr_preserves_ttl_when_zero
Function · 0.70
incr_float_new_key
Function · 0.70
incr_float_existing
Function · 0.70
incr_float_infinity_rejected
Function · 0.70
cas_create_if_not_exists
Function · 0.70
cas_success
Function · 0.70
Calls
no outgoing calls
Tested by
15
incr_new_key
Function · 0.56
incr_existing_key
Function · 0.56
incr_negative_delta
Function · 0.56
incr_overflow
Function · 0.56
incr_type_mismatch
Function · 0.56
incr_with_ttl_new_key
Function · 0.56
incr_preserves_ttl_when_zero
Function · 0.56
incr_float_new_key
Function · 0.56
incr_float_existing
Function · 0.56
incr_float_infinity_rejected
Function · 0.56
cas_create_if_not_exists
Function · 0.56
cas_success
Function · 0.56