MCPcopy Create free account
hub / github.com/couchbase/fleece / clear

Method clear

Fleece/Support/StringTable.cc:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77
78 void StringTable::clear() noexcept {
79 ::memset(_hashes, 0, _size * sizeof(hash_t));
80 _count = 0;
81 _maxDistance = 0;
82 }
83
84
85 __hot const StringTable::entry_t* StringTable::find(key_t key, hash_t hash) const noexcept {

Callers 15

createItemsMethod · 0.45
removeAllMethod · 0.45
diff_mainMethod · 0.45
diff_lineModeMethod · 0.45
diff_bisectMethod · 0.45
diff_cleanupMergeMethod · 0.45
diff_prettyHtmlMethod · 0.45
patch_applyMethod · 0.45
patch_splitMaxMethod · 0.45
writeToNewChunkMethod · 0.45
resetMethod · 0.45

Calls

no outgoing calls

Tested by 1

createItemsMethod · 0.36