MCPcopy Create free account
hub / github.com/Fullstop000/wickdb / insert

Method insert

src/cache/lru.rs:145–201  ·  view source on GitHub ↗
(&self, key: K, mut value: V, charge: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

insert_with_chargeMethod · 0.45
test_hit_and_missFunction · 0.45
test_eraseFunction · 0.45
test_entries_are_pinnedFunction · 0.45
test_eviction_policyFunction · 0.45
test_zero_size_cacheFunction · 0.45

Calls 5

get_mutMethod · 0.80
detachMethod · 0.80
attachMethod · 0.80
lockMethod · 0.45
removeMethod · 0.45

Tested by 6

test_hit_and_missFunction · 0.36
test_eraseFunction · 0.36
test_entries_are_pinnedFunction · 0.36
test_eviction_policyFunction · 0.36
test_zero_size_cacheFunction · 0.36