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

Function zzlLexValueLteMax

src/t_zset.cpp:921–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919}
920
921int zzlLexValueLteMax(unsigned char *p, zlexrangespec *spec) {
922 sds value = ziplistGetObject(p);
923 int res = zslLexValueLteMax(value,spec);
924 sdsfree(value);
925 return res;
926}
927
928/* Returns if there is a part of the zset is in range. Should only be used
929 * internally by zzlFirstInRange and zzlLastInRange. */

Callers 7

zzlIsInLexRangeFunction · 0.85
zzlFirstInLexRangeFunction · 0.85
zzlLastInLexRangeFunction · 0.85
zzlDeleteRangeByLexFunction · 0.85
zlexcountCommandFunction · 0.85
RM_ZsetRangeNextFunction · 0.85

Calls 3

ziplistGetObjectFunction · 0.85
zslLexValueLteMaxFunction · 0.85
sdsfreeFunction · 0.85

Tested by

no test coverage detected