Searched defs:seed (Results 76 - 100 of 398) sorted by relevance

1234567891011>>

/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
H A DRandomGenerator.java30 * Sets the seed of the underlying random number generator using an
31 * <code>int</code> seed.
35 * @param seed the seed value
37 void setSeed(int seed); argument
40 * Sets the seed of the underlying random number generator using an
41 * <code>int</code> array seed.
45 * @param seed the seed value
47 void setSeed(int[] seed); argument
57 setSeed(long seed) argument
[all...]
H A DAbstractWell.java65 * seed.</p>
75 /** Creates a new random number generator using a single int seed.
80 * @param seed the initial seed (32 bits integer)
82 protected AbstractWell(final int k, final int m1, final int m2, final int m3, final int seed) { argument
83 this(k, m1, m2, m3, new int[] { seed });
86 /** Creates a new random number generator using an int array seed.
91 * @param seed the initial seed (32 bits integers array), if null
92 * the seed o
94 AbstractWell(final int k, final int m1, final int m2, final int m3, final int[] seed) argument
131 AbstractWell(final int k, final int m1, final int m2, final int m3, final long seed) argument
141 setSeed(final int seed) argument
152 setSeed(final int[] seed) argument
178 setSeed(final long seed) argument
[all...]
/external/apache-http/src/org/apache/http/util/
H A DLangUtils.java56 public static int hashCode(final int seed, final int hashcode) { argument
57 return seed * HASH_OFFSET + hashcode;
60 public static int hashCode(final int seed, final boolean b) { argument
61 return hashCode(seed, b ? 1 : 0);
64 public static int hashCode(final int seed, final Object obj) { argument
65 return hashCode(seed, obj != null ? obj.hashCode() : 0);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/
H A DECParameterSpec.java16 private byte[] seed; field in class:ECParameterSpec
30 this.seed = null;
43 this.seed = null;
51 byte[] seed)
57 this.seed = seed;
97 * return the seed used to generate this curve (if available).
98 * @return the random seed
102 return seed;
46 ECParameterSpec( ECCurve curve, ECPoint G, BigInteger n, BigInteger h, byte[] seed) argument
/external/deqp/framework/common/
H A DtcuRandomValueIterator.hpp61 static RandomValueIterator begin (deUint32 seed, int numValues) { return RandomValueIterator<T>(seed, numValues); } argument
73 RandomValueIterator (deUint32 seed, int numLeft);
81 RandomValueIterator<T>::RandomValueIterator (deUint32 seed, int numLeft) argument
82 : m_rnd (seed)
/external/fio/crc/
H A Dmurmur3.c45 uint32_t murmurhash3(const void *key, uint32_t len, uint32_t seed) argument
49 uint32_t h1 = seed;
H A Dxxhash.h71 uint32_t seed; member in struct:XXH_state32_t
91 uint32_t XXH32 (const void* input, uint32_t len, uint32_t seed);
97 "seed" can be used to alter the result predictably.
110 void* XXH32_init (unsigned int seed);
138 XXH_errorcode XXH32_resetState(void* state, unsigned int seed);
/external/fio/t/
H A Daxmap.c21 static int test_regular(size_t size, int seed) argument
32 lfsr_init(&lfsr, size, seed, seed & 0xF);
126 int seed = 1; local
131 seed = strtoul(argv[2], NULL, 10);
134 if (test_regular(size, seed))
H A Dlfsr-test.c16 printf("Usage: lfsr-test 0x<numbers> [seed] [spin] [verify]\n");
19 "seed: initial value\n"
34 uint64_t seed = 0; local
46 case 3: seed = atol(argv[2]);
60 r = lfsr_init(fl, numbers, seed, spin);
/external/llvm/lib/Transforms/Utils/
H A DMetaRenamer.cpp35 void srand(unsigned int seed) { argument
36 next = seed;
52 Renamer(unsigned int seed) { argument
53 prng.srand(seed);
/external/opencv3/3rdparty/openexr/Imath/
H A DImathRandom.cpp163 srand48 (long int seed) argument
165 staticState[2] = (unsigned short)(seed >> 16);
166 staticState[1] = (unsigned short)(seed);
/external/skia/bench/
H A DPerlinNoiseBench.cpp42 float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed,
46 seed, stitchTiles ? &fSize : nullptr) :
48 seed, stitchTiles ? &fSize : nullptr);
41 test(int loops, SkCanvas* canvas, int x, int y, SkPerlinNoiseShader::Type type, float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed, bool stitchTiles) argument
/external/tpm2/
H A DCpriRNG.c26 // seed the OpenSSL() random number generator.
128 // This funciton is used to generate a pseudo-random number from some seed values This funciton returns
136 TPM2B *seed, // IN: the seed value
142 return (_cpri__KDFa(hashAlg, seed, label, partyU, partyV,
132 _cpri__GenerateSeededRandom( INT32 randomSize, BYTE *random, TPM_ALG_ID hashAlg, TPM2B *seed, const char *label, TPM2B *partyU, TPM2B *partyV ) argument
/external/vulkan-validation-layers/loader/
H A Dmurmurhash.c35 uint32_t murmurhash(const char *key, size_t len, uint32_t seed) { argument
50 h = seed;
/external/webrtc/webrtc/base/
H A Drandom.cc18 Random::Random(uint64_t seed) { argument
19 RTC_DCHECK(seed != 0x0ull);
20 state_ = seed;
/external/webrtc/webrtc/modules/video_coding/codecs/test/
H A Dpacket_manipulator.cc84 void PacketManipulatorImpl::InitializeRandomSeed(unsigned int seed) { argument
85 random_seed_ = seed;
89 // Use the previous result as new seed before each rand() call. Doing this
91 // get the same behavior as long as we're using a fixed initial seed.
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dfips_prf_openssl.c48 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) argument
63 os_memcpy(xkey, seed, seed_len);
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_peap_common.c16 const char *label, const u8 *seed, size_t seed_len,
31 addr[2] = seed;
15 peap_prfplus(int version, const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
/external/wpa_supplicant_8/src/crypto/
H A Dfips_prf_openssl.c48 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) argument
63 os_memcpy(xkey, seed, seed_len);
/external/wpa_supplicant_8/src/eap_common/
H A Deap_peap_common.c16 const char *label, const u8 *seed, size_t seed_len,
31 addr[2] = seed;
15 peap_prfplus(int version, const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dfips_prf_openssl.c48 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) argument
63 os_memcpy(xkey, seed, seed_len);
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_peap_common.c16 const char *label, const u8 *seed, size_t seed_len,
31 addr[2] = seed;
15 peap_prfplus(int version, const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DAbstractContinuousDistribution.java148 * @param seed the new seed
151 public void reseedRandomGenerator(long seed) { argument
152 randomData.reSeed(seed);
H A DAbstractIntegerDistribution.java214 * @param seed the new seed
217 public void reseedRandomGenerator(long seed) { argument
218 randomData.reSeed(seed);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
H A DX9ECParameters.java32 private byte[] seed; field in class:X9ECParameters
60 this.seed = x9c.getSeed();
114 byte[] seed)
116 this(curve, new X9ECPoint(g), n, h, seed);
124 byte[] seed)
130 this.seed = seed;
181 return seed;
191 return new X9Curve(curve, seed);
233 v.add(new X9Curve(curve, seed));
109 X9ECParameters( ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed) argument
119 X9ECParameters( ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h, byte[] seed) argument
[all...]

Completed in 507 milliseconds

1234567891011>>