/external/guava/guava-tests/benchmark/com/google/common/collect/ |
SetContainsBenchmark.java | 48 private SpecialRandom random; field in class:SetContainsBenchmark 60 isUserTypeFast, random, hitRate, size);
|
/external/iptables/include/linux/netfilter/ |
xt_statistic.h | 26 } random; member in union:xt_statistic_info::__anon22418
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_statistic.h | 27 } random; member in union:xt_statistic_info::__anon23141
|
/external/libvncserver/common/ |
vncauth.c | 49 #define random rand macro 151 * Generate CHALLENGESIZE random bytes for use in challenge-response 167 bytes[i] = (unsigned char)(random() & 255);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
HuffmanTest.java | 22 import java.util.Random; 39 Random random = new Random(123456789L); local 41 random.nextBytes(buf);
|
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/ |
BubbleSortTest.java | 28 import java.util.Random; 87 Random random = new Random(156); local 91 int r = random.nextInt();
|
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/animation/ |
AnimationActivity.java | 16 import java.util.Random; 55 Random random = new Random(); local 59 float scale = (random.nextFloat() * (maxScale - minScale)) + minScale; 60 PointF center = new PointF(random.nextInt(view.getSWidth()), random.nextInt(view.getSHeight()));
|
/external/tensorflow/tensorflow/core/lib/random/ |
distribution_sampler_test.cc | 16 #include "tensorflow/core/lib/random/distribution_sampler.h" 22 #include "tensorflow/core/lib/random/simple_philox.h" 29 namespace random { namespace in namespace:tensorflow 40 SimplePhilox random(&philox); 42 int r = sampler.Sample(&random); 104 } // namespace random
|
simple_philox_test.cc | 16 #include "tensorflow/core/lib/random/simple_philox.h" 26 namespace random { namespace in namespace:tensorflow 134 } // namespace random
|
/libcore/benchmarks/src/benchmarks/regression/ |
KeyPairGeneratorBenchmark.java | 39 private SecureRandom random; field in class:KeyPairGeneratorBenchmark 53 this.random = SecureRandom.getInstance("SHA1PRNG");
|
PriorityQueueBenchmark.java | 25 import java.util.Random; 34 private Random random = new Random(189279387L); field in class:PriorityQueueBenchmark 49 Collections.shuffle(allElements, random); 66 Collections.shuffle(seekElements, random);
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
DSAKeyPairGeneratorTest.java | 45 * #initialize(DSAParams params, SecureRandom random) 49 SecureRandom random = null; local 52 random = SecureRandom.getInstance("SHA1PRNG"); 58 dsa.initialize(dsaParams, random); 72 dsa.initialize(null, random); 88 SecureRandom random = null; local 91 random = SecureRandom.getInstance("SHA1PRNG"); 98 dsa.initialize(520, false, random); 112 dsa.initialize(invalidLen[i], true, random); 127 dsa.initialize(520, true, random); [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
LatinImeStressTests.java | 23 import java.util.Random; 32 final Random random = new Random(seed); local 35 changeLanguageWithoutWait(locales[random.nextInt(locales.length)], 37 final int wordCount = random.nextInt(maxWordCountToTypeInEachIteration); 39 final String word = CodePointUtils.generateWord(random, codePointSet); 49 final Random random = new Random(seed) local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/ |
xt_statistic.h | 26 } random; member in union:xt_statistic_info::__anon62683
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/ |
NdefTagTester.java | 31 import java.util.Random; 34 * {@link TagTester} for NDEF tags. It writes a semi-random NDEF tag with a random id but 66 Random random = new Random(); local 67 NdefRecord mimeRecord = createRandomMimeRecord(random); 99 private NdefRecord createRandomMimeRecord(Random random) { 102 random.nextBytes(id) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationCopy2DRangeTest.java | 22 import java.util.Random; 31 Random random = new Random(0x172d8ab9); local 32 int width = random.nextInt(512); 33 int height = random.nextInt(512); 39 inArray[i] = random.nextInt();
|
SendToClient.java | 19 import java.util.Random; 28 private static Random random = new Random(); field in class:SendToClient 63 inArray[i] = random.nextInt(1000); 88 int Id = random.nextInt(100);
|
/dalvik/dx/tests/127-merge-stress/com/android/dx/merge/ |
MergeTest.java | 31 import java.util.Random; 35 * This test tries to merge given dex files at random, a first pass at 2 by 2, followed by 70 Random random = new Random(); local 76 int numDex = pass == 0 ? 2 : random.nextInt(8) + 3; 80 int fileIndex = random.nextInt(args.length);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
AbstractRandomGenerator.java | 17 package org.apache.commons.math.random; 39 * Cached random normal value. The default implementation for 83 * Sets the seed of the underyling random number generator using a 96 * Generates random bytes and places them into a user-supplied 97 * byte array. The number of random bytes produced is equal to 101 * random integers generated using {@link #nextInt}.</p> 104 * random bytes 124 * value from this random number generator's sequence. 134 * value from this random number generator's sequence 143 * this random number generator's sequence [all...] |
AbstractWell.java | 17 package org.apache.commons.math.random; 22 /** This abstract class implements the WELL class of pseudo-random number generator 32 * @see <a href="http://www.iro.umontreal.ca/~panneton/WELLRNG.html">WELL Random number generator</a> 63 /** Creates a new random number generator. 75 /** Creates a new random number generator using a single int seed. 86 /** Creates a new random number generator using an int array seed. 124 /** Creates a new random number generator using a single long seed.
|
MersenneTwister.java | 17 package org.apache.commons.math.random; 24 /** This class implements a powerful pseudo-random number generator 37 * Twister: A 623-Dimensionally Equidistributed Uniform Pseudo-Random 102 /** Creates a new random number generator. 111 /** Creates a new random number generator using a single int seed. 119 /** Creates a new random number generator using an int array seed. 128 /** Creates a new random number generator using a single long seed. 219 * @param bits number of random bits to produce 220 * @return random bits generated
|
Well1024a.java | 17 package org.apache.commons.math.random; 20 /** This class implements the WELL1024a pseudo-random number generator 30 * @see <a href="http://www.iro.umontreal.ca/~panneton/WELLRNG.html">WELL Random number generator</a> 52 /** Creates a new random number generator. 60 /** Creates a new random number generator using a single int seed. 67 /** Creates a new random number generator using an int array seed. 75 /** Creates a new random number generator using a single long seed.
|
Well19937a.java | 17 package org.apache.commons.math.random; 20 /** This class implements the WELL19937a pseudo-random number generator 30 * @see <a href="http://www.iro.umontreal.ca/~panneton/WELLRNG.html">WELL Random number generator</a> 52 /** Creates a new random number generator. 60 /** Creates a new random number generator using a single int seed. 67 /** Creates a new random number generator using an int array seed. 75 /** Creates a new random number generator using a single long seed.
|
Well19937c.java | 17 package org.apache.commons.math.random; 20 /** This class implements the WELL19937c pseudo-random number generator 30 * @see <a href="http://www.iro.umontreal.ca/~panneton/WELLRNG.html">WELL Random number generator</a> 52 /** Creates a new random number generator. 60 /** Creates a new random number generator using a single int seed. 67 /** Creates a new random number generator using an int array seed. 75 /** Creates a new random number generator using a single long seed.
|
Well44497a.java | 17 package org.apache.commons.math.random; 20 /** This class implements the WELL44497a pseudo-random number generator 30 * @see <a href="http://www.iro.umontreal.ca/~panneton/WELLRNG.html">WELL Random number generator</a> 52 /** Creates a new random number generator. 60 /** Creates a new random number generator using a single int seed. 67 /** Creates a new random number generator using an int array seed. 75 /** Creates a new random number generator using a single long seed.
|