| /memcached-1.6.32/ |
| D | queue.h | 171 #define QUEUE_TYPEOF(type) type argument 173 #define QUEUE_TYPEOF(type) struct type argument 179 #define SLIST_HEAD(name, type) \ argument 192 #define SLIST_ENTRY(type) \ argument 197 #define SLIST_CLASS_ENTRY(type) \ argument 311 #define STAILQ_HEAD(name, type) \ argument 326 #define STAILQ_ENTRY(type) \ argument 443 #define LIST_HEAD(name, type) \ argument 456 #define LIST_ENTRY(type) \ argument 462 #define LIST_CLASS_ENTRY(type) \ argument [all …]
|
| D | proxy_inspector.c | 51 enum mcp_ins_steptype type; member 63 enum mcp_ins_type type; member 302 if (ins->type == INS_REQ) { in mcp_inspector_hasflag_r() 332 if (ins->type == INS_REQ) { in mcp_inspector_flagtoken_r() 366 if (ins->type == INS_REQ) { in mcp_inspector_flagint_r() 438 if (ins->type == INS_REQ) { in mcp_inspector_flagis_r() 533 if (!(e->t & type)) { in mcp_inspector_new() 562 switch (type) { in mcp_inspector_new() 572 ins->type = type; in mcp_inspector_new() 580 ins->steps[scount].type = st; in mcp_inspector_new() [all …]
|
| D | proxy_luafgen.c | 798 int type = lua_type(L, 3); in mcplib_rcontext_enqueue() local 799 if (type == LUA_TNUMBER) { in mcplib_rcontext_enqueue() 804 } else if (type == LUA_TTABLE) { in mcplib_rcontext_enqueue() 1574 switch(fr->type) { in mcp_funcgen_route() 1609 int type = lua_type(L, -1); in mcp_funcgen_route() local 1610 if (type == LUA_TUSERDATA) { in mcp_funcgen_route() 1692 if (type == LUA_TSTRING) { in _mcplib_router_new_check() 1701 } else if (type != LUA_TNIL) { in _mcplib_router_new_check() 1731 int type = lua_type(L, -1); in _mcplib_router_new_mapcheck() local 1732 if (type == LUA_TUSERDATA) { in _mcplib_router_new_mapcheck() [all …]
|
| D | hash.c | 15 int hash_init(enum hashfunc_type type) { in hash_init() argument 16 switch(type) { in hash_init()
|
| D | proto_proxy.c | 760 size_t prefix_len = strlen(type); in proxy_out_errstring() 776 memcpy(w, type, prefix_len); in proxy_out_errstring() 905 int type = lua_type(Lc, 1); in proxy_run_rcontext() local 1528 int type = lua_type(L, i); in dump_stack() local 1543 if (type == LUA_TSTRING) { in dump_stack() 1572 int type = lua_type(L, -1); in dump_registry() local 1573 if (type == LUA_TUSERDATA) { in dump_registry() 1605 int type = lua_type(L, -1); in dump_funcgen() local 1606 if (type == LUA_TUSERDATA) { in dump_funcgen() 1659 int type = lua_type(L, -1); in dump_pools() local [all …]
|
| D | proxy_mutator.c | 93 enum mcp_mut_steptype type; member 108 enum mcp_mut_type type; member 449 if (srs->resp.type == MCMC_RESP_META) { in mut_step_n() 664 if (mut->type == MUT_REQ) { in mut_step_n() 863 if (e->s && strcmp(type, e->s) == 0) { in mcp_mutator_steptype() 881 if (!(e->t & type)) { in mcp_mutator_new() 904 mut->type = type; in mcp_mutator_new() 919 mut->steps[scount].type = st; in mcp_mutator_new() 946 assert(s->type != mcp_mut_step_none); in _mcp_mut_run_total() 968 assert(s->type != mcp_mut_step_none); in _mcp_mut_run_assemble() [all …]
|
| D | crawler.c | 758 const enum crawler_run_type type, void *data, in lru_crawler_start() argument 773 !(type == CRAWLER_AUTOEXPIRE && active_crawler_type == CRAWLER_AUTOEXPIRE)) { in lru_crawler_start() 779 if (type == CRAWLER_AUTOEXPIRE && block_ae_until > current_time) { in lru_crawler_start() 785 if (ids == NULL && type != CRAWLER_METADUMP && type != CRAWLER_MGDUMP) { in lru_crawler_start() 792 assert(crawler_mod_regs[type] != NULL); in lru_crawler_start() 793 active_crawler_mod.mod = crawler_mod_regs[type]; in lru_crawler_start() 794 active_crawler_type = type; in lru_crawler_start() 838 enum crawler_result_type lru_crawler_crawl(char *slabs, const enum crawler_run_type type, in lru_crawler_crawl() argument 870 starts = lru_crawler_start(hash_crawl ? NULL : tocrawl, remaining, type, NULL, c, sfd); in lru_crawler_crawl()
|
| D | logger.h | 130 unsigned short type; member 231 #define LOGGER_LOG(l, flag, type, ...) \ argument 237 logger_log(myl, type, __VA_ARGS__); \
|
| D | hash.h | 11 int hash_init(enum hashfunc_type type);
|
| D | proxy_request.c | 321 int type = CMD_TYPE_GENERIC; in process_request() local 331 type = CMD_TYPE_META; in process_request() 366 type = CMD_TYPE_GET; in process_request() 371 type = CMD_TYPE_GET; in process_request() 390 type = CMD_TYPE_GET; in process_request() 401 type = CMD_TYPE_GET; in process_request() 449 pr->cmd_type = type; in process_request() 621 int type = lua_type(L, 2); in mcplib_request() local 622 if (type == LUA_TSTRING) { in mcplib_request() 627 } else if (type == LUA_TUSERDATA) { in mcplib_request()
|
| D | crawler.h | 38 const enum crawler_run_type type, void *data,
|
| D | memcached.h | 698 int type; // duplicated from io_queue_cb_t member 704 int type; member 956 void thread_io_queue_add(LIBEVENT_THREAD *t, int type, void *ctx, io_queue_stack_cb cb); 958 io_queue_t *conn_io_queue_get(conn *c, int type); 959 io_queue_cb_t *thread_io_queue_get(LIBEVENT_THREAD *t, int type); 1019 void pause_threads(enum pause_thread_types type);
|
| D | memcached.c | 570 while (q->type != IO_QUEUE_NONE) { in thread_io_queue_add() 573 q->type = type; in thread_io_queue_add() 583 q->type = qcb->type; in conn_io_queue_setup() 602 while (q->type != IO_QUEUE_NONE) { in thread_io_queue_get() 603 if (q->type == type) { in thread_io_queue_get() 614 if (q->type == type) { in conn_io_queue_get() 4565 int type = 0; local 4571 while (opts[type] != NULL && strcmp(key, opts[type]) != 0) { 4572 type++; 4574 if (opts[type] == NULL) { [all …]
|
| D | proxy_lua.c | 830 int type = lua_type(L, 2); in mcplib_pool() local 831 if (argc == 1 || type == LUA_TNIL) { in mcplib_pool() 1379 int type = lua_type(L, 2); in mcplib_log_req() local 1380 if (type == LUA_TUSERDATA) { in mcplib_log_req() 1382 rtype = rs->resp.type; in mcplib_log_req() 1441 int type = lua_type(L, 5); in mcplib_log_reqsample() local 1442 if (type == LUA_TUSERDATA) { in mcplib_log_reqsample() 1444 rtype = rs->resp.type; in mcplib_log_reqsample()
|
| D | proxy_result.c | 92 if (reresp.type == MCMC_RESP_META) { in mcplib_response_flag_blank()
|
| /memcached-1.6.32/vendor/mcmc/ |
| D | mcmc.c | 208 r->type = MCMC_RESP_GET; in _mcmc_parse_value_line() 249 r->type = MCMC_RESP_FAIL; in _mcmc_parse_response() 268 r->type = MCMC_RESP_NUMERIC; in _mcmc_parse_response() 289 r->type = MCMC_RESP_META; in _mcmc_parse_response() 386 r->type = MCMC_RESP_END; in _mcmc_parse_response() 391 r->type = MCMC_RESP_STAT; in _mcmc_parse_response() 404 r->type = MCMC_RESP_ERRMSG; in _mcmc_parse_response() 410 r->type = MCMC_RESP_GENERIC; in _mcmc_parse_response() 413 r->type = MCMC_RESP_GENERIC; in _mcmc_parse_response() 446 r->type = MCMC_RESP_ERRMSG; in _mcmc_parse_response() [all …]
|
| /memcached-1.6.32/devtools/ |
| D | slab_loadgen | 12 type=str, default="localhost:11211") 14 type=int, default="1") 16 type=str, default="./config")
|
| /memcached-1.6.32/t/lib/ |
| D | MemcachedTest.pm | 63 my ($sock, $type) = @_; 64 $type = $type ? " $type" : ""; 65 print $sock "stats$type\r\n"; 171 my $type = shift || "tcp"; 179 Proto => '$type', 187 Proto => $type,
|
| /memcached-1.6.32/t/ |
| D | issue_67.t | 20 my ($type, $port) = split(/:\s+/); 21 $rv{$type} = $port + 0;
|
| D | proxyintstats.lua | 28 if type(k) == "number" then
|
| D | proxyrequest.lua | 92 if type(token) ~= "number" then
|
| /memcached-1.6.32/scripts/ |
| D | memcached-automove-extstore | 16 type=int, default="1") 20 parser.add_argument("-w", "--window", type=int, default="30", 22 parser.add_argument("-r", "--ratio", type=float, default=0.8, 24 parser.add_argument("-f", "--free", type=float, default=0.005, 26 parser.add_argument("-z", "--size", type=int, default=512,
|
| D | memcached-automove | 16 type=int, default="1") 20 parser.add_argument("-w", "--window", type=int, default="30", 22 parser.add_argument("-r", "--ratio", type=float, default=0.8,
|
| D | damemtop | 279 for my $type (keys %{$_[0]}) { 280 return $_[0]->{$type}->{$_[1]} if exists $_[0]->{$type}->{$_[1]};
|
| /memcached-1.6.32/doc/ |
| D | protocol-binary.txt | 429 Data type (5) : 0x00 539 Data type (5) : 0x00 598 Data type (5) : 0x00 657 Data type (5) : 0x00 771 Data type (5) : 0x00 821 Data type (5) : 0x00 879 Data type (5) : 0x00 1050 Data type (5) : 0x00 1102 Data type (5) : 0x00 1154 Data type (5) : 0x00 [all …]
|