Home
last modified time | relevance | path

Searched refs:random_bits (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/base/
Drand_util.cc40 uint64 random_bits = bits & ((GG_UINT64_C(1) << kBits) - 1); in BitsToOpenEndedUnitInterval() local
41 double result = ldexp(static_cast<double>(random_bits), -1 * kBits); in BitsToOpenEndedUnitInterval()
/external/chromium_org/chrome/app/
Dclient_util.cc98 const uint64* random_bits = reinterpret_cast<uint64*>(&sha1_hash[0]); in GetPreReadPopulationAndGroup() local
101 *population = base::BitsToOpenEndedUnitInterval(random_bits[0]); in GetPreReadPopulationAndGroup()
102 *group = base::BitsToOpenEndedUnitInterval(random_bits[1]); in GetPreReadPopulationAndGroup()