| /redis-3.2.3/tests/unit/ |
| H A D | maxmemory.tcl | 36 set limit [expr {$used+100*1024}] 37 r config set maxmemory $limit 44 if {[s used_memory]+4096 > $limit} { 68 set limit [expr {$used+100*1024}] 69 r config set maxmemory $limit 76 if {[s used_memory]+4096 > $limit} { 110 set limit [expr {$used+100*1024}] 111 r config set maxmemory $limit 123 if {[s used_memory]+4096 > $limit} {
|
| H A D | obuf-limits.tcl | 2 test {Client output buffer hard limit is enforced} { 22 test {Client output buffer soft limit is not enforced if time is not overreached} { 48 test {Client output buffer soft limit is enforced if time is overreached} {
|
| H A D | sort.tcl | 148 assert_equal [r sort zset by nosort asc limit 0 1] {a} 149 assert_equal [r sort zset by nosort desc limit 0 1] {d} 150 assert_equal [r sort zset by nosort asc limit 0 2] {a c} 151 assert_equal [r sort zset by nosort desc limit 0 2] {d b} 152 assert_equal [r sort zset by nosort limit 5 10] {} 153 assert_equal [r sort zset by nosort limit -10 100] {a c e b d} 197 r sort foo alpha limit 10 10 store zap 262 r sort testa by nosort limit 0 3 store testb
|
| H A D | slowlog.tcl | 23 test {SLOWLOG - GET optional argument to limit output len works} {
|
| H A D | scripting.tcl | 131 test {EVAL - Script can't run more than configured time limit} { 251 -- so, the final x.x is at the depth limit and was assigned nil
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | lmem.c | 47 int limit, const char *errormsg) { in luaM_growaux_() argument 50 if (*size >= limit/2) { /* cannot double it? */ in luaM_growaux_() 51 if (*size >= limit) /* cannot grow even a little? */ in luaM_growaux_() 53 newsize = limit; /* still have at least one free place */ in luaM_growaux_()
|
| H A D | lmem.h | 33 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument 35 ((v)=cast(t *, luaM_growaux_(L,v,&(size),sizeof(t),limit,e))) 45 size_t size_elem, int limit,
|
| H A D | lua_cmsgpack.c | 786 int mp_unpack_full(lua_State *L, int limit, int offset) { in mp_unpack_full() argument 791 int decode_all = (!limit && !offset); in mp_unpack_full() 795 if (offset < 0 || limit < 0) /* requesting negative off or lim is invalid */ in mp_unpack_full() 803 if (decode_all) limit = INT_MAX; in mp_unpack_full() 809 for(cnt = 0; c.left > 0 && cnt < limit; cnt++) { in mp_unpack_full() 851 int limit = luaL_checkinteger(L, 2); in mp_unpack_limit() local 856 return mp_unpack_full(L, limit, offset); in mp_unpack_limit()
|
| H A D | lparser.c | 71 static void errorlimit (FuncState *fs, int limit, const char *what) { in errorlimit() argument 73 luaO_pushfstring(fs->L, "main function has more than %d %s", limit, what) : in errorlimit() 75 fs->f->linedefined, limit, what); in errorlimit() 828 static BinOpr subexpr (LexState *ls, expdesc *v, unsigned int limit) { in subexpr() argument 841 while (op != OPR_NOBINOPR && priority[op].left > limit) { in subexpr()
|
| H A D | lvm.c | 657 lua_Number limit = nvalue(ra+1); in luaV_execute() local 658 if (luai_numlt(0, step) ? luai_numle(idx, limit) in luaV_execute() 659 : luai_numle(limit, idx)) { in luaV_execute()
|
| H A D | ldebug.c | 118 StkId limit = (ci == L->ci) ? L->top : (ci+1)->func; in findlocal() local 119 if (limit - ci->base >= n && n > 0) /* is 'n' inside 'ci' stack? */ in findlocal()
|
| /redis-3.2.3/src/ |
| H A D | bitops.c | 287 if (limit) { in checkUnsignedBitfieldOverflow() 291 *limit = max; in checkUnsignedBitfieldOverflow() 296 if (limit) { in checkUnsignedBitfieldOverflow() 300 *limit = 0; in checkUnsignedBitfieldOverflow() 313 *limit = res; in checkUnsignedBitfieldOverflow() 318 …eckSignedBitfieldOverflow(int64_t value, int64_t incr, uint64_t bits, int owtype, int64_t *limit) { in checkSignedBitfieldOverflow() argument 330 if (limit) { in checkSignedBitfieldOverflow() 334 *limit = max; in checkSignedBitfieldOverflow() 339 if (limit) { in checkSignedBitfieldOverflow() 343 *limit = min; in checkSignedBitfieldOverflow() [all …]
|
| H A D | t_zset.c | 2297 long offset = 0, limit = -1; in genericZrangebyscoreCommand() local 2329 (getLongFromObjectOrReply(c, c->argv[pos+2], &limit, NULL) != C_OK)) return; in genericZrangebyscoreCommand() 2382 while (eptr && limit--) { in genericZrangebyscoreCommand() 2446 while (ln && limit--) { in genericZrangebyscoreCommand() 2648 long offset = 0, limit = -1; in genericZrangebylexCommand() local 2676 (getLongFromObjectOrReply(c, c->argv[pos+2], &limit, NULL) != C_OK)) return; in genericZrangebylexCommand() 2734 while (eptr && limit--) { in genericZrangebylexCommand() 2794 while (ln && limit--) { in genericZrangebylexCommand()
|
| H A D | server.c | 1666 struct rlimit limit; in adjustOpenFilesLimit() local 1668 if (getrlimit(RLIMIT_NOFILE,&limit) == -1) { in adjustOpenFilesLimit() 1673 rlim_t oldlimit = limit.rlim_cur; in adjustOpenFilesLimit() 1687 limit.rlim_cur = bestlimit; in adjustOpenFilesLimit() 1688 limit.rlim_max = bestlimit; in adjustOpenFilesLimit() 1689 if (setrlimit(RLIMIT_NOFILE,&limit) != -1) break; in adjustOpenFilesLimit()
|
| /redis-3.2.3/deps/jemalloc/test/include/test/ |
| H A D | SFMT.h | 72 uint32_t gen_rand32_range(sfmt_t *ctx, uint32_t limit); 74 uint64_t gen_rand64_range(sfmt_t *ctx, uint64_t limit);
|
| /redis-3.2.3/deps/jemalloc/test/src/ |
| H A D | SFMT.c | 461 uint32_t gen_rand32_range(sfmt_t *ctx, uint32_t limit) { in gen_rand32_range() argument 464 above = 0xffffffffU - (0xffffffffU % limit); in gen_rand32_range() 468 ret %= limit; in gen_rand32_range() 511 uint64_t gen_rand64_range(sfmt_t *ctx, uint64_t limit) { in gen_rand64_range() argument 514 above = KQU(0xffffffffffffffff) - (KQU(0xffffffffffffffff) % limit); in gen_rand64_range() 518 ret %= limit; in gen_rand64_range()
|
| /redis-3.2.3/deps/lua/ |
| H A D | HISTORY | 106 + increased limit on the number of constants and globals per function
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | INSTALL | 238 <lg-size-class-group> you specify cannot be supported. The limit is
|
| H A D | ChangeLog | 148 - Add the "stats.resident" mallctl, which reports the upper limit of 695 limit the amount of memory consumed by heap profiling data structures.
|