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

Method dataSize

source/core/StarBTreeDatabase.cpp:986–988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984}
985
986uint32_t BTreeDatabase::dataSize(ByteArray const& d) const {
987 return vlqUSize(d.size()) + d.size();
988}
989
990auto BTreeDatabase::leafTailBlocks(BlockIndex leafPointer) -> List<BlockIndex> {
991 List<BlockIndex> tailBlocks;

Callers 2

leafShiftMethod · 0.45
leafSplitMethod · 0.45

Calls 2

vlqUSizeFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected