Searched refs:cache_size (Results 1 - 22 of 22) sorted by relevance

/macosx-10.9.5/libauto-185.5/
H A DAllocationCache.h38 cache_size = maximum_quanta + 1 // size of the allocation cache enumerator in enum:Auto::AllocationCache::__anon9394
41 FreeList _lists[cache_size]; // free lists, one for each quanta size, slot 0 is for large clumps
H A DAdmin.h163 return n < AllocationCache::cache_size ? n : 0;
338 for (usword_t i=0; i<AllocationCache::cache_size; i++) {
H A DAdmin.cpp76 for (usword_t m = 0; m < AllocationCache::cache_size; m++) {
294 for (usword_t m = 0; m < AllocationCache::cache_size; m++) {
428 if (unused > AllocationCache::cache_size) {
552 } else if (unused < AllocationCache::cache_size) {
633 if ((unused > 0) && (unused < AllocationCache::cache_size)) {
658 for (usword_t cache_index = n; cache_index < AllocationCache::cache_size && count < num_requested; ++cache_index) {
745 ASSERTION(n < AllocationCache::cache_size);
800 ASSERTION(n < AllocationCache::cache_size);
843 ASSERTION(n < AllocationCache::cache_size);
H A DThread.cpp59 for (usword_t i = 1; i < AllocationCache::cache_size; ++i) {
/macosx-10.9.5/libarchive-29/libarchive/libarchive/
H A Darchive_write_disk_set_standard_lookup.c59 static const size_t cache_size = 127; variable
87 struct bucket *ucache = malloc(cache_size * sizeof(struct bucket));
88 struct bucket *gcache = malloc(cache_size * sizeof(struct bucket));
89 memset(ucache, 0, cache_size * sizeof(struct bucket));
90 memset(gcache, 0, cache_size * sizeof(struct bucket));
109 b = &gcache[h % cache_size ];
169 b = &ucache[h % cache_size ];
222 for (i = 0; i < cache_size; i++)
/macosx-10.9.5/postfix-252/postfix/src/smtpd/
H A Dsmtpd_resolve.c9 /* void smtpd_resolve_init(cache_size)
10 /* int cache_size;
26 /* .IP cache_size
117 void smtpd_resolve_init(int cache_size) argument
130 smtpd_resolve_cache = ctable_create(cache_size, resolve_pagein,
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dpingpong.c292 * pp->cache_size is cast to ssize_t here. This should be safe, because
296 DEBUGASSERT((ptr+pp->cache_size) <= (buf+BUFSIZE+1));
297 memcpy(ptr, pp->cache, pp->cache_size);
298 gotbytes = (ssize_t)pp->cache_size;
301 pp->cache_size = 0; /* zero the size just in case */
431 pp->cache_size = clipamount;
432 pp->cache = malloc(pp->cache_size);
434 memcpy(pp->cache, pp->linestart_resp, pp->cache_size);
512 return (!pp->sendleft && pp->cache && pp->nread_resp < pp->cache_size) ?
H A Dpingpong.h50 size_t cache_size; /* size of cache in bytes */ member in struct:pingpong
H A Dimap.c1503 size_t chunk = pp->cache_size;
1520 if(pp->cache_size > chunk) {
1522 memmove(pp->cache, pp->cache + chunk, pp->cache_size - chunk);
1523 pp->cache_size -= chunk;
1530 pp->cache_size = 0;
H A Dpop3.c1119 result = Curl_pop3_write(conn, pp->cache, pp->cache_size);
1128 pp->cache_size = 0;
H A Dftp.c446 if(pp->cache_size && pp->cache && pp->cache[0] > '3') {
/macosx-10.9.5/xnu-2422.115.4/osfmk/i386/
H A Dmachine_routines.c539 cpu_infop->l1_icache_size = cpuid_infop->cache_size[L1I];
540 cpu_infop->l1_dcache_size = cpuid_infop->cache_size[L1D];
542 if (cpuid_infop->cache_size[L2U] > 0) {
544 cpu_infop->l2_cache_size = cpuid_infop->cache_size[L2U];
550 if (cpuid_infop->cache_size[L3U] > 0) {
552 cpu_infop->l3_cache_size = cpuid_infop->cache_size[L3U];
H A Dcpuid.c301 uint32_t cache_size; local
344 cache_size = cache_linesize * cache_sets *
346 info_p->cache_size[type] = cache_size;
351 DBG(" cache_size[%s] : %d\n",
352 cache_type_str[type], cache_size);
403 info_p->cache_size[L2U] = info_p->cpuid_cache_size * 1024;
409 DBG(" cache_size[L2U] : %d\n",
410 info_p->cache_size[L2U]);
H A Dcpu_topology.h56 uint32_t cache_size; /* total size of cache */ member in struct:x86_cpu_cache
H A Dcpu_threads.c123 if (cachep->type == 0 || cpuid_info()->cache_size[i] == 0)
278 if (cachep->type == 0 || cpuid_info()->cache_size[i] == 0)
290 cur->cache_size = cpuid_info()->cache_size[i];
318 && cur_cache->cache_size == matcher->cache_size)
H A Dcpu_topology.c258 return cachep ? cachep->cache_size : 0;
H A Dcpuid.h305 uint32_t cache_size[LCACHE_MAX]; member in struct:__anon15252
/macosx-10.9.5/apache-786.1/httpd/modules/ldap/
H A Dutil_ldap_cache.h178 long cache_size,
H A Dutil_ldap_cache_mgr.c267 long cache_size,
277 if (cache_size <= 0)
298 cache->maxentries = cache_size;
300 cache->size = cache_size / 3;
266 util_ald_create_cache(util_ldap_state_t *st, long cache_size, unsigned long (*hashfunc)(void *), int (*comparefunc)(void *, void *), void * (*copyfunc)(util_ald_cache_t *cache, void *), void (*freefunc)(util_ald_cache_t *cache, void *), void (*displayfunc)(request_rec *r, util_ald_cache_t *cache, void *)) argument
/macosx-10.9.5/BerkeleyDB-21/db/mp/
H A Dmp_region.c356 roff_t reg_size, cache_size; local
364 cache_size = (roff_t)dbenv->mp_gbytes * GIGABYTE + dbenv->mp_bytes;
365 reg_size = cache_size / dbenv->mp_ncache;
/macosx-10.9.5/ruby-104/ruby/
H A Dgc.c200 size_t cache_size; member in struct:mark_stack
2139 stack->cache_size++;
2147 if (stack->unused_cache_size > (stack->cache_size/2)) {
2150 stack->cache_size--;
2153 stack->unused_cache_size = stack->cache_size;
2162 if (stack->cache_size > 0) {
2165 stack->cache_size--;
2166 if (stack->unused_cache_size > stack->cache_size)
2167 stack->unused_cache_size = stack->cache_size;
2239 stack->unused_cache_size = stack->cache_size;
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/sqlite/
H A Dsqlite3.c6534 ** the SQLite "[PRAGMA cache_size]" command.)^ As with the bPurgeable
9344 int cache_size; /* Number of pages to use in the cache */ member in struct:Schema
[all...]

Completed in 783 milliseconds