OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RandGenerator
(Results
1 - 3
of
3
) sorted by null
/external/libchrome/base/
rand_util.h
28
// std::random_shuffle(myvector.begin(), myvector.end(), base::
RandGenerator
);
29
BASE_EXPORT uint64_t
RandGenerator
(uint64_t range);
rand_util.cc
23
// |range| is at most UINT_MAX + 1, so the result of
RandGenerator
(range)
26
static_cast<int>(min + static_cast<int64_t>(base::
RandGenerator
(range)));
52
uint64_t
RandGenerator
(uint64_t range) {
rand_util_unittest.cc
68
// Make sure that it is still appropriate to use
RandGenerator
in conjunction
71
EXPECT_EQ(base::
RandGenerator
(1), 0U);
77
// Verify that
RandGenerator
has a uniform distribution. This is a
78
// regression test that consistently failed when
RandGenerator
was
99
uint64_t value = base::
RandGenerator
(kTopOfRange);
Completed in 523 milliseconds