HomeSort by relevance Sort by last modified time
    Searched refs:num_buckets (Results 1 - 25 of 38) sorted by null

1 2

  /external/ltp/utils/ffsb-6.0-rc2/
ffsb_stats.c 41 fsc->num_buckets = 0;
49 fsc->num_buckets++;
51 /* printf("ffsb_realloc(): fsc_buckets = %d\n",fsc->num_buckets); */
53 fsc->num_buckets);
58 fsc->buckets[fsc->num_buckets - 1].min = min;
59 fsc->buckets[fsc->num_buckets - 1].max = max;
91 fsc->num_buckets);
94 memset(fsd->buckets[i], 0, sizeof(uint32_t) * fsc->num_buckets);
108 unsigned num_buckets, i; local
122 if (fsd->config->num_buckets == 0
146 unsigned num_buckets; local
    [all...]
ffsb_stats.h 64 unsigned num_buckets; member in struct:ffsb_stats_config
  /external/boringssl/src/crypto/lhash/
lhash.c 83 ret->num_buckets = kMinNumBuckets;
84 ret->buckets = OPENSSL_malloc(sizeof(LHASH_ITEM *) * ret->num_buckets);
89 OPENSSL_memset(ret->buckets, 0, sizeof(LHASH_ITEM *) * ret->num_buckets);
101 for (size_t i = 0; i < lh->num_buckets; i++) {
131 ret = &lh->buckets[hash % lh->num_buckets];
172 for (i = 0; i < lh->num_buckets; i++) {
183 lh->num_buckets = new_num_buckets;
196 assert(lh->num_buckets >= kMinNumBuckets);
197 avg_chain_length = lh->num_items / lh->num_buckets;
200 const size_t new_num_buckets = lh->num_buckets * 2
    [all...]
  /external/libdrm/etnaviv/
etnaviv_bo_cache.c 39 unsigned i = cache->num_buckets;
45 cache->num_buckets++;
81 for (i = 0; i < cache->num_buckets; i++) {
107 for (i = 0; i < cache->num_buckets; i++) {
etnaviv_priv.h 76 unsigned num_buckets; member in struct:etna_bo_cache
  /external/libdrm/freedreno/
freedreno_bo_cache.c 43 unsigned int i = cache->num_buckets;
49 cache->num_buckets++;
94 for (i = 0; i < cache->num_buckets; i++) {
120 for (i = 0; i < cache->num_buckets; i++) {
freedreno_priv.h 80 int num_buckets; member in struct:fd_bo_cache
  /external/libtextclassifier/smartselect/
token-feature-extractor.h 32 int num_buckets = 0; member in struct:libtextclassifier::TokenFeatureExtractorOptions
68 // options.num_buckets which are set to 1.0 (others are implicitly 0.0).
token-feature-extractor.cc 93 return tcfarmhash::Fingerprint64(token) % options_.num_buckets;
  /external/libtextclassifier/tests/
token-feature-extractor_test.cc 33 options.num_buckets = 1000;
103 options.num_buckets = 1000;
173 options.num_buckets = 1000;
207 options.num_buckets = 1000;
231 options.num_buckets = 1000;
255 options.num_buckets = 1000;
278 options.num_buckets = 1000;
296 options.num_buckets = 1000;
328 options.num_buckets = 1000;
352 options.num_buckets = 1000
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
ScanScheduleUtil.java 83 if (schedule1.num_buckets != schedule2.num_buckets) return false;
84 for (int b = 0; b < schedule1.num_buckets; b++) {
WificondScannerImpl.java 222 if (settings.num_buckets < 0 || settings.num_buckets > MAX_SCAN_BUCKETS) {
235 for (int i = 0; i < settings.num_buckets; ++i) {
245 Log.d(TAG, "Starting scan num_buckets=" + settings.num_buckets + ", base_period="
357 for (int bucket_id = 0; bucket_id < mBackgroundScanSettings.num_buckets;
398 for (int i = 0; i < mPendingSingleScanSettings.num_buckets; ++i) {
    [all...]
BackgroundScanScheduler.java 438 schedule.num_buckets = bucketList.size();
470 if (schedule.num_buckets > 0) {
472 for (int b = 1; b < schedule.num_buckets; b++) {
    [all...]
  /external/libmojo/base/android/
record_histogram.cc 108 int32_t num_buckets = static_cast<int32_t>(j_num_buckets); local
111 CheckHistogramArgs(env, j_histogram_name, min, max, num_buckets,
118 Histogram::FactoryGet(histogram_name, min, max, num_buckets,
132 int32_t num_buckets = static_cast<int32_t>(j_num_buckets); local
135 CheckHistogramArgs(env, j_histogram_name, min, max, num_buckets,
142 LinearHistogram::FactoryGet(histogram_name, min, max, num_buckets,
  /external/boringssl/src/include/openssl/
lhash.h 131 /* buckets is an array of |num_buckets| pointers. Each points to the head of
133 * |num_buckets|. */
135 /* num_buckets contains the length of |buckets|. This value is always >=
137 size_t num_buckets; member in struct:lhash_st
  /art/runtime/base/
hash_set.h 107 const size_t num_buckets = hash_set->NumBuckets(); local
108 DCHECK_LT(index, num_buckets);
111 } while (index < num_buckets && hash_set->IsFreeSlot(index));
433 size_t num_buckets = num_elements / max_load_factor_; local
435 while (static_cast<size_t>(num_buckets * max_load_factor_) <= num_elements + 1u) {
436 ++num_buckets;
438 if (num_buckets > NumBuckets()) {
439 Resize(num_buckets);
576 void AllocateStorage(size_t num_buckets) {
577 num_buckets_ = num_buckets;
    [all...]
  /external/libdrm/intel/
uthash.h 124 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \
179 (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \
264 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _ha_bkt); \
300 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _ha_bkt); \
342 (head)->hh.tbl->num_buckets*sizeof(struct UT_hash_bucket) ); \
365 HASH_TO_BKT( _hd_hh_del->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \
408 for( _bkt_i = 0; _bkt_i < (head)->hh.tbl->num_buckets; _bkt_i++) { \
1032 unsigned num_buckets, log2_num_buckets; member in struct:UT_hash_table
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
ScanTestUtil.java 92 mSettings.num_buckets = 0;
130 bucket.bucket = mSettings.num_buckets;
149 bucket.bucket = mSettings.num_buckets;
159 mSettings.buckets = Arrays.copyOf(mSettings.buckets, mSettings.num_buckets + 1);
160 mSettings.buckets[mSettings.num_buckets] = bucket;
161 mSettings.num_buckets = mSettings.num_buckets + 1;
322 assertEquals("number of buckets", expected.num_buckets, actual.num_buckets);
  /frameworks/native/libs/binder/tests/
binderThroughputTest.cpp 103 static const uint32_t num_buckets = 128; variable
105 static uint64_t time_per_bucket = max_time_bucket / num_buckets;
109 uint32_t m_buckets[num_buckets] = {0};
127 for (int i = 0; i < num_buckets; i++) {
151 for (int i = 0; i < num_buckets; i++) {
325 time_per_bucket = max_time_bucket / num_buckets;
  /external/libvpx/libvpx/
rate_hist.c 127 int *num_buckets) {
133 assert(num_buckets != NULL);
135 buckets = *num_buckets;
190 *num_buckets = buckets;
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
hash_map.hpp 230 void rehash(std::size_t num_buckets)
232 if (num_buckets == num_buckets_)
234 num_buckets_ = num_buckets;
  /system/libhwbinder/vts/performance/
Benchmark_throughput.cpp 100 static const uint32_t num_buckets = 128; variable
102 static const uint64_t time_per_bucket = max_time_bucket / num_buckets;
108 uint32_t m_buckets[num_buckets] = {0};
124 for (uint32_t i = 0; i < num_buckets; i++) {
148 for (uint32_t i = 0; i < num_buckets; i++) {
  /external/v8/src/
counters.cc 64 #define HR(name, caption, min, max, num_buckets) \
65 name##_ = Histogram(#caption, min, max, num_buckets, isolate);
178 #define HR(name, caption, min, max, num_buckets) name##_.Reset();
counters.h 183 int num_buckets,
188 num_buckets_(num_buckets),
242 int num_buckets, Isolate* isolate)
243 : Histogram(name, min, max, num_buckets, isolate),
325 int num_buckets, Isolate* isolate)
326 : Histogram(name, min, max, num_buckets, isolate) {}
    [all...]
  /frameworks/native/libs/vr/libpdx_default_transport/
pdx_benchmarks.cpp 912 const int num_buckets = 200; local
914 const uint64_t ns_per_bucket = sample_range_ns / num_buckets;
915 std::array<uint64_t, num_buckets> sample_buckets = {{0}};
    [all...]

Completed in 760 milliseconds

1 2