MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getNumElements

Method getNumElements

src/storage/disk_array.cpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68uint64_t DiskArrayInternal::getNumElements(TransactionType trxType) {
69 std::shared_lock sLck{diskArraySharedMtx};
70 return getNumElementsNoLock(trxType);
71}
72
73bool DiskArrayInternal::checkOutOfBoundAccess(TransactionType trxType, uint64_t idx) const {
74 auto currentNumElements = getNumElementsNoLock(trxType);

Callers 3

tableFuncFunction · 0.45
splitSlotsMethod · 0.45
reserveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected