Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 10 of 10) sorted by relevance

/memcached-1.6.32/
Dcrawler.c564 (crawlers[i].remaining && --crawlers[i].remaining < 1)) { in item_crawler_thread()
700 static int do_lru_crawler_start(uint32_t id, uint32_t remaining) { in do_lru_crawler_start() argument
714 if (remaining == LRU_CRAWLER_CAP_REMAINING) { in do_lru_crawler_start()
715 remaining = do_get_lru_size(sid); in do_lru_crawler_start()
724 if (remaining) remaining++; in do_lru_crawler_start()
725 crawlers[sid].remaining = remaining; in do_lru_crawler_start()
757 int lru_crawler_start(uint8_t *ids, uint32_t remaining, in lru_crawler_start() argument
821 starts += do_lru_crawler_start(sid, remaining); in lru_crawler_start()
839 void *c, const int sfd, unsigned int remaining) { in lru_crawler_crawl() argument
870 starts = lru_crawler_start(hash_crawl ? NULL : tocrawl, remaining, type, NULL, c, sfd); in lru_crawler_crawl()
Dcrawler.h36 void *c, const int sfd, unsigned int remaining);
37 int lru_crawler_start(uint8_t *ids, uint32_t remaining,
Dmemcached.h631 uint32_t remaining; /* Max keys to crawl per slab per invocation */ member
Dmemcached.c1347 int remaining = c->stats.size - c->stats.offset; in append_ascii_stats() local
1348 int room = remaining - 1; in append_ascii_stats()
/memcached-1.6.32/t/
Dbinary-sasl.t412 my ($magic, $cmd, $keylen, $extralen, $datatype, $status, $remaining,
415 return ($opaque, '', '', '', 0) if not defined $remaining;
416 return ($opaque, '', '', '', 0) if ($remaining == 0);
420 while($remaining - length($rv) > 0) {
421 $self->{socket}->recv(my $buf, $remaining - length($rv));
424 if(length($rv) != $remaining) {
426 die("Expected $remaining bytes, got $found");
Dbinary-extstore.t357 my ($magic, $cmd, $keylen, $extralen, $datatype, $status, $remaining,
363 return ($opaque, '', $cas, 0) if($remaining == 0);
367 while($remaining - length($rv) > 0) {
368 $self->{socket}->sysread(my $buf, $remaining - length($rv));
371 if(length($rv) != $remaining) {
373 die("Expected $remaining bytes, got $found");
Dbinary.t636 my ($magic, $cmd, $keylen, $extralen, $datatype, $status, $remaining,
642 return ($opaque, '', $cas, 0) if($remaining == 0);
646 while($remaining - length($rv) > 0) {
647 $self->{socket}->sysread(my $buf, $remaining - length($rv));
650 if(length($rv) != $remaining) {
652 die("Expected $remaining bytes, got $found");
/memcached-1.6.32/doc/
Dthreads.txt56 - In my testing, the remaining global STATS_LOCK calls never seem to collide.
Dprotocol.txt116 remaining), it is returned in the same order as they were in the original
124 seconds of TTL remaining, would return 't20' in the response.
552 - t: return item TTL remaining in seconds (-1 for unlimited)
559 - R(token): if remaining TTL is less than token, win for recache
560 - T(token): update remaining TTL
645 - R(token): if token is less than remaining TTL win for recache
647 Similar to and can be combined with 'N'. If the remaining TTL of an item is
652 - T(token): update remaining TTL
654 Similar to "touch" and "gat" commands, updates the remaining TTL of an item if
946 On success, sets the remaining TTL to the supplied value.
Dprotocol-binary-range.txt174 MAY choose to request the remaining portion of the value by sending