Home
last modified time | relevance | path

Searched refs:setSeed (Results 1 – 25 of 27) sorted by relevance

12

/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DMersenneTwister.java108 setSeed(System.currentTimeMillis()); in MersenneTwister()
116 setSeed(seed); in MersenneTwister()
125 setSeed(seed); in MersenneTwister()
133 setSeed(seed); in MersenneTwister()
142 public void setSeed(int seed) { in setSeed() method in MersenneTwister
161 public void setSeed(int[] seed) { in setSeed() method in MersenneTwister
164 setSeed(System.currentTimeMillis()); in setSeed()
168 setSeed(19650218); in setSeed()
209 public void setSeed(long seed) { in setSeed() method in MersenneTwister
210 setSeed(new int[] { (int) (seed >>> 32), (int) (seed & 0xffffffffl) }); in setSeed()
DRandomAdaptor.java177 public void setSeed(int seed) { in setSeed() method in RandomAdaptor
179 randomGenerator.setSeed(seed); in setSeed()
184 public void setSeed(int[] seed) { in setSeed() method in RandomAdaptor
186 randomGenerator.setSeed(seed); in setSeed()
192 public void setSeed(long seed) { in setSeed() method in RandomAdaptor
194 randomGenerator.setSeed(seed); in setSeed()
DAbstractWell.java120 setSeed(seed); in AbstractWell()
141 public void setSeed(final int seed) { in setSeed() method in AbstractWell
142 setSeed(new int[] { seed }); in setSeed()
152 public void setSeed(final int[] seed) { in setSeed() method in AbstractWell
155 setSeed(System.currentTimeMillis()); in setSeed()
178 public void setSeed(final long seed) { in setSeed() method in AbstractWell
179 setSeed(new int[] { (int) (seed >>> 32), (int) (seed & 0xffffffffl) }); in setSeed()
DJDKRandomGenerator.java34 public void setSeed(int seed) { in setSeed() method in JDKRandomGenerator
35 setSeed((long) seed); in setSeed()
39 public void setSeed(int[] seed) { in setSeed() method in JDKRandomGenerator
47 setSeed(combined); in setSeed()
DAbstractRandomGenerator.java66 public void setSeed(int seed) { in setSeed() method in AbstractRandomGenerator
67 setSeed((long) seed); in setSeed()
71 public void setSeed(int[] seed) { in setSeed() method in AbstractRandomGenerator
79 setSeed(combined); in setSeed()
93 public abstract void setSeed(long seed); in setSeed() method in AbstractRandomGenerator
DRandomGenerator.java37 void setSeed(int seed); in setSeed() method
47 void setSeed(int[] seed); in setSeed() method
57 void setSeed(long seed); in setSeed() method
DBitsStreamGenerator.java40 public abstract void setSeed(int seed); in setSeed() method in BitsStreamGenerator
43 public abstract void setSeed(int[] seed); in setSeed() method in BitsStreamGenerator
46 public abstract void setSeed(long seed); in setSeed() method in BitsStreamGenerator
DRandomDataImpl.java703 rand.setSeed(System.currentTimeMillis());
719 secRand.setSeed(System.currentTimeMillis());
737 rand.setSeed(seed);
751 secRand.setSeed(System.currentTimeMillis());
767 secRand.setSeed(seed);
778 rand.setSeed(System.currentTimeMillis());
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
DSHA1PRNG_SecureRandomTest.java140 sr.setSeed(myBytes); in testNextBytesbyteArray02()
141 sr2.setSeed(myBytes); in testNextBytesbyteArray02()
298 sr1.setSeed(myBytes); in testNextBytesbyteArray04()
299 sr2.setSeed(myBytes); in testNextBytesbyteArray04()
326 sr.setSeed(null); in testSetSeedbyteArray01()
350 sr.setSeed(seed); in testSetSeedbyteArray02()
351 sr.setSeed(seed); in testSetSeedbyteArray02()
352 sr2.setSeed(seed); in testSetSeedbyteArray02()
391 sr.setSeed(seed); in testSetSeedbyteArray03()
392 sr.setSeed(new byte[0]); in testSetSeedbyteArray03()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
DSecureRandom_ImplTest.java68 sr.setSeed(0); in testSetSeedlong()
69 sr.setSeed(-1); in testSetSeedlong()
70 sr.setSeed(11111111111L); in testSetSeedlong()
119 sr.setSeed(null); in testSetSeedbyteArray()
124 sr.setSeed(seed); in testSetSeedbyteArray()
127 sr.setSeed(seed1); in testSetSeedbyteArray()
/external/jetty/src/java/org/eclipse/jetty/server/session/
DAbstractSessionIdManager.java155 secure.setSeed(secure.generateSeed(8)); in newSessionId()
159 …_random.setSeed(_random.nextLong()^System.currentTimeMillis()^request.hashCode()^Runtime.getRuntim… in newSessionId()
216 …_random.setSeed(_random.nextLong()^System.currentTimeMillis()^hashCode()^Runtime.getRuntime().free… in initRandom()
/external/apache-harmony/security/src/test/api/java.injected/java/security/
DSecureRandomTest.java67 sr.setSeed(12345); in testSetSeedlong()
148 sr.setSeed(b); in testSetSeedbyteArray()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DSecureRandom2Test.java123 new SecureRandom().setSeed(SEED_BYTES); in test_setSeed$B()
131 new SecureRandom().setSeed(SEED_VALUE); in test_setSeedJ()
/external/skia/src/animator/
DSkDisplayRandom.cpp63 fRandom.setSeed(value.fOperand.fS32); in setProperty()
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
DWebSocketWriterTest.java122 random.setSeed(0); // Reset the seed so we can mask the payload. in clientSendBinary()
154 random.setSeed(0); // Reset the seed so real data matches. in clientStreamBinary()
/external/skia/include/utils/
DSkRandom.h148 void setSeed(uint32_t seed) { init(seed); } in setSeed() function
/external/skia/samplecode/
DSamplePathFuzz.cpp176 void setSeed(int seed) { in setSeed() function in FuzzPath
177 fRand.setSeed(seed); in setSeed()
628 fuzzPath.setSeed(data->fSeed); in test_fuzz()
DSampleHairline.cpp205 gRand.setSeed(fNow); in onDrawContent()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DMidpointDisplacementHeightMap.java270 public void setSeed(long seed) { in setSeed() method in MidpointDisplacementHeightMap
DFaultHeightMap.java323 public void setSeed(long seed) { in setSeed() method in FaultHeightMap
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestUtilities.java53 random.setSeed(12345); in TestUnicodeMap()
/external/skia/tests/
DMathTest.cpp286 rand.setSeed(outer); in unittest_fastfloat()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java144 random.setSeed(System.currentTimeMillis()); in StoreEntry()
/external/opencv/cv/src/
Dcvfundam.cpp70 virtual void setSeed( int64 seed );
103 void CvModelEstimator2::setSeed( int64 seed ) in setSeed() function in CvModelEstimator2
/external/owasp/sanitizer/tools/findbugs/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...

12