Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 31) sorted by relevance

12

/memcached-1.6.32/t/
Dproxyunits.lua66 if res:code() == mcp.MCMC_CODE_ERROR then
267 local code = res:code()
268 if code == mcp.MCMC_CODE_OK then
273 local code = res:code()
296 local code = res:code()
318 local code = res:code()
324 local code = res:code()
330 local code = res:code()
336 local code = res:code()
349 local code = res:code()
[all …]
Dstartfile.lua186 if res:code() == mcp.MCMC_CODE_NOT_FOUND then
/memcached-1.6.32/vendor/mcmc/
Dmcmc.c269 r->code = MCMC_CODE_OK; in _mcmc_parse_response()
274 r->code = MCMC_ERR_SHORT; in _mcmc_parse_response()
278 int code = MCMC_ERR; in _mcmc_parse_response() local
301 code = MCMC_CODE_OK; in _mcmc_parse_response()
313 code = MCMC_CODE_OK; in _mcmc_parse_response()
385 code = MCMC_CODE_END; in _mcmc_parse_response()
455 if (code < MCMC_OK) { in _mcmc_parse_response()
456 r->code = -code; in _mcmc_parse_response()
459 r->code = code; in _mcmc_parse_response()
742 r->code = MCMC_WANT_READ; in mcmc_parse_buf()
[all …]
DREADME.md6 generic response parser, allowing a single code path regardless of the command
30 This should be the same, if not less, code than wrapping a full C client with
32 should!) embed mcmc.c/mcmc.h (and any selector code they want) rather than be
35 The allocation-free nature also makes unit testing the client code easier,
47 As of this writing the code is being released _early_ (perhaps too early?). It
48 may not have proper makefiles, tests, or a fully implemented API. The code has
Dmcmc.h70 short code; member
133 void mcmc_get_error(void *c, char *code, size_t clen, char *msg, size_t mlen);
Dexample.c27 } while (resp.code == MCMC_WANT_READ); in show_response_buffer()
DLICENSE8 * Redistributions of source code must retain the above copyright
/memcached-1.6.32/
Dproxy_mutator.c476 char *code = NULL; in mut_step_c() local
483 code = RESERR_ERROR_STR; in mut_step_c()
485 code = RESERR_SERVER_STR; in mut_step_c()
487 code = RESERR_CLIENT_STR; in mut_step_c()
492 total += strlen(code); in mut_step_c()
515 const char *code = NULL; in mut_step_i() local
521 code = RESERR_ERROR_STR; in mut_step_i()
523 code = RESERR_SERVER_STR; in mut_step_i()
525 code = RESERR_CLIENT_STR; in mut_step_i()
531 size_t clen = strlen(code); in mut_step_i()
[all …]
Dproxy_result.c27 if (r->status == MCMC_OK && r->resp.code != MCMC_CODE_END) { in mcplib_response_hit()
57 lua_pushinteger(L, r->resp.code); in mcplib_response_code()
Dproxy_network.c306 io->client_resp->resp.code = MCMC_CODE_SERVER_ERROR; in _proxy_flush_backend_queue()
507 if (r->resp.code == MCMC_WANT_READ) { in proxy_backend_drive_machine()
547 if (r->resp.code != MCMC_CODE_SERVER_ERROR) { in proxy_backend_drive_machine()
889 io->client_resp->resp.code = MCMC_CODE_SERVER_ERROR; in _reset_bad_backend()
1093 if (r.code == MCMC_WANT_READ) { in proxy_bevalidate_tls_handler()
1102 if (r.code != MCMC_CODE_VERSION) { in proxy_bevalidate_tls_handler()
1263 if (r.code == MCMC_WANT_READ) { in proxy_beconn_handler()
1272 if (r.code != MCMC_CODE_VERSION) { in proxy_beconn_handler()
DChangeLog7 See http://code.google.com/p/memcached/wiki/ReleaseNotes
64 * Remove managed instance code. Incomplete/etc. (Dormando)
120 * Enable UDP by default, clean up server socket code
341 multithreaded version's message passing code.
407 * Nathan Neulinger <[email protected]>: fix breakage in expiration code
412 unix domain socket support and the UDP code and clean up stale
531 * Shift init code around to fix daemon mode on FreeBSD,
542 comes up. no other code had to be modified, since everything
DLICENSE.bipbuffer6 * Redistributions of source code must retain the above copyright
DLICENSE8 * Redistributions of source code must retain the above copyright
DCOPYING8 * Redistributions of source code must retain the above copyright
DLICENSE.itoa_ljust17 * Redistributions of source code must retain the above copyright
Dlogger.h131 unsigned short code; member
Dconfigure.ac128 [AS_HELP_STRING([--enable-proxy], [Enable proxy code EXPERIMENTAL])])
131 [AS_HELP_STRING([--enable-proxy-uring], [Enable proxy io_uring code EXPERIMENTAL])])
134 [AS_HELP_STRING([--enable-proxy-tls], [Enable proxy io_uring code EXPERIMENTAL])])
250 AC_DEFINE([PROXY],1,[Set to nonzero if you want to enable proxy code])
294 [AS_HELP_STRING([--disable-coverage],[Disable code coverage])])
665 dnl Check if we're a little-endian or a big-endian system, needed by hash code
Dlogger.c348 unsigned short code = va_arg(ap, int); in _logger_log_proxy_req() local
358 le->code = code; in _logger_log_proxy_req()
401 le->elapsed, le->type, le->code, le->status, le->conn_fd, in _logger_parse_prx_req()
DDoxyfile171 # Doxygen uses this value to replace tabs by spaces in code fragments.
318 # This flag is only useful for Objective-C code. When set to YES local
621 # directories that contain example code fragments that are included (see
691 # doxygen to hide any special comment blocks from generated source code
711 # link to the source code.
716 # If the USE_HTAGS tag is set to YES then the references to source code
1122 # the code including all documentation.
1157 # that captures the structure of the code including all
1169 # the code including all documentation. Note that this
1176 # the necessary Makefile rules, Perl scripts and LaTeX code to be able
[all …]
/memcached-1.6.32/scripts/
Ddamemtop56 'hostname' => { stats => [], code => \&compute_hostname},
58 code => \&compute_hit_rate },
60 code => \&compute_fill_rate },
305 return $comp->{code}->($host, \%s);
DREADME.damemtop5 Under development. Latest code is available at:
/memcached-1.6.32/doc/
DCONTRIBUTORS3 This file contains a list of people who have contributed code and
17 Anatoly Vorobey <[email protected]> -- lots of the modern server code
Dprotocol-binary.txt214 Opcode Command code.
347 each request. If the status code of a response packet is non-nil,
349 status code is nil, the command opcode will define the layout of the
486 then you could potentially get back a lot of "NOT_FOUND" error code
549 otherwise a packet with status code != 0 will be returned (see
790 operation is signaled through the status code. If the command
889 operation is signaled through the status code.
1164 operation is signaled through the status code. The server will then
1275 operation is signaled through the status code.
1330 operation is signaled through the status code.
[all …]
Dnapi_ids.txt28 not specified, or the conditions not met, the code defaults to round robin
DDoxyfile169 # Doxygen uses this value to replace tabs by spaces in code fragments.
252 # This flag is only useful for Objective-C code. When set to YES local
518 # directories that contain example code fragments that are included (see
585 # doxygen to hide any special comment blocks from generated source code
605 # link to the source code. Otherwise they will link to the documentation.
609 # If the USE_HTAGS tag is set to YES then the references to source code
910 # the code including all documentation.
945 # that captures the structure of the code including all
957 # the code including all documentation. Note that this
964 # the necessary Makefile rules, Perl scripts and LaTeX code to be able
[all …]

12