Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 6 of 6) sorted by relevance

/memcached-1.4.29/
H A Dtestapp.c1039 safe_recv_packet(buffer.bytes, sizeof(buffer.bytes)); in test_binary_noop()
1180 len = storage_command(send.bytes, sizeof(send.bytes), in test_binary_replace_impl()
1231 len = storage_command(send.bytes, sizeof(send.bytes), in test_binary_delete_impl()
1239 len = raw_command(send.bytes, sizeof(send.bytes), in test_binary_delete_impl()
1288 len = storage_command(send.bytes, sizeof(send.bytes), in test_binary_get_impl()
1308 memcpy(send.bytes + len, temp.bytes, l); in test_binary_get_impl()
1361 memcpy(send.bytes + len, temp.bytes, len2); in test_binary_getq_impl()
1367 memcpy(send.bytes + len, temp.bytes, len2); in test_binary_getq_impl()
1492 safe_recv_packet(buffer.bytes, sizeof(buffer.bytes)); in test_binary_version()
1553 len = raw_command(send.bytes, sizeof(send.bytes), in test_binary_flush_impl()
[all …]
H A Dprotocol_binary.h163 uint8_t bytes[24]; member
182 uint8_t bytes[24]; member
192 uint8_t bytes[sizeof(protocol_binary_request_header)]; member
202 uint8_t bytes[sizeof(protocol_binary_response_header)]; member
226 uint8_t bytes[sizeof(protocol_binary_response_header) + 4]; member
258 uint8_t bytes[sizeof(protocol_binary_request_header) + 4]; member
279 uint8_t bytes[sizeof(protocol_binary_request_header) + 8]; member
318 uint8_t bytes[sizeof(protocol_binary_request_header) + 20]; member
399 uint8_t bytes[sizeof(protocol_binary_request_header) + 4]; member
417 uint8_t bytes[sizeof(protocol_binary_request_header) + 4]; member
[all …]
H A Ditems.h20 char *item_cachedump(const unsigned int slabs_clsid, const unsigned int limit, unsigned int *bytes);
H A Dmemcached.c100 static void write_and_free(conn *c, char *buf, int bytes);
1155 for (ii = 0; ii < sizeof(header->bytes); ++ii) { in add_bin_header()
1159 fprintf(stderr, " 0x%02x", header->bytes[ii]); in add_bin_header()
1571 memcpy(buf, header.bytes, sizeof(header.response)); in append_bin_stats()
2741 static void write_and_free(conn *c, char *buf, int bytes) { in write_and_free() argument
2745 c->wbytes = bytes; in write_and_free()
3092 unsigned int bytes, id, limit = 0; in process_stat() local
3110 buf = item_cachedump(id, limit, &bytes); in process_stat()
3111 write_and_free(c, buf, bytes); in process_stat()
4080 for (ii = 0; ii < sizeof(req->bytes); ++ii) { in try_read_command()
[all …]
H A Ditems.c470 char *item_cachedump(const unsigned int slabs_clsid, const unsigned int limit, unsigned int *bytes)… in item_cachedump() argument
516 *bytes = bufcurr; in item_cachedump()
/memcached-1.4.29/doc/
H A Dprotocol.txt129 <command name> <key> <flags> <exptime> <bytes> [noreply]\r\n
130 cas <key> <flags> <exptime> <bytes> <cas unique> [noreply]\r\n
171 - <bytes> is the number of bytes in the data block to follow, *not*
172 including the delimiting \r\n. <bytes> may be zero (in which case
189 - <data block> is a chunk of arbitrary 8-bit data of length <bytes>
228 VALUE <key> <flags> <bytes> [<cas unique>]\r\n
235 - <bytes> is the length of the data block to follow, *not* including
570 | bytes | 64u | Current number of bytes used |
819 'size' is an approximate size of the item, within 32 bytes.
826 most of your items are less than 200 bytes in size.
[all …]