Home
last modified time | relevance | path

Searched refs:res (Results 1 – 14 of 14) sorted by relevance

/memcached-1.4.29/t/
H A Dwatcher.t19 my $res = <$watcher>;
20 is($res, "OK\r\n", "watcher enabled");
23 $res = <$client>;
24 is($res, "END\r\n", "basic get works");
32 $res = <$client>;
44 $res = <$client>;
50 $res = <$client>;
53 $res = <$watcher>;
69 $res = <$watcher>;
70 is($res, "OK\r\n", "new watcher enabled");
[all …]
H A Dudp.t44 my $res = send_udp_request($usock, $req, "get foo\r\n");
45 ok($res, "got result");
46 is(keys %$res, 1, "one key (one packet)");
47 ok($res->{0}, "only got seq number 0");
48 is(substr($res->{0}, 8), "VALUE foo 0 6\r\nfooval\r\nEND\r\n");
49 …is(hexify(substr($res->{0}, 0, 2)), hexify(pack("n", $req)), "udp request number in response ($req…
236 my $res;
237 my $sender = $sock->recv($res, 1500, 0);
238 my ($resid, $seq, $this_numpkts, $resv) = unpack("nnnn", substr($res, 0, 8));
243 $ret->{$seq} = $res;
H A Dslabs-reassign-chunked.t33 my $res;
62 my $res = scalar <$sock>;
63 chomp $res;
H A D64bit.t38 my $res = <$sock>;
39 $hit_limit = 1 if $res ne "STORED\r\n";
H A Dslabs-reassign2.t17 my $res;
97 my $res = <$sock>;
H A Dchunked-items.t34 my $res = <$sock>;
35 is($res, "STORED\r\n", "stored some big items");
H A Drefhang.t46 my $res = scalar <$sock>;
H A Dbinary.t290 my $res = $mc->touch("totouch", 10);
302 $res = $mc->touch("totouch", 1);
/memcached-1.4.29/
H A Dmemcached.c3537 int res; in do_add_delta() local
3584 res = strlen(buf); in do_add_delta()
3598 memset(ITEM_data(it) + res, ' ', it->nbytes - res - 2); in do_add_delta()
4175 int res; in try_read_udp() local
4183 if (res > 8) { in try_read_udp()
4199 res -= 8; in try_read_udp()
4223 int res; in try_read_network() local
4258 if (res > 0) { in try_read_network()
4358 ssize_t res; in transmit() local
4413 int res; in read_into_chunked_item() local
[all …]
H A Dthread.c89 unsigned short res; in refcount_incr()
92 res = *refcount; in refcount_incr()
94 return res; in refcount_incr()
104 unsigned short res; in refcount_decr()
107 res = *refcount; in refcount_decr()
109 return res; in refcount_decr()
H A Dlogger.c102 uint64_t res = ++logger_gid; in logger_get_gid() local
104 return res; in logger_get_gid()
431 int res = read(w->sfd, buf, 1); in logger_thread_poll_watchers() local
432 if (res == 0 || (res == -1 && (errno != EAGAIN && errno != EWOULDBLOCK))) { in logger_thread_poll_watchers()
H A Dslabs.c84 int res = POWER_SMALLEST; in slabs_clsid() local
88 while (size > slabclass[res].size) in slabs_clsid()
89 if (res++ == power_largest) /* won't fit in the biggest slab */ in slabs_clsid()
91 return res; in slabs_clsid()
/memcached-1.4.29/scripts/
H A Ddamemtop246 my $res;
353 my $res = compute_column($col, $host, $prev_stats->{$host},
355 $tot_row[$colnum] += $res if is_numeric($res);
356 push @row, $res;
H A Dmc_slab_mover209 my $res = <$sock>;
210 print " RES: ", $res;