Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 50) sorted by relevance

12

/memcached-1.6.32/
Dproto_text.c48 char *value; member
317 tokens[ntokens].value = s; in tokenize_command()
427 if (authfile_check(tokens[0].value, tokens[1].value) == 1) { in try_read_command_asciiauth()
514 if (tokens[noreply_index].value in set_noreply_maybe()
571 key = key_token->value; in process_get_command()
912 unsigned int value :1; member
1007 of->value = 1; in _meta_flag_preparse()
1159 if (of.value) { in process_mget_command()
1274 if (of.value) { in process_mget_command()
1898 if (of.value) { in process_marithmetic_command()
[all …]
/memcached-1.6.32/t/
Dlru-maintainer.t39 my $value = "B"x66560;
41 print $sock "set canary 0 0 66560\r\n$value\r\n";
57 mem_get_is($sock, "canary", $value);
58 mem_get_is($sock, "canary", $value);
74 print $sock "set key$key 0 0 66560\r\n$value\r\n";
85 mem_get_is($sock, "canary", $value);
96 print $sock "set canary 0 30 66560\r\n$value\r\n";
107 print $sock "set key$key 0 3600 66560\r\n$value\r\n";
119 mem_get_is($sock, "canary", $value);
Dextstore-buckets.t23 my $value;
27 $value .= $chars[rand @chars];
36 print $sock "set nfoo$_ 0 0 20000 noreply\r\n$value\r\n";
37 print $sock "set lfoo$_ 0 5 20000 noreply\r\n$value\r\n";
45 mem_get_is($sock, "nfoo1", $value);
50 cmp_ok($stats->{extstore_bytes_written}, '>', length($value) * 2, 'some bytes written');
53 cmp_ok($stats->{extstore_bytes_read}, '>', length($value), 'some bytes read');
Dextstore-tiered2.t28 my $value;
33 $value .= $chars[rand @chars];
46 print $sock "set nfoo$_ 0 0 20000 noreply\r\n$value\r\n";
47 print $sock "set lfoo$_ 0 0 20000 noreply\r\n$value\r\n";
65 if ($body ne "$value\r\n") {
80 print $sock "set kfoo$_ 0 0 20000 noreply\r\n$value\r\n";
89 print $sock "set zfoo$_ 0 0 20000 noreply\r\n$value\r\n";
99 cmp_ok($stats->{extstore_bytes_written}, '>', length($value) * 2, 'some bytes written');
102 cmp_ok($stats->{extstore_bytes_read}, '>', length($value), 'some bytes read');
Dextstore-jbod.t25 my $value;
29 $value .= $chars[rand @chars];
41 print $sock "set nfoo$_ 0 0 20000 noreply\r\n$value\r\n";
42 print $sock "set lfoo$_ 0 0 20000 noreply\r\n$value\r\n";
50 print $sock "set kfoo$_ 0 0 20000 noreply\r\n$value\r\n";
51 print $sock "set zfoo$_ 0 0 20000 noreply\r\n$value\r\n";
70 cmp_ok($stats->{extstore_bytes_written}, '>', length($value) * 2, 'some bytes written');
Dextstore.t56 my $value;
60 $value .= $chars[rand @chars];
77 print $sock "set canary 0 0 20000 noreply\r\n$value\r\n";
80 print $sock "set nfoo$_ 0 0 20000 noreply\r\n$value\r\n";
86 mem_get_is($sock, "nfoo1", $value);
91 cmp_ok($stats->{extstore_bytes_written}, '>', length($value) * 2, 'some bytes written');
94 cmp_ok($stats->{extstore_bytes_read}, '>', length($value), 'some bytes read');
121 print $sock "set mfoo$_ 0 0 20000 noreply\r\n$value\r\n";
175 print $sock "set bfoo$_ 0 0 20000 noreply\r\n$value\r\n";
Dextstore-tiered.t25 my $value;
30 $value .= $chars[rand @chars];
42 print $sock "set nfoo$_ 0 0 20000 noreply\r\n$value\r\n";
43 print $sock "set lfoo$_ 0 0 20000 noreply\r\n$value\r\n";
48 mem_get_is($sock, "nfoo1", $value);
68 cmp_ok($stats->{extstore_bytes_written}, '>', length($value) * 2, 'some bytes written');
71 cmp_ok($stats->{extstore_bytes_read}, '>', length($value), 'some bytes read');
Dslabs-reassign-chunked.t24 my $value;
28 $value .= $chars[rand @chars];
36 print $sock "set nfoo$_ 0 0 11000 noreply\r\n$value\r\n";
88 my $expected = "VALUE nfoo$_ 0 11000\r\n$value\r\nEND\r\n";
102 $value = "A"x3000;
104 print $sock "set ifoo$_ 0 0 3000 noreply\r\n$value\r\n";
112 my $expected = "VALUE ifoo$_ 0 3000\r\n$value\r\nEND\r\n";
Ddash-M.t12 my $value = "B" x 8192;
13 my $vallen = length($value);
19 print $sock "set dash$key 0 0 $vallen\r\n$value\r\n";
28 print $sock "set dash$key 0 0 $vallen\r\n$value\r\n";
37 mem_get_is $sock, "dash$key", $value, "Failed at dash$key";
Dslabs-reassign2.t14 my $value = "B"x11000;
19 print $sock "set nfoo$_ 0 0 11000 noreply\r\n$value\r\n";
50 $value = "B"x7000;
52 print $sock "set ifoo$_ 0 0 7000 noreply\r\n$value\r\n";
60 my $expected = "VALUE ifoo$_ 0 7000\r\n$value\r\nEND\r\n";
126 $value = "B"x4096;
128 print $sock "set jfoo$_ 0 0 4096 noreply\r\n$value\r\n";
Dproxyintext.t27 my $value;
31 $value .= $chars[rand @chars];
79 $t->c_send("ms top/$c 20000 F$c\r\n$value\r\n");
92 $t->c_recv("$value\r\n", "value received");
Ddyn-maxbytes.t12 my $value = "B"x66560;
17 print $sock "set key$key 0 0 66560\r\n$value\r\n";
39 print $sock "set toast 0 0 66560\r\n$value\r\n";
52 print $sock "set key$key 0 0 66560\r\n$value\r\n";
Devictions.t12 my $value = "B"x66560;
17 print $sock "set key$key 0 0 66560\r\n$value\r\n";
23 print $sock "set key$key 0 600 66560\r\n$value\r\n";
Dissue_14.t11 my $value = "B"x66560;
15 print $sock "set key$key 0 2 66560\r\n$value\r\n";
26 print $sock "set key$key 0 2 66560\r\n$value\r\n";
Dissue_22.t11 my $value = "B"x66560;
15 print $sock "set key$key 0 0 66560\r\n$value\r\n";
33 print $sock "set key$key 0 0 66560\r\n$value\r\n";
Drefhang.t21 my $value = "B"x66560;
28 print $sock "set key$key 0 0 66560\r\n$value\r\n";
49 print $sock "set key$key 0 0 66560\r\n$value\r\n";
Dextstore-cas.t24 my $value;
28 $value .= $chars[rand @chars];
35 print $sock "set foo 0 0 20000 noreply\r\n$value\r\n";
Dbinary-extstore.t114 my $value;
119 $value .= $chars[rand @chars];
145 $set->("nfoo$_", 0, 19, $value);
150 $check->('nfoo1', 19, $value);
162 is($rv->{nfoo2}->[1], $value, 'multiget nfoo2');
163 is($rv->{nfoo3}->[1], $value, 'multiget nfoo2');
189 $set->("mfoo$_", 0, 19, $value);
193 $set->("mfoo$_", 0, 19, $value);
338 my ($cmd, $key, $value) = @_;
342 $mc->send_silent($cmd, $key, $value, 7278552, $extra, 0);
[all …]
Dudp.t85 my ($protocol, $req_id, $key, $value, $flags, $exp) = @_;
87 my $val_len = length($value);
90 $req = "set $key $flags $exp $val_len\r\n$value\r\n";
97 $req .= $extra . $key . $value;
113 my ($protocol, $req_id, $key, $value, $exists) = @_;
115 my $value_len = length($value);
130 …is($resp,"VALUE $key 0 $value_len\r\n$value\r\nEND\r\n","Retrieve entry with key $key using ASCII …
139 …is(substr($resp,::MIN_RECV_BYTES + $resp_extra_len + $resp_key_len, $value_len),$value,"Value for …
Dbinary.t384 my $value = "some value";
385 $set->($key, 8, 19, $value);
387 $check->($key, 19, $value . " more");
393 my $value = "some value";
394 $set->($key, 8, 19, $value);
402 my $value = "some value";
403 $set->($key, 8, 19, $value);
411 my $value = "some value";
412 $set->($key, 8, 19, $value);
617 my ($cmd, $key, $value) = @_;
[all …]
Dissue_42.t11 my $value = "B"x10;
16 print $sock "set key$key 0 0 10\r\n$value\r\n";
Dslabhang.t20 my $value = "B"x260144;
31 print $sock "set key$key 0 0 260144\r\n$value\r\n";
/memcached-1.6.32/doc/
Dprotocol-binary.txt444 MUST NOT have value.
457 MAY have value.
681 MUST have value.
700 the provided value.
834 MUST NOT have value.
905 MUST NOT have value.
935 seeding the value for this key with the provided initial value to
1070 value. If not the incremented value will be returned. Let's assume
1115 MUST NOT have value.
1171 MUST NOT have value.
[all …]
Dprotocol-binary-range.txt19 Memcache is a high performance key-value cache. It is intentionally
84 Memcache is a high performance key-value cache. It is intentionally
147 When a Get or GetQ request is made via UDP, and the value of the key
160 4. The Total value length field of the response extras MUST be the
161 actual length of the complete value.
173 that it has received only the first portion of the value. The client
174 MAY choose to request the remaining portion of the value by sending
180 transport to request byte ranges of the value for a key. In the
204 transport to indicate the location of the bytes of the value for a
244 20| Total value length |
Dprotocol.txt387 - <value>\r\n , where <value> is the new value of the item's data,
391 to decrease the value below 0, the new value will be 0. Overflow in
753 CAS value that is _lower_ than the current value may be accepted, but the item
864 This deletes the value off of an item (by replacing it with an empty value
918 - v: return new value
925 Can be used to only incr/decr if a supplied CAS value matches. A new CAS value
927 value after success.
934 - J(token): initial value
1147 Lines are in "key=value key2=value2" format, with value being URI encoded
1284 STAT <name> <value>\r\n
[all …]

12