Home
last modified time | relevance | path

Searched refs:kFastlogNumBits (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/tcmalloc/chromium/src/
Dsampler.h135 static const int kFastlogNumBits = 10; variable
136 static const int kFastlogMask = (1 << kFastlogNumBits) - 1;
137 static double log_table_[1<<kFastlogNumBits]; // Constant
172 const uint32_t y = x_high >> (20 - kFastlogNumBits) & kFastlogMask; in FastLog2()
Dsampler.cc60 double Sampler::log_table_[1<<kFastlogNumBits];
66 for (int i = 0; i < (1<<kFastlogNumBits); i++) { in PopulateFastLog2Table()
67 log_table_[i] = (log(1.0 + static_cast<double>(i+0.5)/(1<<kFastlogNumBits)) in PopulateFastLog2Table()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dsampler.h135 static const int kFastlogNumBits = 10; variable
136 static const int kFastlogMask = (1 << kFastlogNumBits) - 1;
137 static double log_table_[1<<kFastlogNumBits]; // Constant
172 const uint32_t y = x_high >> (20 - kFastlogNumBits) & kFastlogMask; in FastLog2()
Dsampler.cc60 double Sampler::log_table_[1<<kFastlogNumBits];
66 for (int i = 0; i < (1<<kFastlogNumBits); i++) { in PopulateFastLog2Table()
67 log_table_[i] = (log(1.0 + static_cast<double>(i+0.5)/(1<<kFastlogNumBits)) in PopulateFastLog2Table()