Searched refs:cache (Results 1 – 8 of 8) sorted by relevance
58 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 …]
39 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 …]
21 trace.h cache.h sasl_defs.h \26 memcached_SOURCES += cache.c27 testapp_SOURCES += cache.c
19 autom4te.cache
26 dangerous when using a large cache. Just make sure the memcached machines
178 when exptime == 0 items are kicked off the cache. 509 * Adds a '-M' flag to turn off tossing items from the cache.
275 # The SYMBOL_CACHE_SIZE determines the size of the internal cache use to277 # 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 cause282 # If the system has enough physical memory increasing the cache will improve the285 # memory usage. The cache size is given by this formula:287 # corresponding to a cache size of 2^16 = 65536 symbols
12 however, that clients are encouraged to cache their connections rather164 (although it may be deleted from the cache to make place for other510 cache. Useful in seeing if items being evicted were actually used, and which611 | 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 to993 adjustments of the cache memory limit. It returns "OK\r\n" or an error (unless1030 incomplete response can simply be treated as a cache miss.