Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 8 of 8) sorted by relevance

/memcached-1.4.29/
H A Dcache.c58 while (cache->freecurr > 0) { in cache_destroy()
59 void *ptr = cache->ptr[--cache->freecurr]; in cache_destroy()
60 if (cache->destructor) { in cache_destroy()
65 free(cache->name); in cache_destroy()
66 free(cache->ptr); in cache_destroy()
68 free(cache); in cache_destroy()
75 if (cache->freecurr > 0) { in cache_alloc()
76 ret = cache->ptr[--cache->freecurr]; in cache_alloc()
128 if (cache->freecurr < cache->freetotal) { in cache_free()
129 cache->ptr[cache->freecurr++] = ptr; in cache_free()
[all …]
H A Dtestapp.c39 assert(cache != NULL); in cache_create_test()
40 cache_destroy(cache); in cache_create_test()
56 assert(cache != NULL); in cache_constructor_test()
59 cache_free(cache, ptr); in cache_constructor_test()
60 cache_destroy(cache); in cache_constructor_test()
74 assert(cache != NULL); in cache_fail_constructor_test()
79 cache_destroy(cache); in cache_fail_constructor_test()
93 assert(cache != NULL); in cache_destructor_test()
96 cache_destroy(cache); in cache_destructor_test()
113 cache_destroy(cache); in cache_reuse_test()
[all …]
H A DMakefile.am21 trace.h cache.h sasl_defs.h \
26 memcached_SOURCES += cache.c
27 testapp_SOURCES += cache.c
H A D.gitignore19 autom4te.cache
H A DREADME.md26 dangerous when using a large cache. Just make sure the memcached machines
H A DChangeLog178 when exptime == 0 items are kicked off the cache.
509 * Adds a '-M' flag to turn off tossing items from the cache.
H A DDoxyfile275 # The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
277 # When the cache is full, less often used symbols will be written to disk.
279 # probably good enough. For larger projects a too small cache size can cause
282 # If the system has enough physical memory increasing the cache will improve the
285 # memory usage. The cache size is given by this formula:
287 # corresponding to a cache size of 2^16 = 65536 symbols
/memcached-1.4.29/doc/
H A Dprotocol.txt12 however, that clients are encouraged to cache their connections rather
164 (although it may be deleted from the cache to make place for other
510 cache. Useful in seeing if items being evicted were actually used, and which
611 | evictions | 64u | Number of valid items removed from cache |
691 | maxbytes | size_t | Maximum number of bytes allows in this cache |
798 cache will return an empty set.
807 general size and count of all items stored in the cache.
808 WARNING: In versions prior to 1.4.27 this command causes the cache server to
993 adjustments of the cache memory limit. It returns "OK\r\n" or an error (unless
1030 incomplete response can simply be treated as a cache miss.