| /redis-3.2.3/deps/lua/src/ |
| H A D | lgc.c | 59 #define setthreshold(g) (g->GCthreshold = (g->estimate/100) * g->gcpause) argument 325 while (g->gray) m += propagatemark(g); in propagateall() 496 if (g->mt[i]) markobject(g, g->mt[i]); in markmt() 506 markobject(g, g->mainthread); in markroot() 508 markvalue(g, gt(g->mainthread)); in markroot() 533 g->gray = g->weak; in atomic() 540 g->gray = g->grayagain; in atomic() 550 g->sweepgc = &g->rootgc; in atomic() 615 g->gcdept += g->totalbytes - g->GCthreshold; in luaC_step() 626 g->GCthreshold = g->totalbytes; in luaC_step() [all …]
|
| H A D | lstate.c | 37 global_State g; member 80 g->GCthreshold = 4*g->totalbytes; in f_luaopen() 85 G(L) = g; in preinit_state() 115 (*g->frealloc)(g->ud, fromstate(L), state_size(LG), 0); in close_state() 150 g = &((LG *)L)->g; in lua_newstate() 158 g->ud = ud; in lua_newstate() 160 g->uvhead.u.l.prev = &g->uvhead; in lua_newstate() 161 g->uvhead.u.l.next = &g->uvhead; in lua_newstate() 172 g->sweepgc = &g->rootgc; in lua_newstate() 173 g->gray = NULL; in lua_newstate() [all …]
|
| H A D | lmem.c | 77 global_State *g = G(L); in luaM_realloc_() local 79 block = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_() 83 g->totalbytes = (g->totalbytes - osize) + nsize; in luaM_realloc_()
|
| H A D | lgc.h | 69 #define otherwhite(g) (g->currentwhite ^ WHITEBITS) argument 70 #define isdead(g,v) ((v)->gch.marked & otherwhite(g) & WHITEBITS) argument 77 #define luaC_white(g) cast(lu_byte, (g)->currentwhite & WHITEBITS) argument
|
| H A D | lfunc.c | 54 global_State *g = G(L); in luaF_findupval() local 61 if (isdead(g, obj2gco(p))) /* is it dead? */ in luaF_findupval() 69 uv->marked = luaC_white(g); in luaF_findupval() 73 uv->u.l.prev = &g->uvhead; /* double link it in `uvhead' list */ in luaF_findupval() 74 uv->u.l.next = g->uvhead.u.l.next; in luaF_findupval() 76 g->uvhead.u.l.next = uv; in luaF_findupval() 98 global_State *g = G(L); in luaF_close() local 103 if (isdead(g, o)) in luaF_close()
|
| H A D | lapi.c | 901 global_State *g; in lua_gc() local 903 g = G(L); in lua_gc() 910 g->GCthreshold = g->totalbytes; in lua_gc() 928 if (a <= g->totalbytes) in lua_gc() 929 g->GCthreshold = g->totalbytes - a; in lua_gc() 931 g->GCthreshold = 0; in lua_gc() 932 while (g->GCthreshold <= g->totalbytes) { in lua_gc() 942 res = g->gcpause; in lua_gc() 943 g->gcpause = data; in lua_gc() 947 res = g->gcstepmul; in lua_gc() [all …]
|
| H A D | ltm.h | 41 #define gfasttm(g,et,e) ((et) == NULL ? NULL : \ argument 42 ((et)->flags & (1u<<(e))) ? NULL : luaT_gettm(et, e, (g)->tmname[e]))
|
| H A D | lvm.c | 433 TValue g; in luaV_execute() local 435 sethvalue(L, &g, cl->env); in luaV_execute() 437 Protect(luaV_gettable(L, &g, rb, ra)); in luaV_execute() 445 TValue g; in luaV_execute() local 446 sethvalue(L, &g, cl->env); in luaV_execute() 448 Protect(luaV_settable(L, &g, KBx(i), ra)); in luaV_execute()
|
| H A D | lobject.h | 111 #define checkliveness(g,obj) \ argument 113 ((ttype(obj) == (obj)->value.gc->gch.tt) && !isdead(g, (obj)->value.gc)))
|
| H A D | ldebug.c | 510 int g = GETARG_Bx(i); /* global index */ in getobjname() local 511 lua_assert(ttisstring(&p->k[g])); in getobjname() 512 *name = svalue(&p->k[g]); in getobjname()
|
| /redis-3.2.3/deps/jemalloc/include/jemalloc/internal/ |
| H A D | bitmap.h | 126 bitmap_t g; in bitmap_get() local 139 bitmap_t g; in bitmap_set() local 145 g = *gp; in bitmap_set() 148 *gp = g; in bitmap_set() 157 g = *gp; in bitmap_set() 160 *gp = g; in bitmap_set() 172 bitmap_t g; in bitmap_sfu() local 202 g = *gp; in bitmap_unset() 206 *gp = g; in bitmap_unset() 215 g = *gp; in bitmap_unset() [all …]
|
| H A D | size_classes.sh | 95 pow2 ${lg_g}; g=${pow2_result} 137 while [ ${ndelta} -lt ${g} ] ; do 149 ndelta_limit=$((${g} - 1)) 151 ndelta_limit=${g}
|
| /redis-3.2.3/deps/lua/test/ |
| H A D | readonly.lua | 4 local g={} 6 setmetatable(g,{__index=G,__newindex=f}) 7 setfenv(1,g) 10 rawset(g,"x",3)
|
| H A D | trace-globals.lua | 22 local g={} 24 log(name,g[name],value) 25 g[name]=value 27 setmetatable(getfenv(),{__index=g,__newindex=set})
|
| H A D | globals.lua | 8 local ok,_,l,op,g=string.find(s,"%[%-?(%d*)%]%s*([GS])ETGLOBAL.-;%s+(.*)$") 11 io.write(g,"\t",l,op,"\n")
|
| H A D | factorial.lua | 4 Y = function (g) 7 return g(function (x)
|
| H A D | sieve.lua | 12 function filter (p, g) 15 local n = g()
|
| /redis-3.2.3/deps/jemalloc/test/unit/ |
| H A D | ql.c | 166 list_t *a, *b, *c, *d, *e, *f, *g, *h; in TEST_BEGIN() local 176 g = &entries[6]; in TEST_BEGIN() 189 ql_after_insert(f, g, link); in TEST_BEGIN()
|
| /redis-3.2.3/deps/lua/ |
| H A D | HISTORY | 47 + more general syntax for function definition (e.g. function a.x.y:f()...end). 48 + more general syntax for function calls (e.g. (print or write)(9)). 121 - more general syntax for function calls and lvalues, e.g.: 123 o:f(x,y):g(z) 125 + strings may now contain arbitrary binary data (e.g., embedded zeros). 142 work on objects having the same tag (e.g., groups of tables).
|
| /redis-3.2.3/tests/unit/ |
| H A D | sort.tcl | 210 r sadd myset a b c d e f g h i l m n o p q r s t u v z aa aaa azz 213 } {a aa aaa azz b c d e f g h i l m n o p q r s t u v z} 234 r sadd myset a b c d e f g h i l m n o p q r s t u v z aa aaa azz 235 foreach ele {a aa aaa azz b c d e f g h i l m n o p q r s t u v z} { 239 } {a aa aaa azz b c d e f g h i l m n o p q r s t u v z}
|
| H A D | dump.tcl | 278 r mset a 1 b 2 c 3 d 4 c 5 e 6 f 7 g 8 h 9 i 10 l 11 m 12 n 13 o 14 p 15 q 16 284 … set ret [r -1 migrate $second_host $second_port "" 9 5000 keys a b c d e f g h i l m n o p q] 294 r mset a 1 b 2 c 3 d 4 c 5 e 6 f 7 g 8 h 9 i 10 l 11 m 12 n 13 o 14 p 15 q 16 302 … catch {r -1 migrate $second_host $second_port "" 9 5000 keys a b c d e f g h i l m n o p q} e
|
| H A D | scripting.tcl | 303 r sadd myset a b c d e f g h i l m n o p q r s t u v z aa aaa azz 305 } {a aa aaa azz b c d e f g h i l m n o p q r s t u v z} 315 r sadd myset a b c d e f g h i l m n o p q r s t u v z aa aaa azz 317 } {a aa aaa azz b c d e f g h i l m n o p q r s t u v z}
|
| /redis-3.2.3/tests/unit/type/ |
| H A D | zset.tcl | 188 r zrem ztmp a b c d e f g 300 create_zset zset {-inf a 1 b 2 c 3 d 4 e 5 f +inf g} 310 assert_equal {e f g} [r zrangebyscore zset 4 +inf] 314 assert_equal {g f e} [r zrevrangebyscore zset +inf 4] 330 r zrem zset g 397 assert_equal {great hill omega} [r zrangebylex zset \[g +]
|
| /redis-3.2.3/src/ |
| H A D | cluster.c | 1299 uint16_t flags = ntohs(g->flags); in clusterProcessGossipSection() 1305 g->nodename, in clusterProcessGossipSection() 1306 g->ip, in clusterProcessGossipSection() 1307 ntohs(g->port), in clusterProcessGossipSection() 1312 node = clusterLookupNode(g->nodename); in clusterProcessGossipSection() 1341 (strcasecmp(node->ip,g->ip) || node->port != ntohs(g->port))) in clusterProcessGossipSection() 1344 memcpy(node->ip,g->ip,NET_IP_STR_LEN); in clusterProcessGossipSection() 1345 node->port = ntohs(g->port); in clusterProcessGossipSection() 1357 !clusterBlacklistExists(g->nodename)) in clusterProcessGossipSection() 1359 clusterStartHandshake(g->ip,ntohs(g->port)); in clusterProcessGossipSection() [all …]
|
| /redis-3.2.3/deps/jemalloc/test/include/test/ |
| H A D | jemalloc_test.h.in | 108 * so that they can be tested as e.g. malloc() and free(). Also expose the
|