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