Searched refs:cache_size (Results 1 – 6 of 6) sorted by relevance
/minix/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_write_disk_set_standard_lookup.c | 59 static const size_t cache_size = 127; variable 87 struct bucket *ucache = malloc(cache_size * sizeof(struct bucket)); in archive_write_disk_set_standard_lookup() 88 struct bucket *gcache = malloc(cache_size * sizeof(struct bucket)); in archive_write_disk_set_standard_lookup() 89 memset(ucache, 0, cache_size * sizeof(struct bucket)); in archive_write_disk_set_standard_lookup() 90 memset(gcache, 0, cache_size * sizeof(struct bucket)); in archive_write_disk_set_standard_lookup() 109 b = &gcache[h % cache_size ]; in lookup_gid() 179 b = &ucache[h % cache_size ]; in lookup_uid() 242 for (i = 0; i < cache_size; i++) in cleanup()
|
/minix/external/public-domain/xz/dist/src/liblzma/rangecoder/ |
H A D | range_encoder.h | 29 uint64_t cache_size; member 58 rc->cache_size = 1; in rc_reset() 137 } while (--rc->cache_size != 0); in rc_shift_low() 142 ++rc->cache_size; in rc_shift_low() 228 return rc->cache_size + 5 - 1; in rc_pending()
|
/minix/minix/commands/dosread/ |
H A D | dosread.c | 116 static unsigned int cache_size; variable 941 cache_size = COOKED_SIZE / 2; 943 cache_size = fat_size / 2; 955 cache_size = total_clusters; 958 fat_low = cl_no / cache_size * cache_size; 959 fat_high = fat_low + cache_size - 1; 968 i < cache_size; 984 disk_io (READ, FAT_START + fat_low * 2, (void *)cooked_fat, cache_size * 2); 991 i < cache_size; 1011 i < cache_size; in flush_fat() [all …]
|
/minix/external/bsd/byacc/dist/ |
H A D | reader.c | 36 static int cinc, cache_size; variable 102 if (cinc >= cache_size) in cachec() 104 cache_size += 256; in cachec() 105 cache = TREALLOC(char, cache, cache_size); in cachec() 1515 cache_size = 256; in read_declarations() 1516 cache = TMALLOC(char, cache_size); in read_declarations()
|
/minix/sys/dev/pci/ |
H A D | mlyreg.h | 608 u_int16_t cache_size; member
|
/minix/external/public-domain/sqlite/dist/ |
H A D | sqlite3.c | 10172 int cache_size; /* Number of pages to use in the cache */ member 73757 mxCache = db->aDb[0].pSchema->cache_size; 97160 pDb->pSchema->cache_size = size; 97161 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); 97454 returnSingleInt(pParse, "cache_size", pDb->pSchema->cache_size); 97457 pDb->pSchema->cache_size = size; 97458 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); 98897 if( pDb->pSchema->cache_size==0 ){ 98901 pDb->pSchema->cache_size = size; 98903 pDb->pSchema->cache_size = SQLITE_DEFAULT_CACHE_SIZE; [all …]
|