Home
last modified time | relevance | path

Searched refs:max (Results 1 – 16 of 16) sorted by relevance

/memcached-1.6.32/t/
Dstress-memcached.pl57 my $max = rand(50);
60 for (my $i = 0; $i < $max; $i++) {
67 my $rand = int(rand($max));
83 $rand = int(rand($max));
92 my $multi = $memc->get_multi(map { key(int(rand($max))) } (1..$max));
Dchunked-extstore.t73 my $max = 1024 * 1024;
75 while (length($big) * 2 < $max) {
93 cmp_ok($stats->{extstore_bytes_written}, '>', $max * 2, 'some bytes written');
96 cmp_ok($stats->{extstore_bytes_read}, '>', $max * 2, 'some bytes read');
Dchunked-items.t39 my $max = 1024 * 1024;
41 while (length($big) * 2 < $max) {
Dlru.t14 my $max = 1024 * 1024;
Dissue_260.t22 my $max = 1024 * 1024;
Dbinary.t422 my $max = 1024 * 1024;
424 while (length($big) * 2 < $max) {
/memcached-1.6.32/scripts/
Dmemcached-tool245 my $max = 0;
258 $max = $1;
263 foreach my $n (1..$max) {
/memcached-1.6.32/
Dproxy_request.c10 static int _process_tokenize(mcp_parser_t *pr, const size_t max) { in _process_tokenize() argument
29 if (++curtoken == max) { in _process_tokenize()
240 static int _process_request_storage(mcp_parser_t *pr, size_t max) { in _process_request_storage() argument
241 _process_tokenize(pr, max); in _process_request_storage()
269 static int _process_request_simple(mcp_parser_t *pr, const int min, const int max) { in _process_request_simple() argument
270 _process_tokenize(pr, max); in _process_request_simple()
Dproxy_lua.c439 uint32_t max = lua_tointeger(L, -1); in mcplib_backend() local
440 be->tunables.flap_backoff_max = max; in mcplib_backend()
1148 uint32_t max = lua_tointeger(L, -1); in mcplib_backend_flap_backoff_max() local
1152 ctx->tunables.flap_backoff_max = max; in mcplib_backend_flap_backoff_max()
Dtestapp.c2170 enum { max = 2 }; in test_issue_101() enumerator
2172 struct conn *conns[max]; in test_issue_101()
2185 for (ii = 0; ii < max; ++ii) { in test_issue_101()
2193 for (ii = 0; ii < max; ++ii) { in test_issue_101()
2232 for (ii = 0; ii < max; ++ii) { in test_issue_101()
Dmemcached.c3442 int min, max, avg; local
3458 max = MAX_SENDBUF_SIZE;
3460 while (min <= max) {
3461 avg = ((unsigned int)(min + max)) / 2;
3466 max = avg - 1;
4296 size_t max = sizes[0]; local
4301 if (max < sizes[ii]) {
4302 max = sizes[ii];
4307 arg.mha_pagesize = max;
DChangeLog436 later. this is 18 MB of allocation on start, unless max memory
510 default) setting of max connections.
Dproto_text.c249 #define WANT_TOKENS(ntokens, min, max) \ argument
251 if ((min != -1 && ntokens < min) || (max != -1 && ntokens > max)) { \
/memcached-1.6.32/vendor/mcmc/
Dmcmc.c53 #define _mcmc_tokenize(t, line, len, mstart, max) _mcmc_tokenize_meta(t, line, len, UINT8_MAX, max) argument
59 …tokenize_meta(mcmc_tokenizer_t *t, const char *line, size_t len, const int mstart, const int max) { in _mcmc_tokenize_meta() argument
92 if (++curtoken == max) { in _mcmc_tokenize_meta()
Dmcmc.h161 …_tokenize_meta(mcmc_tokenizer_t *t, const char *line, size_t len, const int mstart, const int max);
/memcached-1.6.32/doc/
Dprotocol.txt1050 "max hot factor", "max warm age factor". IE: "lru tune 10 25 0.1 2.0".
1097 A value of "0" disables the sleep, "1000000" (one second) is the max.