Searched refs:FastLog2 (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
D | sampler.h | 125 static double FastLog2(const double & d); // Computes Log2(x) quickly 166 inline double Sampler::FastLog2(const double & d) { in FastLog2() function
|
D | sampler.cc | 126 return static_cast<size_t>(min(0.0, (FastLog2(q) - 26)) * (-log(2.0) in PickNextSamplingPoint()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
D | sampler.h | 125 static double FastLog2(const double & d); // Computes Log2(x) quickly 166 inline double Sampler::FastLog2(const double & d) { in FastLog2() function
|
D | sampler.cc | 126 return static_cast<size_t>(min(0.0, (FastLog2(q) - 26)) * (-log(2.0) in PickNextSamplingPoint()
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
D | histogram.h | 63 double retval = total_count_ * FastLog2(total_count_); in EntropyBitCost() 65 retval -= data_[i] * FastLog2(data_[i]); in EntropyBitCost()
|
D | cluster.h | 56 return size_a * FastLog2(size_a) + size_b * FastLog2(size_b) - in ClusterCostDiff() 57 size_c * FastLog2(size_c); in ClusterCostDiff()
|
D | fast_log.h | 152 static inline double FastLog2(int v) { in FastLog2() function
|
D | block_splitter.cc | 144 return count == 0 ? FastLog2(total) + 2 : FastLog2(total) - FastLog2(count); in BitCost()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
D | sampler_test.cc | 331 TEST(Sampler, FastLog2) { in TEST() argument 338 double fastlog = sampler.FastLog2(e); in TEST() 542 LOG(INFO) << StringPrintf("FastLog2(q) = %f\n", sampler.FastLog2(q)); in TEST() 547 = static_cast<uint64_t>(min(sampler.FastLog2(q) - 26, 0.0) in TEST() 563 = static_cast<uint64_t>(min(sampler.FastLog2(q) - 26, 0.0) in TEST()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
D | sampler_test.cc | 331 TEST(Sampler, FastLog2) { in TEST() argument 338 double fastlog = sampler.FastLog2(e); in TEST() 542 LOG(INFO) << StringPrintf("FastLog2(q) = %f\n", sampler.FastLog2(q)); in TEST() 547 = static_cast<uint64_t>(min(sampler.FastLog2(q) - 26, 0.0) in TEST() 563 = static_cast<uint64_t>(min(sampler.FastLog2(q) - 26, 0.0) in TEST()
|