Home
last modified time | relevance | path

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

/memcached-1.6.32/
Dtestapp.c1343 safe_recv_packet(buffer.bytes, sizeof(buffer.bytes)); in test_binary_noop()
1485 len = storage_command(send.bytes, sizeof(send.bytes), in test_binary_replace_impl()
1536 len = storage_command(send.bytes, sizeof(send.bytes), in test_binary_delete_impl()
1544 len = raw_command(send.bytes, sizeof(send.bytes), in test_binary_delete_impl()
1593 len = storage_command(send.bytes, sizeof(send.bytes), in test_binary_get_impl()
1613 memcpy(send.bytes + len, temp.bytes, l); in test_binary_get_impl()
1666 memcpy(send.bytes + len, temp.bytes, len2); in test_binary_getq_impl()
1672 memcpy(send.bytes + len, temp.bytes, len2); in test_binary_getq_impl()
1797 safe_recv_packet(buffer.bytes, sizeof(buffer.bytes)); in test_binary_version()
1858 len = raw_command(send.bytes, sizeof(send.bytes), in test_binary_flush_impl()
[all …]
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 …]
Dtls.c237 size_t bytes = 0; in ssl_sendmsg() local
256 memcpy(bp + bytes, (void*)msg->msg_iov[i].iov_base, to_copy); in ssl_sendmsg()
258 bytes += to_copy; in ssl_sendmsg()
265 return ssl_write(c, c->ssl_wbuf, bytes); in ssl_sendmsg()
Dextstore.h115 …te(void *ptr, unsigned int page_id, uint64_t page_version, unsigned int count, unsigned int bytes);
Ditems.h53 char *item_cachedump(const unsigned int slabs_clsid, const unsigned int limit, unsigned int *bytes);
Dextstore.c724 unsigned int count, unsigned int bytes) { in extstore_delete() argument
732 if (p->bytes_used >= bytes) { in extstore_delete()
733 p->bytes_used -= bytes; in extstore_delete()
744 e->stats.bytes_used -= bytes; in extstore_delete()
Dproto_bin.c63 for (ii = 0; ii < sizeof(req->bytes); ++ii) { in try_read_command_binary()
67 fprintf(stderr, " 0x%02x", req->bytes[ii]); in try_read_command_binary()
157 for (ii = 0; ii < sizeof(header->bytes); ++ii) { in add_bin_header()
161 fprintf(stderr, " 0x%02x", header->bytes[ii]); in add_bin_header()
Dproto_text.c770 unsigned int bytes, id, limit = 0; in process_stat() local
793 buf = item_cachedump(id, limit, &bytes); in process_stat()
794 write_and_free(c, buf, bytes); in process_stat()
Dmemcached.h1065 void write_and_free(conn *c, char *buf, int bytes);
Ditems.c645 char *item_cachedump(const unsigned int slabs_clsid, const unsigned int limit, unsigned int *bytes)… in item_cachedump() argument
692 *bytes = bufcurr; in item_cachedump()
Dmemcached.c1327 memcpy(buf, header.bytes, sizeof(header.response)); in append_bin_stats()
1740 void write_and_free(conn *c, char *buf, int bytes) { in write_and_free() argument
1744 resp_add_iov(resp, buf, bytes); in write_and_free()
/memcached-1.6.32/doc/
Dprotocol-binary.txt152 Total 24 bytes
190 Total 24 bytes
209 Total 24 bytes
328 0x00 Raw bytes
422 Total 33 bytes (24 byte header, and 9 bytes value)
470 Total 4 bytes
532 Total 29 bytes (24 byte header, and 5 bytes key)
696 Total 8 bytes
814 Total 24 bytes
948 Total 8 bytes
[all …]
Dprotocol-binary-range.txt121 The magic bytes remains the same as in [MEMCACHE].
199 Total 20 bytes
204 transport to indicate the location of the bytes of the value for a
246 Total 24 bytes
Dtls.txt64 | encrypted bytes | | unencrypted bytes |
122 of bytes and do the error handling when needed.
Dprotocol.txt192 set <key> <flags> <exptime> <bytes>\r\n
209 <command name> <key> <flags> <exptime> <bytes> [noreply]\r\n
210 cas <key> <flags> <exptime> <bytes> <cas unique> [noreply]\r\n
251 - <bytes> is the number of bytes in the data block to follow, *not*
308 VALUE <key> <flags> <bytes> [<cas unique>]\r\n
448 VALUE <key> <flags> <bytes> [<cas unique>]\r\n
490 size = total size in bytes
522 - <size> is the size of <data block> in bytes, minus the \r\n
638 The automatically created item has 0 bytes of data.
1315 | bytes | 64u | Current number of bytes used |
[all …]
Dstorage.txt92 exist which have less than 90% of their bytes used".
/memcached-1.6.32/t/
Dproxyrequest.lua18 local bytes = r:token_int(5)
19 flags = flags + ttl + bytes
/memcached-1.6.32/vendor/mcmc/
DREADME.md19 memory overhead to a handful of bytes plus the TCP socket.
Dmcmc.c179 uint32_t bytes = strtoul(p, &n, 10); in _mcmc_parse_value_line() local
197 r->vlen = bytes + 2; // add in the \r\n in _mcmc_parse_value_line()