MCPcopy Create free account
hub / github.com/KDE/kdevelop / verifyTreeConsistent

Method verifyTreeConsistent

kdevplatform/util/embeddedfreetree.h:557–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555
556private:
557 void verifyTreeConsistent(int position, int lowerBound, int upperBound)
558 {
559 if (position == -1)
560 return;
561 Q_ASSERT(lowerBound <= position && position < upperBound);
562 verifyTreeConsistent(ItemHandler::leftChild(m_items[position]), lowerBound, position);
563 verifyTreeConsistent(ItemHandler::rightChild(m_items[position]), position + 1, upperBound);
564 }
565
566 void debugFreeItemCount()
567 {

Callers 2

verifyMethod · 0.45
verifyMethod · 0.45

Calls

no outgoing calls

Tested by 1

verifyMethod · 0.36