Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
986
uint32_t BTreeDatabase::dataSize(ByteArray const& d) const {
987
return vlqUSize(d.size()) + d.size();
988
}
989
990
auto BTreeDatabase::leafTailBlocks(BlockIndex leafPointer) -> List<BlockIndex> {
991
List<BlockIndex> tailBlocks;
Callers
2
leafShift
Method · 0.45
leafSplit
Method · 0.45
Calls
2
vlqUSize
Function · 0.85
size
Method · 0.45
Tested by
no test coverage detected