OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FastLog2
(Results
1 - 10
of
10
) sorted by null
/external/chromium_org/third_party/tcmalloc/chromium/src/
sampler.h
125
static double
FastLog2
(const double & d); // Computes Log2(x) quickly
166
inline double Sampler::
FastLog2
(const double & d) {
sampler.cc
62
// Populate the lookup table for
FastLog2
.
122
// min(0.0,
FastLog2
(q) - 26) by (
Fastlog2
(q) - 26.000705)
124
// for inaccuracies in
FastLog2
which otherwise result in a
126
return static_cast<size_t>(min(0.0, (
FastLog2
(q) - 26)) * (-log(2.0)
/external/chromium_org/third_party/tcmalloc/vendor/src/
sampler.h
125
static double
FastLog2
(const double & d); // Computes Log2(x) quickly
166
inline double Sampler::
FastLog2
(const double & d) {
sampler.cc
62
// Populate the lookup table for
FastLog2
.
122
// min(0.0,
FastLog2
(q) - 26) by (
Fastlog2
(q) - 26.000705)
124
// for inaccuracies in
FastLog2
which otherwise result in a
126
return static_cast<size_t>(min(0.0, (
FastLog2
(q) - 26)) * (-log(2.0)
/external/chromium_org/third_party/brotli/src/brotli/enc/
histogram.h
63
double retval = total_count_ *
FastLog2
(total_count_);
65
retval -= data_[i] *
FastLog2
(data_[i]);
cluster.h
56
return size_a *
FastLog2
(size_a) + size_b *
FastLog2
(size_b) -
57
size_c *
FastLog2
(size_c);
block_splitter.cc
144
return count == 0 ?
FastLog2
(total) + 2 :
FastLog2
(total) -
FastLog2
(count);
fast_log.h
152
static inline double
FastLog2
(int v) {
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
sampler_test.cc
327
// Test for
Fastlog2
code
331
TEST(Sampler,
FastLog2
) {
338
double fastlog = sampler.
FastLog2
(e);
345
LOG(INFO) << StringPrintf("
Fastlog2
: max_ratio_error = %f\n",
542
LOG(INFO) << StringPrintf("
FastLog2
(q) = %f\n", sampler.
FastLog2
(q));
544
// Replace min(sampler.
FastLog2
(q) - 26, 0.0) with
545
// (sampler.
FastLog2
(q) - 26.000705) when using that optimization
547
= static_cast<uint64_t>(min(sampler.
FastLog2
(q) - 26, 0.0)
560
// Replace min(sampler.
FastLog2
(q) - 26, 0.0) wit
[
all
...]
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
sampler_test.cc
327
// Test for
Fastlog2
code
331
TEST(Sampler,
FastLog2
) {
338
double fastlog = sampler.
FastLog2
(e);
345
LOG(INFO) << StringPrintf("
Fastlog2
: max_ratio_error = %f\n",
542
LOG(INFO) << StringPrintf("
FastLog2
(q) = %f\n", sampler.
FastLog2
(q));
544
// Replace min(sampler.
FastLog2
(q) - 26, 0.0) with
545
// (sampler.
FastLog2
(q) - 26.000705) when using that optimization
547
= static_cast<uint64_t>(min(sampler.
FastLog2
(q) - 26, 0.0)
560
// Replace min(sampler.
FastLog2
(q) - 26, 0.0) wit
[
all
...]
Completed in 957 milliseconds