Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Drandom_unittest.cc122 uint32_t numbers_per_bucket; in BucketTestSignedInterval() local
127 numbers_per_bucket = (0x80000000u / bucket_count) * 2; in BucketTestSignedInterval()
130 numbers_per_bucket = interval / bucket_count; in BucketTestSignedInterval()
137 buckets[static_cast<uint32_t>(sample - low) / numbers_per_bucket]++; in BucketTestSignedInterval()
162 uint32_t numbers_per_bucket; in BucketTestUnsignedInterval() local
167 numbers_per_bucket = (0x80000000u / bucket_count) * 2; in BucketTestUnsignedInterval()
170 numbers_per_bucket = interval / bucket_count; in BucketTestUnsignedInterval()
177 buckets[static_cast<uint32_t>(sample - low) / numbers_per_bucket]++; in BucketTestUnsignedInterval()