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

Function zzlLength

src/t_zset.cpp:785–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783}
784
785unsigned int zzlLength(const unsigned char *zl) {
786 return ziplistLen(zl)/2;
787}
788
789/* Move to next entry based on the values in eptr and sptr. Both are set to
790 * NULL when there is no next entry. */

Callers 4

zsetLengthFunction · 0.85
zsetAddFunction · 0.85
zremrangeGenericCommandFunction · 0.85
zuiLengthFunction · 0.85

Calls 1

ziplistLenFunction · 0.85

Tested by

no test coverage detected