Searched refs:buckets (Results 1 - 6 of 6) sorted by relevance
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_dict.c | 90 /* We want the number of allocated buckets to be at least twice that of the 98 /* Allocate enough buckets for the anticipated number of entries */ 99 rval = kxld_array_init(&dict->buckets, sizeof(DictEntry), num_buckets); 125 kxld_array_clear(&dict->buckets); 148 kxld_array_deinit(&dict->buckets); 177 entry = kxld_array_get_item(&dict->buckets, idx); 184 * collision, we just walk along the buckets until a free bucket shows up. 200 entry = kxld_array_get_item(&dict->buckets, idx); 204 idx = (idx + 1) % dict->buckets.nitems; 207 entry = kxld_array_get_item(&dict->buckets, id [all...] |
H A D | kxld_dict.h | 44 * prime or 'pseudoprime' - good choices for number of buckets. 61 KXLDArray buckets; // The array of buckets member in struct:kxld_dict
|
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSSymbol.cpp | 79 Bucket *buckets; member in class:OSSymbolPool 151 buckets = (Bucket *) kalloc(nBuckets * sizeof(Bucket)); 153 if (!buckets) 156 bzero(buckets, nBuckets * sizeof(Bucket)); 167 buckets = old->buckets; 174 if (buckets) { 175 kfree(buckets, nBuckets * sizeof(Bucket)); 205 Bucket *thisBucket = &buckets[stateP->i]; 251 buckets [all...] |
/darwin-on-arm/xnu/osfmk/profiling/i386/ |
H A D | profile-md.c | 91 * Calculate percentages for # of hash buckets. 162 * Always print out the # of profil buckets. 177 * Print number of profil buckets field in _profile_stats. 792 pv->stats.buckets[i] = 0; 806 pv->stats.buckets[ (nbuckets < MAX_BUCKETS) ? nbuckets : MAX_BUCKETS ]++; 958 fprintf(stream, "%12lu profil buckets\n", (long unsigned)stats->profil_buckets); 1055 total_buckets += (long double)stats->buckets[i]; 1060 if (stats->buckets[i] != 0) { 1062 (long unsigned)stats->buckets[i], i, 1063 100.0L * ((long double)stats->buckets[ [all...] |
H A D | profile-md.h | 278 * Fraction of text space to allocate for from hash buckets. 344 prof_uptrint_t profil_buckets; /* # profil buckets */ 349 prof_uptrint_t hash_buckets; /* # gprof hash buckets */ 355 prof_cnt_t hash_search; /* # hash buckets searched */ 374 prof_uptrint_t buckets[MAX_BUCKETS+1]; /* # hash indexes that have n buckets */ member in struct:profile_stats
|
H A D | profile-asm.s | 171 * Add # profil buckets field to _profil_stats. 532 LCL(profil_buckets) = LCL(stats_size)+4 /* # profil buckets */ 537 LCL(hash_buckets) = LCL(gprof_records)+4 /* max gprof hash buckets on a chain */ 543 LCL(hash_search) = LCL(old_mcount)+8 /* # gprof hash buckets searched */ 559 LCL(buckets) = LCL(overhead)+4*C_max /* # hash indexes that have n buckets */ 560 LCL(cache_hits1) = LCL(buckets)+4*10 /* # gprof cache hits in bucket #1 */
|
Completed in 38 milliseconds