| /memcached-1.4.29/t/ |
| H A D | issue_260.t | 39 for (my $i = 0; $i < 100; $i++) { 40 print $sock "set item_$i 0 0 $len\r\n$big\r\n"; 41 is(scalar <$sock>, "STORED\r\n", "stored item_$i"); 53 for (my $i = 0; $i < $evictions - 1; $i++) { 54 mem_get_is($sock, "item_$i", undef); 58 for (my $i = $evictions - 1; $i < $evictions + 4; $i++) { 59 mem_get_is($sock, "item_$i", $big); 63 for (my $i = 0; $i < 10923; $i++) { 64 print $sock "set sitem_$i 0 0 1\r\n1\r\n"; 65 is(scalar <$sock>, "STORED\r\n", "stored sitem_$i");
|
| H A D | lru.t | 37 for (my $i = 0; $i < 100; $i++) { 38 print $sock "set item_$i 0 0 $len\r\n$big\r\n"; 39 is(scalar <$sock>, "STORED\r\n", "stored item_$i"); 51 for (my $i = 0; $i < $evictions - 1; $i++) { 52 mem_get_is($sock, "item_$i", undef); 56 for (my $i = $evictions - 1; $i < $evictions + 4; $i++) { 57 mem_get_is($sock, "item_$i", $big);
|
| H A D | issue_41.t | 20 for (my $i=0; $i<69; $i++) { 22 $key = "$i:$j";
|
| H A D | idle-timeout.t | 22 for (my $i = 0; $i < 6; $i++) { 24 isnt($stats->{version}, undef, "check active $i");
|
| H A D | stress-memcached.pl | 60 for (my $i = 0; $i < $max; $i++) { 61 my $key = key($i);
|
| H A D | binary.t | 263 my ($flags, $val, $i) = $mc->get("x"); 265 is($rcas, $i, "Add CAS matched."); 268 my $rv =()= eval { $mc->set("x", "broken value", 19, 5, $i+1) }; 273 ($r, $rcas) = $mc->set("x", "new value", 19, 5, $i); 280 my $rv =()= eval { $mc->set("x", "replay value", 19, 5, $i) }; 295 my ($flags, $val, $i) = $mc->gat("totouch", 10); 473 for (my $i = 1900; $i < 2100; $i++) { 474 my $k = "test_key_$i"; 475 my $v = 'x' x $i; 739 for (my $i = 0; $i < @keys; $i++) { [all …]
|
| H A D | binary-sasl.t | 513 for (my $i = 0; $i < @keys; $i++) { 514 $self->send_command(::CMD_GETQ, $keys[$i], '', $i, '', 0);
|
| /memcached-1.4.29/ |
| H A D | items.c | 84 int i; in item_stats_reset() local 85 for (i = 0; i < LARGEST_ID; i++) { in item_stats_reset() 161 int i; in do_item_alloc() local 188 for (i = 0; i < 10; i++) { in do_item_alloc() 736 for (i = 0; i < stats_sizes_buckets; i++) { in item_stats_sizes() 996 int i; in lru_maintainer_juggle() local 1017 for (i = 0; i < 1000; i++) { in lru_maintainer_juggle() 1049 for (i = POWER_SMALLEST; i < MAX_NUMBER_OF_SLAB_CLASSES; i++) { in lru_maintainer_crawler_check() 1122 for (i = POWER_SMALLEST; i < MAX_NUMBER_OF_SLAB_CLASSES; i++) { in lru_maintainer_thread() 1355 for (i = POWER_SMALLEST; i < LARGEST_ID; i++) { in item_crawler_thread() [all …]
|
| H A D | thread.c | 160 int i; in pause_threads() local 192 for (i = 0; i < settings.num_threads; i++) { in pause_threads() 259 int i; in cqi_new() local 275 for (i = 2; i < ITEMS_PER_ALLOC; i++) in cqi_new() 276 item[i - 1].next = &item[i]; in cqi_new() 726 int i; in memcached_thread_init() local 729 for (i = 0; i < POWER_LARGEST; i++) { in memcached_thread_init() 767 for (i = 0; i < item_lock_count; i++) { in memcached_thread_init() 780 for (i = 0; i < nthreads; i++) { in memcached_thread_init() 790 setup_thread(&threads[i]); in memcached_thread_init() [all …]
|
| H A D | slabs.c | 99 int i = POWER_SMALLEST - 1; in slabs_init() local 122 size = slab_sizes[i-1]; in slabs_init() 130 slabclass[i].size = size; in slabs_init() 131 slabclass[i].perslab = settings.slab_page_size / slabclass[i].size; in slabs_init() 136 i, slabclass[i].size, slabclass[i].perslab); in slabs_init() 140 power_largest = i; in slabs_init() 145 i, slabclass[i].size, slabclass[i].perslab); in slabs_init() 163 int i; in slabs_preallocate() local 172 for (i = POWER_SMALLEST; i < MAX_NUMBER_OF_SLAB_CLASSES; i++) { in slabs_preallocate() 477 int i, total; in do_slabs_stats() local [all …]
|
| H A D | murmur3_hash.c | 48 static FORCE_INLINE uint32_t getblock32 ( const uint32_t * p, int i ) in getblock32() argument 50 return p[i]; in getblock32() 86 for(int i = -nblocks; i; i++) in MurmurHash3_x86_32() local 88 uint32_t k1 = getblock32(blocks,i); in MurmurHash3_x86_32()
|
| H A D | stats.c | 47 int i; in stats_prefix_clear() local 49 for (i = 0; i < PREFIX_HASH_SIZE; i++) { in stats_prefix_clear() 51 for (cur = prefix_stats[i]; cur != NULL; cur = next) { in stats_prefix_clear() 56 prefix_stats[i] = NULL; in stats_prefix_clear() 172 int i, pos; in stats_prefix_dump() local 194 for (i = 0; i < PREFIX_HASH_SIZE; i++) { in stats_prefix_dump() 195 for (pfs = prefix_stats[i]; NULL != pfs; pfs = pfs->next) { in stats_prefix_dump()
|
| H A D | timedrun.c | 21 int i = 0; in wait_for_process() local 34 for (i = 0; ;i++) { in wait_for_process() 44 switch (i) { in wait_for_process()
|
| H A D | sasl_defs.c | 91 for (int i = 0; locations[i] != NULL; ++i) { in sasl_getconf() local 92 if (access(locations[i], F_OK) == 0) { in sasl_getconf() 93 *path = locations[i]; in sasl_getconf()
|
| H A D | util.c | 124 int i = 0; in mc_swap64() local 125 for(i = 0; i<8; i++) { in mc_swap64()
|
| H A D | jenkins_hash.c | 131 union { const void *ptr; size_t i; } u; /* needed for Mac Powerbook G4 */ in jenkins_hash() member 137 if (HASH_LITTLE_ENDIAN && ((u.i & 0x3) == 0)) { in jenkins_hash() 205 } else if (HASH_LITTLE_ENDIAN && ((u.i & 0x1) == 0)) { in jenkins_hash() 309 union { const void *ptr; size_t i; } u; /* to cast key to (size_t) happily */ in jenkins_hash() member 315 if (HASH_BIG_ENDIAN && ((u.i & 0x3) == 0)) { in jenkins_hash()
|
| H A D | memcached.c | 306 int i; in conn_timeout_thread() local 319 for (i = 0; i < max_fds; i++) { in conn_timeout_thread() 817 for (i = 0, iovnum = 0; i < c->msgused; i++) { in ensure_iov_space() 901 int i; in build_udp_headers() local 925 for (i = 0; i < c->msgused; i++) { in build_udp_headers() 1267 int i; in complete_incr_bin() local 1270 for (i = 0; i < nkey; i++) { in complete_incr_bin() 2705 for (i = 0; i < len; i++) { in tokenize_command() 3036 int i; in process_stats_conns() local 3044 for (i = 0; i < max_fds; i++) { in process_stats_conns() [all …]
|
| H A D | memcached.h | 93 #define ITEM_get_cas(i) (((i)->it_flags & ITEM_CAS) ? \ argument 94 (i)->data->cas : (uint64_t)0) 96 #define ITEM_set_cas(i,v) { \ argument 97 if ((i)->it_flags & ITEM_CAS) { \ 98 (i)->data->cas = v; \
|
| H A D | configure.ac | 506 int* i = (int*)(buf+1); 507 return (ALIGNMENT == *i) ? 0 : 1;
|
| H A D | Doxyfile | 151 # treat a multi-line C++ special comment block (i.e. a block of //! or /// 221 # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want 581 # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx 670 # files to browse (i.e. when SOURCE_BROWSER is set to YES). 1078 # config file, i.e. a series of assignments. You only have to provide 1305 # interpreter (i.e. the result of `which perl'). 1480 # a graph (i.e. they become hard to read). 1485 # files in one run (i.e. multiple -o and -T options on the command line). This
|
| /memcached-1.4.29/scripts/ |
| H A D | memcached.upstart | 15 for i in /etc/memcached_*.conf; do 16 i=${i#/etc/memcached_} 17 i=${i%.conf} 18 test "$i" = "*" && continue 19 start memcached-server SERVER=$i || ret=$?
|
| H A D | memcached-init | 72 for ((i=0; i < $CONFIG_NUM; i++)); do 73 NAME=${CONFIGS[${i}]}
|
| /memcached-1.4.29/m4/ |
| H A D | c99-backport.m4 | 68 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 124 for (int i = 0; i < ia->datasize; ++i) 125 ia->data[i] = i * 1.234;
|
| /memcached-1.4.29/doc/ |
| H A D | Doxyfile | 142 # treat a multi-line C++ special comment block (i.e. a block of //! or /// 196 # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want to 478 # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx 564 # files to browse (i.e. when SOURCE_BROWSER is set to YES). 866 # config file, i.e. a series of assignments. You only have to provide 1089 # interpreter (i.e. the result of `which perl'). 1227 # badly anti-aliased labels on the edges of a graph (i.e. they become hard to 1233 # files in one run (i.e. multiple -o and -T options on the command line). This
|
| H A D | protocol.txt | 105 means some sort of client error in the input line, i.e. the input
|