HomeSort by relevance Sort by last modified time
    Searched defs:random (Results 376 - 400 of 727) sorted by null

<<11121314151617181920>>

  /cts/tests/tests/renderscript/src/android/renderscript/cts/
GetSetTest.java 33 private static java.util.Random random = new java.util.Random(); field in class:GetSetTest
43 random.setSeed(10);
81 // We do a random copy order to attempt to get multiple threads
92 int x = random.nextInt(tw);
230 random.nextBytes(t);
240 t[i] = (short)(random.nextInt() & 0xffff);
251 t[i] = random.nextInt();
262 t[i] = random.nextLong()
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/util/
FastMath.java 668 /** Returns a pseudo-random number between 0.0 and 1.0.
669 * <p><b>Note:</b> this implementation currently delegates to {@link Math#random}
670 * @return a random number between 0.0 and 1.0
672 public static double random() { method in class:FastMath
673 return Math.random();
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
PKCS12KeyStoreSpi.java 148 protected SecureRandom random = new SecureRandom(); field in class:PKCS12KeyStoreSpi
251 this.random = rand;
    [all...]
  /external/eigen/unsupported/test/mpreal/
mpreal.h 121 #include <cstdlib> // Needed for random()
433 // Uniformly distributed random number generation in [0,1] using
435 // Use parameter to setup seed, e.g.: random((unsigned)time(NULL))
437 friend const mpreal random(unsigned int seed);
2614 inline const mpreal random(unsigned int seed = 0) function in namespace:mpfr
    [all...]
  /external/freetype/include/freetype/internal/
cfftypes.h 325 FT_UInt32 random; member in struct:CFF_SubFontRec_
  /external/googletest/googletest/src/
gtest-internal-inl.h 105 // A valid random seed must be in [1, kMaxRandomSeed].
134 // Returns a random seed in range [1, kMaxRandomSeed] based on the
149 // Returns the first valid random seed after 'seed'. The behavior is
154 << "Invalid random seed " << seed << " - must be in [1, "
312 void ShuffleRange(internal::Random* random, int begin, int end,
326 const int selected = begin + random->Generate(range_width);
333 inline void Shuffle(internal::Random* random, std::vector<E>* v) {
334 ShuffleRange(random, 0, static_cast<int>(v->size()), v)
792 internal::Random* random() { return &random_; } function in class:testing::internal::UnitTestImpl
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateTimeGeneratorTest.java 23 import java.util.Random;
269 Random random = new java.util.Random(-1); field in class:DateTimeGeneratorTest
273 int len = random.nextInt(maxLen + 1 - minLen) + minLen;
275 String source = randomList[random.nextInt(randomList.length)]; // don't bother with surrogates
276 char ch = source.charAt(random.nextInt(source.length()));
    [all...]
  /external/icu/icu4c/source/test/intltest/
intltest.cpp 1786 float IntlTest::random(int32_t* seedp) { function in class:IntlTest
1811 float IntlTest::random() { function in class:IntlTest
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DateTimeGeneratorTest.java 22 import java.util.Random;
266 Random random = new java.util.Random(-1); field in class:DateTimeGeneratorTest
270 int len = random.nextInt(maxLen + 1 - minLen) + minLen;
272 String source = randomList[random.nextInt(randomList.length)]; // don't bother with surrogates
273 char ch = source.charAt(random.nextInt(source.length()));
    [all...]
  /external/libmtp/src/
mtpz.c 1671 unsigned char *random = (unsigned char *)malloc(16); local
1786 unsigned char *random=NULL; local
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/src/
gtest-internal-inl.h 105 // A valid random seed must be in [1, kMaxRandomSeed].
134 // Returns a random seed in range [1, kMaxRandomSeed] based on the
149 // Returns the first valid random seed after 'seed'. The behavior is
154 << "Invalid random seed " << seed << " - must be in [1, "
312 void ShuffleRange(internal::Random* random, int begin, int end,
326 const int selected = begin + random->Generate(range_width);
333 inline void Shuffle(internal::Random* random, std::vector<E>* v) {
334 ShuffleRange(random, 0, static_cast<int>(v->size()), v)
792 internal::Random* random() { return &random_; } function in class:testing::internal::UnitTestImpl
    [all...]
  /external/libxaac/decoder/
ixheaacd_env_calc.c 1738 WORD32 random = *ptr_rand_ph; local
1811 WORD32 random = *ptr_rand_ph; local
    [all...]
  /external/mesa3d/src/gtest/src/
gtest-internal-inl.h 104 // A valid random seed must be in [1, kMaxRandomSeed].
133 // Returns a random seed in range [1, kMaxRandomSeed] based on the
148 // Returns the first valid random seed after 'seed'. The behavior is
153 << "Invalid random seed " << seed << " - must be in [1, "
311 void ShuffleRange(internal::Random* random, int begin, int end,
325 const int selected = begin + random->Generate(range_width);
332 inline void Shuffle(internal::Random* random, std::vector<E>* v) {
333 ShuffleRange(random, 0, static_cast<int>(v->size()), v)
801 internal::Random* random() { return &random_; } function in class:testing::internal::UnitTestImpl
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowMediaPlayer.java 30 import java.util.Random;
539 // worth the effort - a random non-zero number will probably do.
540 Random random = new Random(); local
541 audioSessionId = random.nextInt(Integer.MAX_VALUE) + 1;
    [all...]
  /external/v8/testing/gtest/src/
gtest-internal-inl.h 105 // A valid random seed must be in [1, kMaxRandomSeed].
134 // Returns a random seed in range [1, kMaxRandomSeed] based on the
149 // Returns the first valid random seed after 'seed'. The behavior is
154 << "Invalid random seed " << seed << " - must be in [1, "
312 void ShuffleRange(internal::Random* random, int begin, int end,
326 const int selected = begin + random->Generate(range_width);
333 inline void Shuffle(internal::Random* random, std::vector<E>* v) {
334 ShuffleRange(random, 0, static_cast<int>(v->size()), v)
792 internal::Random* random() { return &random_; } function in class:testing::internal::UnitTestImpl
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/src/
gtest-internal-inl.h 104 // A valid random seed must be in [1, kMaxRandomSeed].
133 // Returns a random seed in range [1, kMaxRandomSeed] based on the
148 // Returns the first valid random seed after 'seed'. The behavior is
153 << "Invalid random seed " << seed << " - must be in [1, "
311 void ShuffleRange(internal::Random* random, int begin, int end,
325 const int selected = begin + random->Generate(range_width);
332 inline void Shuffle(internal::Random* random, std::vector<E>* v) {
333 ShuffleRange(random, 0, static_cast<int>(v->size()), v)
801 internal::Random* random() { return &random_; } function in class:testing::internal::UnitTestImpl
    [all...]
  /frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
TestService.java 26 import java.util.Random;
1144 Random random = new Random(0); local
    [all...]
  /frameworks/support/exifinterface/src/androidTest/java/androidx/exifinterface/media/
ExifInterfaceTest.java 54 import java.util.Random;
359 // testing. Uses Epoch date count as random seed so that we can reproduce a broken test.
361 Log.d(TAG, "testDoNotFailOnCorruptedImage random seed: " + seed);
362 Random random = new Random(seed); local
367 random.nextBytes(bytes);
368 if (!randomlyCorrupted(random)) {
371 if (!randomlyCorrupted(random)) {
374 buffer.putShort((short) (random.nextInt(100) + 300))
    [all...]
  /frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
AdapterHelperTest.java 41 import java.util.Random;
850 Random random = new Random(System.nanoTime()); local
853 log("running random test " + i);
854 randomTest(random, Math.max(40, 10 + nextInt(random, i)));
856 throw new Throwable("failure at random test " + i + "\n" + t.getMessage()
862 private void randomTest(Random random, int opCount)
    [all...]
SortedListTest.java 45 import java.util.Random;
266 Random random = new Random(System.nanoTime()); local
272 switch (random.nextInt(3)) {
281 int index = random.nextInt(mList.size());
290 int index = random.nextInt(mList.size());
294 new Item(item.id, item.cmpField, random.nextInt(1000));
296 newItem.data = random.nextInt(1000);
309 int index = random.nextInt(mList.size())
370 Random random = new Random(System.nanoTime()); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
Base64Test.java 36 import java.util.Random;
869 Random random = new Random(7654321); local
903 Random random = new Random(32176L); local
996 final Random random = new Random(32176L); local
1039 Random random = new Random(32176L); local
    [all...]
  /prebuilts/gradle-plugin/com/android/tools/analytics-library/shared/25.2.0/
shared-25.2.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/analytics-library/shared/25.2.0-alpha6/
shared-25.2.0-alpha6.jar 
  /prebuilts/gradle-plugin/com/android/tools/analytics-library/shared/25.2.0-alpha7/
shared-25.2.0-alpha7.jar 
  /prebuilts/gradle-plugin/com/android/tools/analytics-library/shared/25.2.0-beta1/
shared-25.2.0-beta1.jar 

Completed in 1518 milliseconds

<<11121314151617181920>>