Home
last modified time | relevance | path

Searched refs:LIMIT (Results 1 – 3 of 3) sorted by relevance

/redis-3.2.3/tests/unit/type/
H A Dzset.tcl363 assert_equal {b c} [r zrangebyscore zset 0 10 LIMIT 0 2]
364 assert_equal {d e f} [r zrangebyscore zset 0 10 LIMIT 2 3]
365 assert_equal {d e f} [r zrangebyscore zset 0 10 LIMIT 2 10]
366 assert_equal {} [r zrangebyscore zset 0 10 LIMIT 20 10]
367 assert_equal {f e} [r zrevrangebyscore zset 10 0 LIMIT 0 2]
368 assert_equal {d c b} [r zrevrangebyscore zset 10 0 LIMIT 2 3]
369 assert_equal {d c b} [r zrevrangebyscore zset 10 0 LIMIT 2 10]
370 assert_equal {} [r zrevrangebyscore zset 10 0 LIMIT 20 10]
424 assert_equal {} [r zrangebylex zset \[bar \[down LIMIT 0 0]
425 assert_equal {} [r zrangebylex zset \[bar \[down LIMIT 2 0]
[all …]
/redis-3.2.3/tests/unit/
H A Dsort.tcl53 assert_equal [lrange $result 5 9] [r sort tosort BY weight_* LIMIT 5 5]
273 set sorted [r sort tosort BY weight_* LIMIT 0 10]
285 set sorted [r sort tosort BY wobj_*->weight LIMIT 0 10]
297 set sorted [r sort tosort LIMIT 0 10]
309 set sorted [r sort tosort BY nokey LIMIT 0 10]
/redis-3.2.3/deps/lua/src/
H A Dlauxlib.c395 #define LIMIT (LUA_MINSTACK/2) macro
417 if (B->lvl - toget + 1 >= LIMIT || toplen > l) { in adjuststack()