Searched defs:random (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 159 public static int random(int howbig) { method in class:MathUtils 163 public static int random(int howsmall, int howbig) { method in class:MathUtils 168 public static float random(float howbig) { method in class:MathUtils 172 public static float random(float howsmall, float howbig) { method in class:MathUtils
|
/frameworks/compile/mclinker/utils/gtest/src/ |
H A D | gtest-all.cpp | 497 // A valid random seed must be in [1, kMaxRandomSeed]. 520 // Returns a random seed in range [1, kMaxRandomSeed] based on the 535 // Returns the first valid random seed after 'seed'. The behavior is 540 << "Invalid random seed " << seed << " - must be in [1, " 700 void ShuffleRange(internal::Random* random, int begin, int end, argument 714 const int selected = begin + random->Generate(range_width); 721 inline void Shuffle(internal::Random* random, std::vector<E>* v) { argument 722 ShuffleRange(random, 0, static_cast<int>(v->size()), v); 1168 // Gets the random seed used at the start of the current test iteration. 1171 // Gets the random numbe 1172 internal::Random* random() { return &random_; } function in class:testing::internal::UnitTestImpl 3767 ShuffleTests(internal::Random* random) argument [all...] |
Completed in 378 milliseconds