MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / dumpInternal

Method dumpInternal

templates/rb.cpp:191–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 }
190
191 void dumpInternal(RBTreeNode* n, int d)
192 {
193 if (!n)
194 return;
195 for (int i = 0; i < d; i++)
196 printf("--");
197 printf("%d(%d %d)\n", n->k, n->k, n->v);
198 dumpInternal(n->left, d + 1);
199 dumpInternal(n->right, d + 1);
200 }
201
202 void dump(RBTreeNode* n)
203 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected