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

Function zslValueLteMax

src/t_zset.cpp:307–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307int zslValueLteMax(double value, zrangespec *spec) {
308 return spec->maxex ? (value < spec->max) : (value <= spec->max);
309}
310
311/* Returns if there is a part of the zset is in range. */
312int zslIsInRange(zskiplist *zsl, zrangespec *range) {

Callers 12

geoGetPointsInRangeFunction · 0.85
zslIsInRangeFunction · 0.85
zslFirstInRangeFunction · 0.85
zslLastInRangeFunction · 0.85
zslDeleteRangeByScoreFunction · 0.85
zzlIsInRangeFunction · 0.85
zzlFirstInRangeFunction · 0.85
zzlLastInRangeFunction · 0.85
zzlDeleteRangeByScoreFunction · 0.85
zcountCommandFunction · 0.85
RM_ZsetRangeNextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected