Home
last modified time | relevance | path

Searched refs:kBuckets (Results 1 – 9 of 9) sorted by relevance

/external/chromium/net/base/
Dssl_false_start_blacklist_process.cc20 static const unsigned kBuckets = SSLFalseStartBlacklist::kBuckets; variable
200 fprintf(stderr, "Using %d entry hash table\n", kBuckets); in main()
201 uint32 table[kBuckets]; in main()
202 std::vector<std::string> buckets[kBuckets]; in main()
209 buckets[h & (kBuckets - 1)].push_back(*i); in main()
214 for (unsigned i = 0; i < kBuckets; i++) { in main()
243 kBuckets); in main()
244 for (unsigned i = 0; i < kBuckets; i++) { in main()
Dssl_false_start_blacklist.h75 static const unsigned kBuckets = 128; variable
84 static const uint32 kHashTable[kBuckets + 1];
Dssl_false_start_blacklist.cc14 const unsigned bucket = Hash(last_two_labels) & (kBuckets - 1); in IsMember()
/external/chromium_org/content/browser/download/
Ddownload_stats.cc244 static const int kBuckets = 30; in RecordDownloadInterrupted() local
245 static const int64 kMaxKb = 1 << kBuckets; // One Terabyte, in Kilobytes. in RecordDownloadInterrupted()
254 kBuckets); in RecordDownloadInterrupted()
260 kBuckets); in RecordDownloadInterrupted()
274 kBuckets); in RecordDownloadInterrupted()
280 kBuckets); in RecordDownloadInterrupted()
344 static const int kBuckets = 50; in RecordAcceptsRanges() local
351 kBuckets); in RecordAcceptsRanges()
357 kBuckets); in RecordAcceptsRanges()
365 kBuckets); in RecordAcceptsRanges()
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dprofiledata.cc56 const int ProfileData::kBuckets; member in ProfileData
113 hash_ = new Bucket[kBuckets]; in Start()
115 memset(hash_, 0, sizeof(hash_[0]) * kBuckets); in Start()
170 for (int b = 0; b < kBuckets; b++) { in Stop()
245 for (int b = 0; b < kBuckets; b++) { in FlushTable()
280 Bucket* bucket = &hash_[h % kBuckets]; in Add()
Dprofiledata.h146 static const int kBuckets = 1 << 10; // For hashtable variable
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dprofiledata.cc56 const int ProfileData::kBuckets; member in ProfileData
113 hash_ = new Bucket[kBuckets]; in Start()
115 memset(hash_, 0, sizeof(hash_[0]) * kBuckets); in Start()
170 for (int b = 0; b < kBuckets; b++) { in Stop()
245 for (int b = 0; b < kBuckets; b++) { in FlushTable()
280 Bucket* bucket = &hash_[h % kBuckets]; in Add()
Dprofiledata.h146 static const int kBuckets = 1 << 10; // For hashtable variable
/external/chromium_org/chrome/browser/chromeos/policy/
Dauto_enrollment_client.cc365 static const int kBuckets = 50; in OnProtocolDone() local
370 UMA_HISTOGRAM_CUSTOM_TIMES(kUMAProtocolTime, delta, kMin, kMax, kBuckets); in OnProtocolDone()
378 UMA_HISTOGRAM_CUSTOM_TIMES(kUMAExtraTime, delta, kMin, kMax, kBuckets); in OnProtocolDone()