SYMBOL INDEX (1129 symbols across 68 files) FILE: scripts/benchmark-mget.py function system (line 17) | def system(cmd): function extra (line 20) | def extra(regex, text): function testit (line 25) | def testit(): FILE: scripts/extract_redis_commands_argcounts.php function categorize_arg (line 26) | function categorize_arg(array $arg, string $commandName): array { function categorize (line 42) | function categorize(array $command, string $commandName): string { function compute_types (line 239) | function compute_types(): array { function dump_mismatched_argument_types (line 254) | function dump_mismatched_argument_types(array $types, array $commands): ... function render_arg (line 272) | function render_arg(array $argument): string { function render_command (line 292) | function render_command(string $name, array $command): string { function center_pad (line 300) | function center_pad(string $name, int $len) { function right_pad (line 309) | function right_pad(string $name, int $len) { function dump_table (line 317) | function dump_table(array $commands) { function dump_table_groups (line 341) | function dump_table_groups(array $commands): void { FILE: src/event/nc_epoll.c type event_base (line 24) | struct event_base type event_base (line 27) | struct event_base type epoll_event (line 29) | struct epoll_event function event_base_destroy (line 68) | void function event_add_in (line 90) | int function event_del_in (line 119) | int function event_add_out (line 125) | int function event_del_out (line 155) | int function event_add_conn (line 185) | int function event_del_conn (line 211) | int function event_wait (line 233) | int function event_loop_stats (line 297) | void FILE: src/event/nc_event.h type event_base (line 34) | struct event_base { type event_base (line 50) | struct event_base { type event_base (line 63) | struct event_base { type event_base (line 76) | struct event_base type event_base (line 77) | struct event_base type event_base (line 79) | struct event_base type conn (line 79) | struct conn type event_base (line 80) | struct event_base type conn (line 80) | struct conn type event_base (line 81) | struct event_base type conn (line 81) | struct conn type event_base (line 82) | struct event_base type conn (line 82) | struct conn type event_base (line 83) | struct event_base type conn (line 83) | struct conn type event_base (line 84) | struct event_base type conn (line 84) | struct conn type event_base (line 85) | struct event_base FILE: src/event/nc_evport.c type event_base (line 25) | struct event_base type event_base (line 28) | struct event_base function event_base_destroy (line 69) | void function event_add_in (line 91) | int function event_del_in (line 97) | int function event_add_out (line 103) | int function event_del_out (line 129) | int function event_add_conn (line 155) | int function event_del_conn (line 179) | int function event_reassociate (line 215) | static int function event_wait (line 241) | int function event_loop_stats (line 351) | void FILE: src/event/nc_kqueue.c type event_base (line 24) | struct event_base type event_base (line 27) | struct event_base type kevent (line 29) | struct kevent function event_base_destroy (line 83) | void function event_add_in (line 106) | int function event_del_in (line 128) | int function event_add_out (line 150) | int function event_del_out (line 173) | int function event_add_conn (line 196) | int function event_del_conn (line 212) | int function event_wait (line 242) | int function event_loop_stats (line 348) | void FILE: src/hashkit/nc_crc16.c function hash_crc16 (line 55) | uint32_t FILE: src/hashkit/nc_crc32.c function hash_crc32 (line 98) | uint32_t function hash_crc32a (line 111) | uint32_t FILE: src/hashkit/nc_fnv.c function hash_fnv1_64 (line 25) | uint32_t function hash_fnv1a_64 (line 39) | uint32_t function hash_fnv1_32 (line 54) | uint32_t function hash_fnv1a_32 (line 69) | uint32_t FILE: src/hashkit/nc_hashkit.h type hash_type_t (line 44) | typedef enum hash_type { type dist_type_t (line 51) | typedef enum dist_type { type server_pool (line 71) | struct server_pool type continuum (line 72) | struct continuum type server_pool (line 73) | struct server_pool type continuum (line 74) | struct continuum type server_pool (line 75) | struct server_pool type continuum (line 76) | struct continuum FILE: src/hashkit/nc_hsieh.c function hash_hsieh (line 38) | uint32_t FILE: src/hashkit/nc_jenkins.c function hash_jenkins (line 75) | uint32_t FILE: src/hashkit/nc_ketama.c function ketama_hash (line 30) | uint32_t function ketama_item_cmp (line 43) | static int function rstatus_t (line 57) | rstatus_t function ketama_dispatch (line 221) | uint32_t FILE: src/hashkit/nc_md5.c type MD5_u32plus (line 31) | typedef unsigned int MD5_u32plus; type MD5_CTX (line 33) | typedef struct { function MD5_Init (line 196) | void function MD5_Update (line 208) | void function MD5_Final (line 244) | void function md5_signature (line 300) | void function hash_md5 (line 310) | uint32_t FILE: src/hashkit/nc_modula.c function rstatus_t (line 28) | rstatus_t function modula_dispatch (line 145) | uint32_t FILE: src/hashkit/nc_murmur.c function hash_murmur (line 37) | uint32_t FILE: src/hashkit/nc_one_at_a_time.c function hash_one_at_a_time (line 34) | uint32_t FILE: src/hashkit/nc_random.c function rstatus_t (line 28) | rstatus_t function random_dispatch (line 135) | uint32_t FILE: src/nc.c type option (line 54) | struct option function rstatus_t (line 73) | static rstatus_t function nc_print_run (line 175) | static void function nc_print_done (line 195) | static void function nc_show_usage (line 201) | static void function rstatus_t (line 234) | static rstatus_t function nc_remove_pidfile (line 263) | static void function nc_set_default_options (line 275) | static void function rstatus_t (line 305) | static rstatus_t function nc_test_conf (line 448) | static bool function rstatus_t (line 467) | static rstatus_t function nc_post_run (line 503) | static void function nc_run (line 517) | static void function main (line 539) | int FILE: src/nc_array.c type array (line 22) | struct array type array (line 25) | struct array function array_destroy (line 47) | void function rstatus_t (line 54) | rstatus_t function array_deinit (line 71) | void function array_idx (line 81) | uint32_t type array (line 101) | struct array type array (line 126) | struct array type array (line 139) | struct array type array (line 152) | struct array function array_swap (line 159) | void function array_sort (line 173) | void function rstatus_t (line 185) | rstatus_t FILE: src/nc_array.h type rstatus_t (line 24) | typedef rstatus_t (*array_each_t)(void *, void *); type array (line 26) | struct array { function array_null (line 35) | static inline void function array_set (line 44) | static inline void function array_n (line 53) | static inline uint32_t type array (line 59) | struct array type array (line 60) | struct array type array (line 61) | struct array type array (line 62) | struct array type array (line 64) | struct array type array (line 65) | struct array type array (line 66) | struct array type array (line 67) | struct array type array (line 68) | struct array type array (line 69) | struct array type array (line 69) | struct array type array (line 70) | struct array type array (line 71) | struct array FILE: src/nc_client.c function client_ref (line 22) | void function client_unref (line 49) | void function client_active (line 68) | bool function client_close_stats (line 95) | static void function client_close (line 122) | void FILE: src/nc_client.h type conn (line 23) | struct conn type conn (line 24) | struct conn type conn (line 25) | struct conn type context (line 26) | struct context type conn (line 26) | struct conn FILE: src/nc_conf.c type string (line 24) | struct string type string (line 38) | struct string type command (line 44) | struct command type conf_pool (line 47) | struct conf_pool type conf_pool (line 51) | struct conf_pool type conf_pool (line 55) | struct conf_pool type conf_pool (line 59) | struct conf_pool type conf_pool (line 63) | struct conf_pool type conf_pool (line 67) | struct conf_pool type conf_pool (line 71) | struct conf_pool type conf_pool (line 75) | struct conf_pool type conf_pool (line 79) | struct conf_pool type conf_pool (line 83) | struct conf_pool type conf_pool (line 87) | struct conf_pool type conf_pool (line 91) | struct conf_pool type conf_pool (line 95) | struct conf_pool type conf_pool (line 99) | struct conf_pool type conf_pool (line 103) | struct conf_pool type conf_pool (line 107) | struct conf_pool type conf_pool (line 111) | struct conf_pool type conf_pool (line 115) | struct conf_pool type string (line 120) | struct string type string (line 121) | struct string function conf_server_init (line 123) | static void function conf_server_deinit (line 139) | static void function rstatus_t (line 149) | rstatus_t function rstatus_t (line 184) | static rstatus_t function conf_pool_deinit (line 238) | static void function rstatus_t (line 258) | rstatus_t function conf_dump (line 326) | static void function rstatus_t (line 375) | static rstatus_t function conf_yaml_deinit (line 402) | static void function rstatus_t (line 411) | static rstatus_t function conf_token_done (line 428) | static void function rstatus_t (line 439) | static rstatus_t function conf_event_done (line 456) | static void function rstatus_t (line 465) | static rstatus_t function conf_pop_scalar (line 496) | static void function rstatus_t (line 506) | static rstatus_t function rstatus_t (line 547) | static rstatus_t function rstatus_t (line 592) | static rstatus_t function rstatus_t (line 630) | static rstatus_t function rstatus_t (line 733) | static rstatus_t type conf (line 761) | struct conf type conf (line 765) | struct conf type string (line 781) | struct string type conf_pool (line 788) | struct conf_pool function rstatus_t (line 813) | static rstatus_t function rstatus_t (line 861) | static rstatus_t function rstatus_t (line 981) | static rstatus_t function rstatus_t (line 1123) | static rstatus_t function conf_server_name_cmp (line 1148) | static int function conf_pool_name_cmp (line 1156) | static int function conf_pool_listen_cmp (line 1164) | static int function rstatus_t (line 1172) | static rstatus_t function rstatus_t (line 1213) | static rstatus_t function rstatus_t (line 1300) | static rstatus_t type conf (line 1369) | struct conf type conf (line 1373) | struct conf function conf_destroy (line 1414) | void type conf (line 1431) | struct conf type command (line 1431) | struct command type string (line 1435) | struct string type string (line 1436) | struct string type string (line 1439) | struct string type conf (line 1456) | struct conf type command (line 1456) | struct command type string (line 1459) | struct string type conf_listen (line 1460) | struct conf_listen type conf_listen (line 1465) | struct conf_listen type conf (line 1545) | struct conf type command (line 1545) | struct command type array (line 1548) | struct array type string (line 1549) | struct string type conf_server (line 1550) | struct conf_server type array (line 1557) | struct array type conf (line 1685) | struct conf type command (line 1685) | struct command type string (line 1689) | struct string type conf (line 1711) | struct conf type command (line 1711) | struct command type string (line 1715) | struct string type conf (line 1738) | struct conf type command (line 1738) | struct command type string (line 1742) | struct string type conf (line 1767) | struct conf type command (line 1767) | struct command type string (line 1771) | struct string type conf (line 1796) | struct conf type command (line 1796) | struct command type string (line 1800) | struct string type string (line 1801) | struct string type string (line 1804) | struct string FILE: src/nc_conf.h type conf_listen (line 60) | struct conf_listen { type conf_server (line 69) | struct conf_server { type conf_pool (line 79) | struct conf_pool { type conf (line 102) | struct conf { type command (line 120) | struct command { type conf (line 128) | struct conf type command (line 128) | struct command type conf (line 129) | struct conf type command (line 129) | struct command type conf (line 130) | struct conf type command (line 130) | struct command type conf (line 131) | struct conf type command (line 131) | struct command type conf (line 132) | struct conf type command (line 132) | struct command type conf (line 133) | struct conf type command (line 133) | struct command type conf (line 134) | struct conf type command (line 134) | struct command type conf (line 135) | struct conf type command (line 135) | struct command type conf (line 140) | struct conf type conf (line 141) | struct conf FILE: src/nc_connection.c type conn_tqh (line 85) | struct conn_tqh type context (line 93) | struct context type conn (line 94) | struct conn type server_pool (line 96) | struct server_pool type server (line 101) | struct server type conn (line 108) | struct conn type conn (line 111) | struct conn type conn (line 167) | struct conn type conn (line 170) | struct conn type conn (line 247) | struct conn type server_pool (line 248) | struct server_pool type conn (line 250) | struct conn function conn_free (line 287) | static void function conn_put (line 294) | void function conn_init (line 311) | void function conn_deinit (line 319) | void function conn_recv (line 333) | ssize_t function conn_sendv (line 383) | ssize_t function conn_ncurr_conn (line 432) | uint32_t function conn_ntotal_conn (line 438) | uint64_t function conn_ncurr_cconn (line 444) | uint32_t function conn_authenticated (line 454) | bool FILE: src/nc_connection.h type rstatus_t (line 23) | typedef rstatus_t (*conn_recv_t)(struct context *, struct conn*); type msg (line 24) | struct msg type context (line 24) | struct context type conn (line 24) | struct conn type context (line 25) | struct context type conn (line 25) | struct conn type msg (line 25) | struct msg type msg (line 25) | struct msg type rstatus_t (line 27) | typedef rstatus_t (*conn_send_t)(struct context *, struct conn*); type msg (line 28) | struct msg type context (line 28) | struct context type conn (line 28) | struct conn type context (line 29) | struct context type conn (line 29) | struct conn type msg (line 29) | struct msg type context (line 31) | struct context type conn (line 31) | struct conn type conn (line 32) | struct conn type conn (line 34) | struct conn type conn (line 35) | struct conn type context (line 37) | struct context type conn (line 37) | struct conn type msg (line 37) | struct msg type context (line 38) | struct context type conn (line 38) | struct conn type server (line 38) | struct server type conn (line 39) | struct conn type msg (line 39) | struct msg type msg (line 39) | struct msg type conn (line 41) | struct conn { type context (line 96) | struct context type conn (line 96) | struct conn type conn (line 97) | struct conn type conn (line 98) | struct conn type server_pool (line 98) | struct server_pool type conn (line 99) | struct conn type conn (line 100) | struct conn type conn (line 101) | struct conn type array (line 101) | struct array type conn (line 107) | struct conn FILE: src/nc_core.c function rstatus_t (line 27) | static rstatus_t type context (line 48) | struct context type instance (line 49) | struct instance type context (line 52) | struct context function core_ctx_destroy (line 145) | static void type context (line 158) | struct context type instance (line 159) | struct instance type context (line 161) | struct context function core_stop (line 180) | void function rstatus_t (line 189) | static rstatus_t function rstatus_t (line 204) | static rstatus_t function core_close (line 219) | static void function core_error (line 249) | static void function core_timeout (line 265) | static void function rstatus_t (line 310) | rstatus_t function rstatus_t (line 355) | rstatus_t FILE: src/nc_core.h type rstatus_t (line 69) | typedef int rstatus_t; type err_t (line 70) | typedef int err_t; type array (line 72) | struct array type string (line 73) | struct string type context (line 74) | struct context type conn (line 75) | struct conn type conn_tqh (line 76) | struct conn_tqh type msg (line 77) | struct msg type msg_tqh (line 78) | struct msg_tqh type server (line 79) | struct server type server_pool (line 80) | struct server_pool type mbuf (line 81) | struct mbuf type mhdr (line 82) | struct mhdr type conf (line 83) | struct conf type stats (line 84) | struct stats type instance (line 85) | struct instance type event_base (line 86) | struct event_base type context (line 121) | struct context { type instance (line 137) | struct instance { type context (line 152) | struct context type instance (line 152) | struct instance type context (line 153) | struct context type context (line 155) | struct context FILE: src/nc_log.c type logger (line 27) | struct logger function log_init (line 29) | int function log_deinit (line 50) | void function log_reopen (line 62) | void function log_level_up (line 77) | void function log_level_down (line 88) | void function log_level_set (line 99) | void function log_stacktrace (line 108) | void function log_loggable (line 119) | int function _log (line 131) | void function _log_stderr (line 173) | void function _log_hexdump (line 204) | void function _log_safe (line 272) | void function _log_stderr_safe (line 305) | void FILE: src/nc_log.h type logger (line 23) | struct logger { FILE: src/nc_mbuf.c type mhdr (line 24) | struct mhdr type mbuf (line 29) | struct mbuf type mbuf (line 32) | struct mbuf type mbuf (line 70) | struct mbuf type mbuf (line 78) | struct mbuf type mbuf (line 81) | struct mbuf function mbuf_free (line 104) | static void function mbuf_put (line 118) | void function mbuf_rewind (line 134) | void function mbuf_length (line 145) | uint32_t function mbuf_size (line 157) | uint32_t function mbuf_data_size (line 169) | size_t function mbuf_insert (line 178) | void function mbuf_remove (line 189) | void function mbuf_copy (line 205) | void type mbuf (line 229) | struct mbuf type mhdr (line 230) | struct mhdr type mbuf (line 232) | struct mbuf function mbuf_init (line 264) | void function mbuf_deinit (line 277) | void FILE: src/nc_mbuf.h type mbuf (line 23) | struct mbuf type mbuf (line 25) | struct mbuf { function mbuf_empty (line 42) | static inline bool function mbuf_full (line 48) | static inline bool type instance (line 54) | struct instance type mbuf (line 56) | struct mbuf type mbuf (line 57) | struct mbuf type mbuf (line 58) | struct mbuf type mbuf (line 59) | struct mbuf type mbuf (line 60) | struct mbuf type mhdr (line 62) | struct mhdr type mbuf (line 62) | struct mbuf type mhdr (line 63) | struct mhdr type mbuf (line 63) | struct mbuf type mbuf (line 64) | struct mbuf type mbuf (line 65) | struct mbuf type mhdr (line 65) | struct mhdr FILE: src/nc_message.c type msg_tqh (line 115) | struct msg_tqh type rbtree (line 116) | struct rbtree type rbnode (line 117) | struct rbnode type string (line 120) | struct string type msg (line 126) | struct msg type rbnode (line 127) | struct rbnode type msg (line 129) | struct msg type msg (line 132) | struct msg type msg (line 133) | struct msg type msg (line 138) | struct msg type rbnode (line 141) | struct rbnode function msg_tmo_insert (line 151) | void function msg_tmo_delete (line 175) | void type msg (line 193) | struct msg type msg (line 196) | struct msg type keypos (line 239) | struct keypos type msg (line 280) | struct msg type conn (line 281) | struct conn type msg (line 283) | struct msg type msg (line 329) | struct msg type msg (line 332) | struct msg type mbuf (line 333) | struct mbuf function msg_free (line 363) | static void function msg_put (line 372) | void function msg_dump (line 398) | void function msg_init (line 423) | void function msg_deinit (line 434) | void type string (line 448) | struct string function msg_empty (line 454) | bool function msg_backend_idx (line 460) | uint32_t type mbuf (line 469) | struct mbuf type msg (line 470) | struct msg type mbuf (line 472) | struct mbuf function rstatus_t (line 492) | rstatus_t function rstatus_t (line 516) | rstatus_t function rstatus_t (line 540) | rstatus_t function msg_gen_frag_id (line 569) | inline uint64_t function rstatus_t (line 575) | static rstatus_t function rstatus_t (line 616) | static rstatus_t function rstatus_t (line 631) | static rstatus_t function rstatus_t (line 666) | static rstatus_t function rstatus_t (line 719) | rstatus_t function rstatus_t (line 743) | static rstatus_t function rstatus_t (line 870) | rstatus_t function msg_set_placeholder_key (line 900) | bool msg_set_placeholder_key(struct msg *r) FILE: src/nc_message.h type msg (line 24) | struct msg type rstatus_t (line 25) | typedef rstatus_t (*msg_add_auth_t)(struct context *ctx, struct conn *c_... type rstatus_t (line 26) | typedef rstatus_t (*msg_fragment_t)(struct msg *, uint32_t, struct msg_t... type msg (line 27) | struct msg type rstatus_t (line 28) | typedef rstatus_t (*msg_reply_t)(struct msg *r); type msg (line 29) | struct msg type msg_parse_result_t (line 31) | typedef enum msg_parse_result { type keypos (line 232) | struct keypos { type msg (line 241) | struct msg { type msg (line 307) | struct msg type msg (line 308) | struct msg type conn (line 308) | struct conn type msg (line 309) | struct msg type string (line 313) | struct string type msg (line 314) | struct msg type conn (line 314) | struct conn type msg (line 315) | struct msg type msg (line 316) | struct msg type msg (line 317) | struct msg type msg (line 318) | struct msg type context (line 319) | struct context type conn (line 319) | struct conn type context (line 320) | struct context type conn (line 320) | struct conn type msg (line 322) | struct msg type mbuf (line 323) | struct mbuf type msg (line 323) | struct msg type msg (line 324) | struct msg type msg (line 325) | struct msg type msg (line 326) | struct msg type msg (line 327) | struct msg type msg (line 329) | struct msg type conn (line 329) | struct conn type msg (line 330) | struct msg type conn (line 331) | struct conn type msg (line 331) | struct msg type conn (line 332) | struct conn type msg (line 332) | struct msg type context (line 333) | struct context type conn (line 333) | struct conn type msg (line 333) | struct msg type context (line 334) | struct context type conn (line 334) | struct conn type msg (line 334) | struct msg type context (line 335) | struct context type conn (line 335) | struct conn type msg (line 335) | struct msg type context (line 336) | struct context type conn (line 336) | struct conn type msg (line 336) | struct msg type context (line 337) | struct context type conn (line 337) | struct conn type msg (line 337) | struct msg type context (line 338) | struct context type conn (line 338) | struct conn type msg (line 338) | struct msg type context (line 339) | struct context type conn (line 339) | struct conn type msg (line 339) | struct msg type msg (line 340) | struct msg type context (line 340) | struct context type conn (line 340) | struct conn type context (line 341) | struct context type conn (line 341) | struct conn type msg (line 341) | struct msg type msg (line 341) | struct msg type msg (line 342) | struct msg type context (line 342) | struct context type conn (line 342) | struct conn type msg (line 343) | struct msg type context (line 343) | struct context type conn (line 343) | struct conn type context (line 344) | struct context type conn (line 344) | struct conn type msg (line 344) | struct msg type msg (line 346) | struct msg type conn (line 346) | struct conn type msg (line 347) | struct msg type msg (line 348) | struct msg type context (line 348) | struct context type conn (line 348) | struct conn type context (line 349) | struct context type conn (line 349) | struct conn type msg (line 349) | struct msg type msg (line 349) | struct msg type msg (line 350) | struct msg type context (line 350) | struct context type conn (line 350) | struct conn type context (line 351) | struct context type conn (line 351) | struct conn type msg (line 351) | struct msg FILE: src/nc_proxy.c function proxy_ref (line 25) | void function proxy_unref (line 46) | void function proxy_close (line 63) | void function rstatus_t (line 92) | static rstatus_t function rstatus_t (line 123) | static rstatus_t function rstatus_t (line 205) | rstatus_t function rstatus_t (line 232) | rstatus_t function rstatus_t (line 251) | rstatus_t function proxy_deinit (line 265) | void function rstatus_t (line 281) | static rstatus_t function rstatus_t (line 401) | rstatus_t FILE: src/nc_proxy.h type conn (line 23) | struct conn type conn (line 24) | struct conn type context (line 25) | struct context type conn (line 25) | struct conn type context (line 30) | struct context type context (line 31) | struct context type context (line 32) | struct context type conn (line 32) | struct conn FILE: src/nc_queue.h type qm_trace (line 155) | struct qm_trace { type type (line 278) | struct type type type (line 403) | struct type type type (line 514) | struct type type type (line 524) | struct type type type (line 705) | struct type type type (line 714) | struct type FILE: src/nc_rbtree.c function rbtree_node_init (line 20) | void function rbtree_init (line 31) | void type rbnode (line 40) | struct rbnode type rbnode (line 41) | struct rbnode type rbnode (line 41) | struct rbnode type rbnode (line 52) | struct rbnode type rbtree (line 53) | struct rbtree type rbnode (line 55) | struct rbnode type rbnode (line 56) | struct rbnode function rbtree_left_rotate (line 67) | static void function rbtree_right_rotate (line 94) | static void function rbtree_insert (line 121) | void function rbtree_delete (line 203) | void FILE: src/nc_rbtree.h type rbnode (line 27) | struct rbnode { type rbtree (line 36) | struct rbtree { type rbnode (line 41) | struct rbnode type rbtree (line 42) | struct rbtree type rbnode (line 42) | struct rbnode type rbnode (line 43) | struct rbnode type rbtree (line 43) | struct rbtree type rbtree (line 44) | struct rbtree type rbnode (line 44) | struct rbnode type rbtree (line 45) | struct rbtree type rbnode (line 45) | struct rbnode FILE: src/nc_request.c type msg (line 21) | struct msg type conn (line 22) | struct conn type msg (line 24) | struct msg function req_log (line 35) | static void function req_put (line 97) | void function req_done (line 128) | bool function req_error (line 219) | bool function req_server_enqueue_imsgq (line 294) | void function req_server_enqueue_imsgq_head (line 318) | void function req_server_dequeue_imsgq (line 342) | void function req_client_enqueue_omsgq (line 354) | void function req_server_enqueue_omsgq (line 363) | void function req_client_dequeue_omsgq (line 375) | void function req_server_dequeue_omsgq (line 384) | void type msg (line 398) | struct msg type context (line 399) | struct context type conn (line 399) | struct conn type msg (line 401) | struct msg function rstatus_t (line 453) | static rstatus_t function req_filter (line 474) | static bool function req_forward_error (line 517) | static void function req_forward_stats (line 546) | static void function req_forward (line 555) | static void function req_recv_done (line 626) | void type msg (line 706) | struct msg type context (line 707) | struct context type conn (line 707) | struct conn type msg (line 710) | struct msg function req_send_done (line 749) | void FILE: src/nc_response.c type msg (line 21) | struct msg type conn (line 22) | struct conn type msg (line 24) | struct msg function rsp_put (line 36) | void type msg (line 44) | struct msg type context (line 45) | struct context type conn (line 45) | struct conn type msg (line 45) | struct msg type msg (line 47) | struct msg type msg (line 48) | struct msg type msg (line 86) | struct msg type context (line 87) | struct context type conn (line 87) | struct conn type msg (line 89) | struct msg function rsp_filter (line 141) | static bool function rsp_forward_stats (line 224) | static void function rsp_forward (line 233) | static void function rsp_recv_done (line 274) | void type msg (line 294) | struct msg type context (line 295) | struct context type conn (line 295) | struct conn type msg (line 298) | struct msg function rsp_send_done (line 352) | void FILE: src/nc_server.c function server_resolve (line 25) | static void function server_ref (line 42) | void function server_unref (line 61) | void function server_timeout (line 80) | int function server_active (line 94) | bool function rstatus_t (line 124) | static rstatus_t function rstatus_t (line 135) | rstatus_t function server_deinit (line 172) | void type conn (line 186) | struct conn type server (line 187) | struct server type server_pool (line 189) | struct server_pool type conn (line 190) | struct conn function rstatus_t (line 218) | static rstatus_t function rstatus_t (line 244) | static rstatus_t function server_failure (line 265) | static void function server_close_stats (line 312) | static void function server_close (line 344) | void function rstatus_t (line 465) | rstatus_t function server_connected (line 548) | void function server_ok (line 567) | void function rstatus_t (line 584) | static rstatus_t function server_pool_hash (line 629) | static uint32_t function server_pool_idx (line 646) | uint32_t type server (line 702) | struct server type server_pool (line 703) | struct server_pool type server (line 705) | struct server type conn (line 717) | struct conn type context (line 718) | struct context type server_pool (line 718) | struct server_pool type server (line 722) | struct server type conn (line 723) | struct conn function rstatus_t (line 751) | static rstatus_t function rstatus_t (line 769) | rstatus_t function rstatus_t (line 782) | static rstatus_t function server_pool_disconnect (line 796) | void function rstatus_t (line 802) | static rstatus_t function rstatus_t (line 813) | static rstatus_t function rstatus_t (line 825) | rstatus_t function rstatus_t (line 848) | static rstatus_t function rstatus_t (line 854) | rstatus_t function server_pool_deinit (line 905) | void FILE: src/nc_server.h type continuum (line 64) | struct continuum { type server (line 69) | struct server { type server_pool (line 87) | struct server_pool { type conn (line 127) | struct conn type conn (line 128) | struct conn type conn (line 129) | struct conn type conn (line 130) | struct conn type array (line 131) | struct array type array (line 131) | struct array type server_pool (line 131) | struct server_pool type array (line 132) | struct array type conn (line 133) | struct conn type server (line 133) | struct server type context (line 134) | struct context type server (line 134) | struct server type conn (line 134) | struct conn type context (line 135) | struct context type conn (line 135) | struct conn type context (line 136) | struct context type conn (line 136) | struct conn type context (line 137) | struct context type conn (line 137) | struct conn type server_pool (line 139) | struct server_pool type conn (line 140) | struct conn type context (line 140) | struct context type server_pool (line 140) | struct server_pool type server_pool (line 141) | struct server_pool type context (line 142) | struct context type context (line 143) | struct context type array (line 144) | struct array type array (line 144) | struct array type context (line 144) | struct context type array (line 145) | struct array FILE: src/nc_signal.c type signal (line 24) | struct signal function rstatus_t (line 36) | rstatus_t function signal_deinit (line 61) | void function signal_handler (line 66) | void FILE: src/nc_signal.h type signal (line 23) | struct signal { FILE: src/nc_stats.c type stats_desc (line 29) | struct stats_desc { type stats_metric (line 35) | struct stats_metric type stats_metric (line 39) | struct stats_metric type stats_desc (line 45) | struct stats_desc type stats_desc (line 49) | struct stats_desc function stats_describe (line 54) | void function stats_metric_init (line 74) | static void function stats_metric_reset (line 95) | static void function rstatus_t (line 110) | static rstatus_t function rstatus_t (line 134) | static rstatus_t function stats_metric_deinit (line 158) | static void function rstatus_t (line 170) | static rstatus_t function rstatus_t (line 190) | static rstatus_t function stats_server_unmap (line 219) | static void function rstatus_t (line 235) | static rstatus_t function stats_pool_reset (line 262) | static void function rstatus_t (line 283) | static rstatus_t function stats_pool_unmap (line 312) | static void function rstatus_t (line 329) | static rstatus_t function stats_destroy_buf (line 424) | static void function rstatus_t (line 434) | static rstatus_t function rstatus_t (line 457) | static rstatus_t function rstatus_t (line 480) | static rstatus_t function rstatus_t (line 532) | static rstatus_t function rstatus_t (line 553) | static rstatus_t function rstatus_t (line 575) | static rstatus_t function rstatus_t (line 612) | static rstatus_t function stats_aggregate_metric (line 630) | static void function stats_aggregate (line 665) | static void function rstatus_t (line 699) | static rstatus_t function rstatus_t (line 759) | static rstatus_t function stats_loop_callback (line 791) | static void function rstatus_t (line 815) | static rstatus_t function rstatus_t (line 858) | static rstatus_t function stats_stop_aggregator (line 881) | static void type stats (line 891) | struct stats type array (line 893) | struct array type stats (line 896) | struct stats function stats_destroy (line 972) | void function stats_swap (line 983) | void type stats_metric (line 1017) | struct stats_metric type context (line 1018) | struct context type server_pool (line 1018) | struct server_pool type stats (line 1021) | struct stats type stats_pool (line 1022) | struct stats_pool type stats_metric (line 1023) | struct stats_metric function _stats_pool_incr (line 1040) | void function _stats_pool_decr (line 1055) | void function _stats_pool_incr_by (line 1070) | void function _stats_pool_decr_by (line 1085) | void function _stats_pool_set_ts (line 1100) | void type stats_metric (line 1115) | struct stats_metric type context (line 1116) | struct context type server (line 1116) | struct server type stats (line 1119) | struct stats type stats_pool (line 1120) | struct stats_pool type stats_server (line 1121) | struct stats_server type stats_metric (line 1122) | struct stats_metric function _stats_server_incr (line 1141) | void function _stats_server_decr (line 1156) | void function _stats_server_incr_by (line 1171) | void function _stats_server_decr_by (line 1186) | void function _stats_server_set_ts (line 1201) | void FILE: src/nc_stats.h type stats_type_t (line 55) | typedef enum stats_type { type stats_metric (line 63) | struct stats_metric { type stats_server (line 72) | struct stats_server { type stats_pool (line 77) | struct stats_pool { type stats_buffer (line 83) | struct stats_buffer { type stats (line 89) | struct stats { type stats_pool_field_t (line 120) | typedef enum stats_pool_field { type stats_server_field_t (line 127) | typedef enum stats_server_field { type context (line 199) | struct context type server_pool (line 199) | struct server_pool type context (line 200) | struct context type server_pool (line 200) | struct server_pool type context (line 201) | struct context type server_pool (line 201) | struct server_pool type context (line 202) | struct context type server_pool (line 202) | struct server_pool type context (line 203) | struct context type server_pool (line 203) | struct server_pool type context (line 205) | struct context type server (line 205) | struct server type context (line 206) | struct context type server (line 206) | struct server type context (line 207) | struct context type server (line 207) | struct server type context (line 208) | struct context type server (line 208) | struct server type context (line 209) | struct context type server (line 209) | struct server type stats (line 211) | struct stats type array (line 211) | struct array type stats (line 212) | struct stats type stats (line 213) | struct stats FILE: src/nc_string.c function string_init (line 40) | void function string_deinit (line 47) | void function string_empty (line 59) | bool function rstatus_t (line 67) | rstatus_t function rstatus_t (line 84) | rstatus_t function string_compare (line 101) | int function _safe_vsnprintf (line 194) | int function _safe_snprintf (line 275) | int FILE: src/nc_string.h type string (line 27) | struct string { type string (line 45) | struct string type string (line 46) | struct string type string (line 47) | struct string type string (line 48) | struct string type string (line 48) | struct string type string (line 49) | struct string type string (line 50) | struct string type string (line 50) | struct string FILE: src/nc_util.c function nc_set_blocking (line 40) | int function nc_set_nonblocking (line 53) | int function nc_set_reuseaddr (line 66) | int function nc_set_reuseport (line 78) | int function nc_set_tcpnodelay (line 100) | int function nc_set_linger (line 112) | int function nc_set_tcpkeepalive (line 126) | int function nc_set_sndbuf (line 133) | int function nc_set_rcvbuf (line 143) | int function nc_get_soerror (line 153) | int function nc_get_sndbuf (line 170) | int function nc_get_rcvbuf (line 187) | int function _nc_atoi (line 204) | int function nc_valid_port (line 228) | bool function _nc_free (line 291) | void function nc_stacktrace (line 299) | void function nc_stacktrace_fd (line 323) | void function nc_assert (line 335) | void function _vscnprintf (line 345) | int function _scnprintf (line 373) | int function _nc_sendn (line 389) | ssize_t function _nc_recvn (line 420) | ssize_t function nc_usec_now (line 451) | int64_t function nc_msec_now (line 472) | int64_t function nc_resolve_inet (line 478) | static int function nc_resolve_unix (line 548) | static int function nc_resolve (line 576) | int type sockaddr (line 593) | struct sockaddr type sockinfo (line 620) | struct sockinfo type sockaddr (line 621) | struct sockaddr type sockaddr (line 626) | struct sockaddr type sockinfo (line 646) | struct sockinfo type sockaddr (line 647) | struct sockaddr type sockaddr (line 652) | struct sockaddr FILE: src/nc_util.h type sockinfo (line 214) | struct sockinfo { type string (line 224) | struct string type sockinfo (line 224) | struct sockinfo type sockaddr (line 225) | struct sockaddr FILE: src/proto/nc_memcache.c function memcache_storage (line 39) | static bool function memcache_cas (line 62) | static bool function memcache_retrieval (line 76) | static bool function memcache_should_fragment (line 103) | static bool function memcache_arithmetic (line 126) | static bool function memcache_delete (line 145) | static bool function memcache_touch (line 159) | static bool function memcache_parse_req (line 169) | void function memcache_parse_rsp (line 790) | void function memcache_failure (line 1248) | bool function rstatus_t (line 1254) | static rstatus_t function rstatus_t (line 1283) | static rstatus_t function rstatus_t (line 1386) | rstatus_t function memcache_pre_coalesce (line 1400) | void function rstatus_t (line 1471) | static rstatus_t function memcache_post_coalesce (line 1568) | void function memcache_post_connect (line 1604) | void function memcache_swallow_msg (line 1609) | void function rstatus_t (line 1614) | rstatus_t function rstatus_t (line 1621) | rstatus_t FILE: src/proto/nc_proto.h type msg (line 145) | struct msg type msg (line 146) | struct msg type msg (line 147) | struct msg type msg (line 148) | struct msg type msg (line 149) | struct msg type context (line 150) | struct context type conn (line 150) | struct conn type conn (line 150) | struct conn type msg (line 151) | struct msg type msg_tqh (line 151) | struct msg_tqh type msg (line 152) | struct msg type context (line 153) | struct context type conn (line 153) | struct conn type server (line 153) | struct server type conn (line 154) | struct conn type msg (line 154) | struct msg type msg (line 154) | struct msg type msg (line 156) | struct msg type msg (line 157) | struct msg type msg (line 158) | struct msg type msg (line 159) | struct msg type msg (line 160) | struct msg type context (line 161) | struct context type conn (line 161) | struct conn type conn (line 161) | struct conn type msg (line 162) | struct msg type msg_tqh (line 162) | struct msg_tqh type msg (line 163) | struct msg type context (line 164) | struct context type conn (line 164) | struct conn type server (line 164) | struct server type conn (line 165) | struct conn type msg (line 165) | struct msg type msg (line 165) | struct msg FILE: src/proto/nc_redis.c type msg (line 36) | struct msg type msg (line 36) | struct msg function redis_argz (line 42) | static bool function redis_arg0 (line 63) | static bool function redis_arg1 (line 105) | static bool function redis_arg2 (line 148) | static bool function redis_arg3 (line 188) | static bool function redis_argn (line 207) | static bool function redis_argx (line 299) | static bool function redis_argkvx (line 320) | static bool function redis_argeval (line 340) | static bool function redis_nokey (line 355) | static bool function redis_error (line 373) | static bool function redis_parse_req (line 424) | void function redis_parse_rsp (line 1964) | void function redis_failure (line 2541) | bool function rstatus_t (line 2565) | static rstatus_t function redis_pre_coalesce (line 2641) | void function rstatus_t (line 2721) | static rstatus_t function rstatus_t (line 2817) | static rstatus_t function rstatus_t (line 2948) | rstatus_t function rstatus_t (line 2971) | rstatus_t function redis_post_coalesce_mset (line 2998) | void function redis_post_coalesce_del_or_touch (line 3011) | void function redis_post_coalesce_mget (line 3024) | static void function redis_post_coalesce (line 3062) | void function rstatus_t (line 3091) | static rstatus_t function rstatus_t (line 3134) | rstatus_t function redis_post_connect (line 3166) | void function redis_swallow_msg (line 3216) | void FILE: src/test_all.c function expect_same_int (line 10) | static void expect_same_int(int expected, int actual, const char* messag... function expect_same_uint32_t (line 20) | static void expect_same_uint32_t(uint32_t expected, uint32_t actual, con... function expect_same_ptr (line 31) | static void expect_same_ptr(const void *expected, const void *actual, co... function test_hash_algorithms (line 41) | static void test_hash_algorithms(void) { function test_config_parsing (line 62) | static void test_config_parsing(void) { function test_redis_parse_req_success_case (line 76) | static void test_redis_parse_req_success_case(const char* data, int expe... function test_redis_parse_req_success (line 109) | static void test_redis_parse_req_success(void) { function test_redis_parse_rsp_success_case (line 232) | static void test_redis_parse_rsp_success_case(const char* data, int expe... function test_redis_parse_rsp_success (line 267) | static void test_redis_parse_rsp_success(void) { function test_redis_parse_rsp_failure_case (line 304) | static void test_redis_parse_rsp_failure_case(const char* data) { function test_redis_parse_rsp_failure (line 338) | static void test_redis_parse_rsp_failure(void) { function test_memcache_parse_rsp_success_case (line 354) | static void test_memcache_parse_rsp_success_case(const char* data, int e... function test_memcache_parse_rsp_success (line 392) | static void test_memcache_parse_rsp_success(void) { function test_memcache_parse_rsp_failure_case (line 409) | static void test_memcache_parse_rsp_failure_case(const char* data) { function test_memcache_parse_rsp_failure (line 444) | static void test_memcache_parse_rsp_failure(void) { function test_memcache_parse_req_success_case (line 451) | static void test_memcache_parse_req_success_case(const char* data, int e... function test_memcache_parse_req_success (line 492) | static void test_memcache_parse_req_success(void) { function test_memcache_parse_req_failure_case (line 523) | static void test_memcache_parse_req_failure_case(const char* data) { function test_memcache_parse_req_failure (line 557) | static void test_memcache_parse_req_failure(void) { function main (line 583) | int main(int argc, char **argv) { FILE: tests/lib/server_modules.py class Base (line 18) | class Base: method __init__ (line 23) | def __init__(self, name, host, port, path): method __str__ (line 38) | def __str__(self): method deploy (line 41) | def deploy(self): method _gen_control_script (line 52) | def _gen_control_script(self): method start (line 63) | def start(self): method stop (line 86) | def stop(self): method pid (line 100) | def pid(self): method status (line 104) | def status(self): method _alive (line 107) | def _alive(self): method _run (line 110) | def _run(self, raw_cmd): method clean (line 115) | def clean(self): method host (line 119) | def host(self): method port (line 122) | def port(self): class RedisServer (line 125) | class RedisServer(Base): method __init__ (line 126) | def __init__(self, host, port, path, cluster_name, server_name, auth =... method _info_dict (line 141) | def _info_dict(self): method _ping (line 152) | def _ping(self): method _alive (line 158) | def _alive(self): method _gen_conf (line 161) | def _gen_conf(self): method _pre_deploy (line 168) | def _pre_deploy(self): method status (line 176) | def status(self): method isslaveof (line 183) | def isslaveof(self, master_host, master_port): method slaveof (line 190) | def slaveof(self, master_host, master_port): method rediscmd (line 194) | def rediscmd(self, cmd): class RedisSentinel (line 201) | class RedisSentinel(RedisServer): method __init__ (line 202) | def __init__(self, host, port, path, cluster_name, server_name, master... method _gen_conf_section (line 215) | def _gen_conf_section(self): method _gen_conf (line 225) | def _gen_conf(self): method _pre_deploy (line 232) | def _pre_deploy(self): method failover (line 240) | def failover(self, server_name): class Memcached (line 244) | class Memcached(Base): method __init__ (line 245) | def __init__(self, host, port, path, cluster_name, server_name): method _alive (line 254) | def _alive(self): method _pre_deploy (line 259) | def _pre_deploy(self): class NutCracker (line 263) | class NutCracker(Base): method __init__ (line 264) | def __init__(self, host, port, path, cluster_name, masters, mbuf=512, method _alive (line 288) | def _alive(self): method _gen_conf_section (line 291) | def _gen_conf_section(self, servers): method _gen_conf (line 296) | def _gen_conf(self): method _pre_deploy (line 325) | def _pre_deploy(self): method version (line 333) | def version(self): method _info_dict (line 338) | def _info_dict(self): method reconfig (line 348) | def reconfig(self, masters, sentinels=None): method logfile (line 357) | def logfile(self): method cleanlog (line 360) | def cleanlog(self): method signal (line 364) | def signal(self, signo): method reload (line 369) | def reload(self): method set_config (line 372) | def set_config(self, content): FILE: tests/lib/utils.py function getenv (line 28) | def getenv(key, default): function strstr (line 43) | def strstr(s1, s2): function lets_sleep (line 46) | def lets_sleep(SLEEP_TIME = 0.1): function TT (line 49) | def TT(template, args): #todo: modify all function TTCMD (line 52) | def TTCMD(template, args): #todo: modify all function nothrow (line 59) | def nothrow(ExceptionToCheck=Exception, logger=None): function test_nothrow (line 73) | def test_nothrow(): function json_encode (line 76) | def json_encode(j): function json_decode (line 79) | def json_decode(j): function system (line 86) | def system(cmd, log_fun=logging.info): function shorten (line 91) | def shorten(s, l=80): function assert_true (line 96) | def assert_true(a): function assert_equal (line 99) | def assert_equal(a, b): function assert_raises (line 102) | def assert_raises(exception_cls, callable, *args, **kwargs): function assert_fail (line 111) | def assert_fail(err_response, callable, *args, **kwargs): FILE: tests/test_memcache/test_gets.py function setup (line 30) | def setup(): function teardown (line 40) | def teardown(): function getconn (line 46) | def getconn(): function test_basic (line 50) | def test_basic(): function test_mget_mset (line 64) | def test_mget_mset(kv=default_kv): function test_mget_mset_large (line 77) | def test_mget_mset_large(): function test_mget_mset_key_not_exists (line 83) | def test_mget_mset_key_not_exists(kv=default_kv): FILE: tests/test_redis/common.py function setup (line 31) | def setup(): function teardown (line 39) | def teardown(): function getconn (line 49) | def getconn(): FILE: tests/test_redis/test_auth.py function setup (line 22) | def setup(): function teardown (line 30) | def teardown(): function getconn (line 37) | def getconn(): function test_auth_basic (line 55) | def test_auth_basic(): function test_nopass_on_proxy (line 89) | def test_nopass_on_proxy(): function test_badpass_on_proxy (line 102) | def test_badpass_on_proxy(): function setup_and_wait (line 116) | def setup_and_wait(): FILE: tests/test_redis/test_basic.py function test_setget (line 7) | def test_setget(): function test_msetnx (line 14) | def test_msetnx(): function test_null_key (line 22) | def test_null_key(): function test_ping_quit (line 34) | def test_ping_quit(): function test_slow_req_lua (line 44) | def test_slow_req_lua(): function test_fast_req_lua (line 50) | def test_fast_req_lua(): function disabled_test_slow_req (line 58) | def disabled_test_slow_req(): function test_signal (line 72) | def test_signal(): function test_nc_stats (line 94) | def test_nc_stats(): function test_issue_323 (line 133) | def test_issue_323(): function setup_and_wait (line 146) | def setup_and_wait(): FILE: tests/test_redis/test_commands.py function test_linsert (line 6) | def test_linsert(): function test_exists (line 16) | def test_exists(): function test_lpush_lrange (line 23) | def test_lpush_lrange(): function test_hscan (line 34) | def test_hscan(): function test_hscan_large (line 48) | def test_hscan_large(): function test_zscan (line 78) | def test_zscan(): function test_sscan (line 91) | def test_sscan(): FILE: tests/test_redis/test_mget_large_binary.py function setup (line 14) | def setup(): function teardown (line 21) | def teardown(): function test_mget_binary_value (line 27) | def test_mget_binary_value(cnt=5): FILE: tests/test_redis/test_mget_mset.py function test_mget_mset (line 5) | def test_mget_mset(kv=default_kv): function test_mget_mset_on_key_not_exist (line 39) | def test_mget_mset_on_key_not_exist(kv=default_kv): function test_mget_mset_large (line 78) | def test_mget_mset_large(): function test_mget_special_key (line 83) | def test_mget_special_key(cnt=5): function test_mget_special_key_2 (line 93) | def test_mget_special_key_2(cnt=5): function test_mget_on_backend_down (line 103) | def test_mget_on_backend_down(): function test_mset_on_backend_down (line 132) | def test_mset_on_backend_down(): function test_mget_pipeline (line 144) | def test_mget_pipeline(): function test_multi_delete_normal (line 179) | def test_multi_delete_normal(): function test_multi_delete_on_readonly (line 194) | def test_multi_delete_on_readonly(): function test_multi_delete_on_backend_down (line 207) | def test_multi_delete_on_backend_down(): function test_multi_delete_20140525 (line 238) | def test_multi_delete_20140525(): FILE: tests/test_redis/test_pipeline.py function test_pipeline (line 5) | def test_pipeline(): function test_invalid_pipeline (line 25) | def test_invalid_pipeline(): function test_parse_error_raised (line 48) | def test_parse_error_raised(): FILE: tests/test_redis/test_protocol.py function get_conn (line 5) | def get_conn(): function _test (line 11) | def _test(req, resp, sleep=0): function test_slow (line 24) | def test_slow(): function test_pingpong (line 35) | def test_pingpong(): function test_quit (line 44) | def test_quit(): function test_quit_without_recv (line 53) | def test_quit_without_recv(): function _test_bad (line 64) | def _test_bad(req): function test_badreq (line 72) | def test_badreq(): function test_wrong_argc (line 90) | def test_wrong_argc(): FILE: tests/test_system/test_reload.py function _setup (line 38) | def _setup(): function _teardown (line 45) | def _teardown(): function get_tcp_conn (line 50) | def get_tcp_conn(host, port): function send_cmd (line 56) | def send_cmd(s, req, resp): function test_reload_with_old_conf (line 62) | def test_reload_with_old_conf(): function test_new_port (line 102) | def test_new_port(): function test_pool_add_del (line 131) | def test_pool_add_del():