MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / leafElementCount

Method leafElementCount

source/core/StarBTreeDatabase.cpp:852–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

850}
851
852size_t BTreeDatabase::BTreeImpl::leafElementCount(Leaf const& leaf) {
853 return leaf->count();
854}
855
856auto BTreeDatabase::BTreeImpl::leafKey(Leaf const& leaf, size_t i) -> Key {
857 return leaf->key(i);

Callers 1

operator()Method · 0.45

Calls 1

countMethod · 0.45

Tested by

no test coverage detected