MCPcopy Create free account
hub / github.com/ElementsProject/elements / count

Method count

src/indirectmap.h:43–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 const_iterator lower_bound(const K& key) const { return m.lower_bound(&key); }
42 size_type erase(const K& key) { return m.erase(&key); }
43 size_type count(const K& key) const { return m.count(&key); }
44
45 // passthrough
46 bool empty() const { return m.empty(); }

Callers 15

sync_allFunction · 0.80
parse_specFunction · 0.80
read_logsFunction · 0.80
sync_blocksFunction · 0.80
sync_mempoolsFunction · 0.80
wait_time_testsMethod · 0.80
read_logsFunction · 0.80
print_node_warningsFunction · 0.80
gen_test_vectorsMethod · 0.80
run_testMethod · 0.80
sync_blocksMethod · 0.80
sync_mempoolsMethod · 0.80

Calls

no outgoing calls

Tested by 15

sync_blocksMethod · 0.64
sync_mempoolsMethod · 0.64
BOOST_FIXTURE_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
AdvanceTimeMethod · 0.64
CheckMethod · 0.64
BuildSingleTestFunction · 0.64
IsProtectedFunction · 0.64
IsEvictedFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64