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

Method setBlockSize

source/core/StarBTreeDatabase.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void BTreeDatabase::setBlockSize(uint32_t blockSize) {
38 WriteLocker writeLocker(m_lock);
39 checkIfOpen("setBlockSize", false);
40 m_blockSize = blockSize;
41}
42
43uint32_t BTreeDatabase::keySize() const {
44 ReadLocker readLocker(m_lock);

Callers 4

openDatabaseMethod · 0.80
mainFunction · 0.80
testBTreeDatabaseFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 2

testBTreeDatabaseFunction · 0.64
TESTFunction · 0.64