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

1 2

  /external/mesa3d/src/mesa/program/
hash_table.c 44 unsigned num_buckets; member in struct:hash_table
57 hash_table_ctor(unsigned num_buckets, hash_func_t hash,
64 if (num_buckets < 16) {
65 num_buckets = 16;
68 ht = malloc(sizeof(*ht) + ((num_buckets - 1)
73 ht->num_buckets = num_buckets;
75 for (i = 0; i < num_buckets; i++) {
100 for (i = 0; i < ht->num_buckets; i++) {
115 const unsigned bucket = hash_value % ht->num_buckets;
    [all...]
hash_table.h 59 * \param num_buckets Number of buckets (bins) in the hash table.
63 extern struct hash_table *hash_table_ctor(unsigned num_buckets,
  /external/boringssl/src/crypto/lhash/
lhash.c 82 ret->num_buckets = kMinNumBuckets;
83 ret->buckets = OPENSSL_malloc(sizeof(LHASH_ITEM *) * ret->num_buckets);
88 memset(ret->buckets, 0, sizeof(LHASH_ITEM *) * ret->num_buckets);
110 for (i = 0; i < lh->num_buckets; i++) {
139 ret = &lh->buckets[hash % lh->num_buckets];
180 for (i = 0; i < lh->num_buckets; i++) {
191 lh->num_buckets = new_num_buckets;
204 assert(lh->num_buckets >= kMinNumBuckets);
205 avg_chain_length = lh->num_items / lh->num_buckets;
208 const size_t new_num_buckets = lh->num_buckets * 2
    [all...]
  /system/core/metricsd/
timer.cc 102 int max, int num_buckets)
106 num_buckets_(num_buckets) {}
  /system/core/metricsd/include/metrics/
timer_mock.h 49 MOCK_CONST_METHOD0(num_buckets, int());
timer.h 134 // |min|, |max| and |num_buckets| attributes for the histogram.
136 int num_buckets);
152 int num_buckets() const { return num_buckets_; } function in class:chromeos_metrics::TimerReporter
  /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++) {
SupplicantWifiScannerImpl.java 228 if (settings.num_buckets < 0 || settings.num_buckets > MAX_SCAN_BUCKETS) {
241 for (int i = 0; i < settings.num_buckets; ++i) {
251 Log.d(TAG, "Starting scan num_buckets=" + settings.num_buckets + ", base_period="
363 for (int bucket_id = 0; bucket_id < mBackgroundScanSettings.num_buckets;
413 for (int i = 0; i < mPendingSingleScanSettings.num_buckets; ++i) {
    [all...]
BackgroundScanScheduler.java 439 schedule.num_buckets = bucketList.size();
485 if (schedule.num_buckets > 0) {
487 for (int b = 1; b < schedule.num_buckets; b++) {
    [all...]
  /external/libdrm/freedreno/
freedreno_device.c 48 unsigned int i = dev->num_buckets;
54 dev->num_buckets++;
freedreno_priv.h 89 int num_buckets; member in struct:fd_device
freedreno_bo.c 94 for (i = 0; i < dev->num_buckets; i++) {
120 for (i = 0; i < dev->num_buckets; i++) {
  /external/boringssl/src/include/openssl/
lhash.h 130 /* buckets is an array of |num_buckets| pointers. Each points to the head of
132 * |num_buckets|. */
134 /* num_buckets contains the length of |buckets|. This value is always >=
136 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...]
  /frameworks/native/libs/binder/tests/
binderThroughputTest.cpp 103 static const uint32_t num_buckets = 128; variable
105 static const uint64_t time_per_bucket = max_time_bucket / num_buckets;
111 uint32_t m_buckets[num_buckets] = {0};
124 for (int i = 0; i < num_buckets; i++) {
140 for (int i = 0; i < num_buckets; i++) {
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
ScanTestUtil.java 92 mSettings.num_buckets = 0;
126 bucket.bucket = mSettings.num_buckets;
145 bucket.bucket = mSettings.num_buckets;
155 mSettings.buckets = Arrays.copyOf(mSettings.buckets, mSettings.num_buckets + 1);
156 mSettings.buckets[mSettings.num_buckets] = bucket;
157 mSettings.num_buckets = mSettings.num_buckets + 1;
314 assertEquals("number of buckets", expected.num_buckets, actual.num_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;
  /external/libvpx/libvpx/
rate_hist.c 124 int max_buckets, int *num_buckets) {
126 int buckets = *num_buckets;
187 *num_buckets = buckets;
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
rate_hist.c 121 int max_buckets, int *num_buckets) {
123 int buckets = *num_buckets;
184 *num_buckets = buckets;
  /system/connectivity/shill/
mock_metrics.h 60 int max, int num_buckets));
  /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 178 int num_buckets,
183 num_buckets_(num_buckets),
237 int num_buckets, Isolate* isolate)
238 : Histogram(name, min, max, num_buckets, isolate),
320 int num_buckets, Isolate* isolate)
321 : Histogram(name, min, max, num_buckets, isolate) {}
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
BackgroundScanSchedulerTest.java     [all...]
  /hardware/libhardware_legacy/include/hardware_legacy/
gscan.h 167 int num_buckets; member in struct:__anon31012
  /hardware/qcom/wlan/qcwcn/wifi_hal/
wifilogger_event_defs.h 225 u32 num_buckets; member in struct:__anon34777

Completed in 1846 milliseconds

1 2