MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / hashTypeReleaseIterator

Function hashTypeReleaseIterator

src/t_hash.cpp:343–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343void hashTypeReleaseIterator(hashTypeIterator *hi) {
344 if (hi->encoding == OBJ_ENCODING_HT)
345 dictReleaseIterator(hi->di);
346 zfree(hi);
347}
348
349/* Move to the next entry in the hash. Return C_OK when the next entry
350 * could be found and C_ERR when the iterator reaches the end. */

Callers 6

hashTypeConvertZiplistFunction · 0.85
hashTypeDupFunction · 0.85
genericHgetallCommandFunction · 0.85
xorObjectDigestFunction · 0.85
rewriteHashObjectFunction · 0.85

Calls 2

zfreeFunction · 0.85
dictReleaseIteratorFunction · 0.70

Tested by

no test coverage detected