Home
last modified time | relevance | path

Searched refs:length (Results 1 – 11 of 11) sorted by relevance

/memcached-1.4.29/
H A Dstats.c70 size_t length; in stats_prefix_find() local
75 for (length = 0; length < nkey && key[length] != '\0'; length++) { in stats_prefix_find()
86 hashval = hash(key, length) % PREFIX_HASH_SIZE; in stats_prefix_find()
99 pfs->prefix = malloc(length + 1); in stats_prefix_find()
106 strncpy(pfs->prefix, key, length); in stats_prefix_find()
108 pfs->prefix_len = length; in stats_prefix_find()
114 total_prefix_size += length; in stats_prefix_find()
168 char *stats_prefix_dump(int *length) { in stats_prefix_dump() argument
208 *length = pos + 5; in stats_prefix_dump()
302 int length; in test_prefix_dump() local
[all …]
H A Djenkins_hash.c144 while (length > 12) in jenkins_hash()
150 length -= 12; in jenkins_hash()
166 switch(length) in jenkins_hash()
186 switch(length) in jenkins_hash()
210 while (length > 12) in jenkins_hash()
216 length -= 12; in jenkins_hash()
222 switch(length) in jenkins_hash()
271 length -= 12; in jenkins_hash()
328 length -= 12; in jenkins_hash()
344 switch(length) in jenkins_hash()
[all …]
H A Dmurmur3_hash.c71 uint32_t MurmurHash3_x86_32 ( const void * key, size_t length) in MurmurHash3_x86_32() argument
74 const int nblocks = length / 4; in MurmurHash3_x86_32()
106 switch(length & 3) in MurmurHash3_x86_32()
117 h1 ^= length; in MurmurHash3_x86_32()
H A Dmurmur3_hash.h15 uint32_t MurmurHash3_x86_32(const void *key, size_t length);
H A Djenkins_hash.h8 uint32_t jenkins_hash(const void *key, size_t length);
H A Dhash.h4 typedef uint32_t (*hash_func)(const void *key, size_t length);
H A Dstats.h8 char *stats_prefix_dump(int *length);
H A Dmemcached.c2670 size_t length; member
2709 tokens[ntokens].length = e - s; in tokenize_command()
2725 tokens[ntokens].length = e - s; in tokenize_command()
2734 tokens[ntokens].length = 0; in tokenize_command()
3153 while(key_token->length != 0) { in process_get_command()
3156 nkey = key_token->length; in process_get_command()
3348 if (tokens[KEY_TOKEN].length > KEY_MAX_LENGTH) { in process_update_command()
3354 nkey = tokens[KEY_TOKEN].length; in process_update_command()
3444 nkey = tokens[KEY_TOKEN].length; in process_touch_command()
3487 nkey = tokens[KEY_TOKEN].length; in process_arithmetic_command()
[all …]
H A DChangeLog90 * Handle negative length items properly (Dormando)
/memcached-1.4.29/m4/
H A Dc99-backport.m410 # variable length arrays.
/memcached-1.4.29/doc/
H A Dprotocol.txt30 preceding text line, the exact length of the data block being
36 data from a server, it must use the length of the data block (which it
47 length limit of a key is set at 250 characters (of course, normally
189 - <data block> is a chunk of arbitrary 8-bit data of length <bytes>
235 - <bytes> is the length of the data block to follow, *not* including
314 Note also that decrementing a number such that it loses length isn't
315 guaranteed to decrement its returned length. The number MAY be