MCPcopy Create free account
hub / github.com/dillo-browser/dillo / ~HashTable

Method ~HashTable

lout/container.cc:643–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

641}
642
643HashTable::~HashTable()
644{
645 // See comment in the destructor of HashSet.
646 for (int i = 0; i < tableSize; i++) {
647 for (Node *n = table[i]; n; n = n->next) {
648 if (ownerOfValues) {
649 Object *value = ((KeyValuePair*)n)->value;
650 if (value) {
651 PRINTF ("- deleting value: %s\n", value->toString());
652 delete value;
653 }
654 }
655 }
656 }
657}
658
659HashSet::Node *HashTable::createNode()
660{

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected