Home
last modified time | relevance | path

Searched refs:s (Results 1 – 23 of 23) sorted by relevance

/memcached-1.4.29/t/
H A Dslabs-reassign-chunked.t14 my $s = shift;
16 for my $k (sort keys %$s) {
20 print STDERR "STAT: $k = ", $s->{$k}, "\n";
53 my $s = mem_stats($sock, 'slabs');
56 for my $k (keys %$s) {
58 $sid = $s->{$k} if $s->{$k} > $1;
H A Dslabs-reassign2.t84 my $s = mem_stats($sock, 'slabs');
87 for my $k (keys %$s) {
89 if ($s->{$k} > $max_pages) {
90 $max_pages = $s->{$k};
99 my $s = mem_stats($sock);
100 last if $s->{slab_reassign_evictions_nomem} > 0;
H A Dcas.t23 my $s = $svr->sock;
25 print $s $line;
26 is(scalar <$s>, "CLIENT_ERROR bad command line format\r\n", $name);
H A Dbinary-sasl.t301 my ($s) = @_;
302 $s = $server unless defined $s;
303 my $sock = $s->sock;
312 my $buf = sprintf("%c%s%c%s", 0, $user, 0, $pass);
H A Dbinary.t525 my ($s) = @_;
526 $s = $server unless defined $s;
527 my $sock = $s->sock;
/memcached-1.4.29/scripts/
H A Dmc_slab_mover228 my ($sb, $sa, $s) = @_;
229 if ($s->{evicted_d}) {
230 $s->{numratio} = $s->{evicted_d} / $s->{number};
231 } else { $s->{numratio} = 0; }
H A Ddamemtop233 my $s = $_[1];
234 my $total = $s->{get_hits} + $s->{get_misses};
236 return $s->{get_hits} / $total;
240 my $s = $_[1];
241 return $s->{bytes} / $s->{limit_maxbytes};
301 my %s = ();
303 $s{$stat} = $diff_stat->($stat);
305 return $comp->{code}->($host, \%s);
H A Dmemcached.service1 # It's not recommended to modify this file in-place, because it will be
20 # access this service's directories.
H A DREADME.damemtop1 dormando's awesome memcached top
/memcached-1.4.29/
H A Dversion.sh3 if git describe | sed s/-/_/g > version.num.tmp
8 sed s/@VERSION@/`cat version.num`/ < memcached.spec.in > memcached.spec
H A Ditems.c1050 crawlerstats_t *s = &crawlerstats[i]; in lru_maintainer_crawler_check() local
1058 if (s->run_complete) { in lru_maintainer_crawler_check()
1061 uint64_t possible_reclaims = s->seen - s->noexp; in lru_maintainer_crawler_check()
1066 uint64_t low_watermark = (s->seen / 100) + 1; in lru_maintainer_crawler_check()
1076 available_reclaims += s->histo[x]; in lru_maintainer_crawler_check()
1300 crawlerstats_t *s = &crawlerstats[slab_id]; in item_crawler_evaluate() local
1306 s->reclaimed++; in item_crawler_evaluate()
1325 s->seen++; in item_crawler_evaluate()
1328 s->noexp++; in item_crawler_evaluate()
1330 s->ttl_hourplus++; in item_crawler_evaluate()
[all …]
H A DBUILD15 it's http://www.xmailserver.org/linux-patches/epoll-lib-0.9.tar.gz .
17 epoll.h from that tarball to /usr/include/sys as that's the only thing
H A DChangeLog94 * Fix refcount leaks, which would result in OOM's on all sets
170 (specified by "-s").
195 FreeBSD's sendmsg() requires msg_name in msghdr structure
305 * Fix a number of places where (s)printf calls were using unsigned
337 multithreaded version's message passing code.
341 the past, before the server's start time. bug was introduced in
426 * avva: bucket/generation patch (old, but Brad's just finally
519 * add Jay Bonci's Debian scripts and manpage
554 * disable Nagel's Algorithm (TCP_NODELAY) for better performance (avva)
H A DREADME.md14 epoll isn't in Linux 2.4, but there's a backport at:
H A DHACKING33 Because the version number changes on each commit, it's good to use a
H A Dconfigure.ac141 $DTRACE -G -o conftest.$$ -s memcached_dtrace.d 2>/dev/zero
294 If it's already installed, specify its path using --with-libevent=/dir/
468 dnl Check whether the user's system supports pthread
525 dnl These were added in 4.1.2, but 32bit OS's may lack shorts and 4.1.2
H A Dmemcached.c2697 char *s, *e; in tokenize_command() local
2704 s = e = command; in tokenize_command()
2707 if (s != e) { in tokenize_command()
2718 s = e + 1; in tokenize_command()
2723 if (s != e) { in tokenize_command()
2724 tokens[ntokens].value = s; in tokenize_command()
5076 char *s = strchr(p, ':'); in server_sockets() local
5077 if (s != NULL) { in server_sockets()
5083 *s = '\0'; in server_sockets()
5084 ++s; in server_sockets()
[all …]
H A DDoxyfile180 # You can put \n's in the value part of an alias to insert newlines.
358 # function's detailed documentation block.
718 # built-in source browser. The htags tool is part of GNU's global source
810 # will be generated that can be used as input for Apple's Xcode 3
922 # be used to specify the location of Qt's qhelpgenerator.
1077 # Load stylesheet definitions from file. Syntax is similar to doxygen's
1084 # Syntax is similar to doxygen's config file.
1104 # the generated man pages (default is the subroutine's section .3)
1110 # documented in the real man page(s). These additional files
1194 # Makefile don't overwrite each other's variables.
[all …]
/memcached-1.4.29/doc/
H A Dnew_lru.txt10 * LRU's are now split between HOT, WARM, and COLD LRU's. New items enter the
18 * A background thread exists which shuffles items between/within the LRU's as
34 slab classes for items with expired TTL's. If your items are always set to
H A Dthreads.txt24 system must attempt to lock the item's bucket, which is done with a trylock
28 - Each LRU (and sub-LRU's in newer modes) has an independent lock.
H A Dprotocol.txt67 data block with the item's data; this continues until the server
163 - <exptime> is expiration time. If it's 0, the item never expires
165 items). If it's non-zero (either Unix time or offset in seconds from
173 it's followed by an empty data block).
307 - <value>\r\n , where <value> is the new value of the item's data,
416 TTL's, but aren't accessed very often. This system is not required for normal
474 Watchers are a way to connect to memcached and inspect what's going on
497 less standard or binary characters, "%NN"'s are inserted to represent the
645 | moves_to_cold | 64u | Items moved from HOT/WARM to COLD LRU's |
973 response to a retrieval command (unless it's stored again under the
[all …]
H A DDoxyfile178 # You can put \n's in the value part of an alias to insert newlines.
199 # definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
284 # function's detailed documentation block.
611 # built-in source browser. The htags tool is part of GNU's global source
865 # Load stylesheet definitions from file. Syntax is similar to doxygen's
872 # Syntax is similar to doxygen's config file.
892 # the generated man pages (default is the subroutine's section .3)
898 # documented in the real man page(s). These additional files
980 # Makefile don't overwrite each other's variables.
1043 # doxygen's preprocessor will remove all function-like macros that are alone
[all …]
/memcached-1.4.29/m4/
H A Dc99-backport.m490 case 's': // string
117 test_varargs ("s, d' f .", "string", 65, 34.234);