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

Function zipmapRewind

src/zipmap.c:304–306  ·  view source on GitHub ↗

Call before iterating through elements via zipmapNext() */

Source from the content-addressed store, hash-verified

302
303/* Call before iterating through elements via zipmapNext() */
304unsigned char *zipmapRewind(unsigned char *zm) {
305 return zm+1;
306}
307
308/* This function is used to iterate through all the zipmap elements.
309 * In the first call the first argument is the pointer to the zipmap + 1.

Callers 3

rdbLoadObjectFunction · 0.85
zipmapLenFunction · 0.85
zipmapTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected