Searched refs:total_weight_ (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dtcmalloc_unittest.cc210 : types_(new vector<Type>), total_weight_(0), num_tests_(0) {
249 int total_weight_; // Total weight of all types member in class:testing::TestHarness
259 total_weight_ += weight;
266 assert(total_weight_ > 0);
267 // This is a little skewed if total_weight_ doesn't divide 2^31, but it's close
268 int v = Uniform(total_weight_);
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dtcmalloc_unittest.cc210 : types_(new vector<Type>), total_weight_(0), num_tests_(0) {
249 int total_weight_; // Total weight of all types member in class:testing::TestHarness
259 total_weight_ += weight;
266 assert(total_weight_ > 0);
267 // This is a little skewed if total_weight_ doesn't divide 2^31, but it's close
268 int v = Uniform(total_weight_);

Completed in 905 milliseconds