/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
ECParameterSpec.java | 16 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;
|
/external/tensorflow/tensorflow/python/framework/ |
random_seed.py | 16 """For seeding individual ops based on a graph-level seed. 32 def _truncate_seed(seed): 33 return seed % _MAXINT32 # Truncate to fit into 32-bit integer 38 """Returns the local seeds an operation should use given an op-specific seed. 40 Given operation-specific seed, `op_seed`, this helper function returns two 42 internally use the two seeds to allow user to change the seed globally for a 45 For details on how the graph-level seed interacts with op seeds, see 52 A tuple of two integers that should be used for the local seed of this 58 global_seed = ops.get_default_graph().seed 84 def set_random_seed(seed) [all...] |
/external/v8/src/base/ |
functional.cc | 71 size_t hash_combine(size_t seed, size_t value) { 80 seed ^= value; 81 seed = bits::RotateRight32(seed, 13); 82 seed = seed * 5 + 0xe6546b64; 91 seed ^= value; 92 seed *= m; 94 return seed;
|
/external/libdrm/tests/ |
random.c | 80 static void check_period(unsigned long seed) 86 state = drmRandomCreate(seed); 92 printf("With seed of %10lu, period = %10lu (0x%08lx)\n", 93 seed, count, count);
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
FuzzyTestCase.java | 36 * A testcase that has a random seed. 38 * If you see a failure, please report it along with the seed from the output. 39 * If you want to repeat a failure, set the system property "junit.seed". 45 protected long seed = System.currentTimeMillis(); field in class:FuzzyTestCase 47 String seedStr = System.getProperty("junit.seed"); 50 seed = Long.parseLong(seedStr); 66 rnd = new Random(seed);
|
/external/syslinux/gpxe/src/include/ |
stdlib.h | 55 extern void srandom ( unsigned int seed ); 61 static inline void srand ( unsigned int seed ) { 62 srandom ( seed );
|
/external/tensorflow/tensorflow/core/ops/ |
stateless_random_ops.cc | 25 // Check seed shape 26 ShapeHandle seed; local 27 TF_RETURN_IF_ERROR(context->WithRank(context->input(1), 1, &seed)); 29 TF_RETURN_IF_ERROR(context->WithValue(context->Dim(seed, 0), 2, &unused)); 41 .Input("seed: Tseed") \
|
/external/lz4/programs/ |
datagen.c | 88 static BYTE RDG_genChar(U32* seed, const litDistribTable lt) 90 U32 id = RDG_rand(seed) & LTMASK; 96 #define RDG_RAND15BITS ((RDG_rand(seed) >> 3) & 32767) 97 #define RDG_RANDLENGTH ( ((RDG_rand(seed) >> 7) & 7) ? (RDG_rand(seed) & 15) : (RDG_rand(seed) & 511) + 15) 103 U32* seed = seedPtr; local 108 size_t size0 = RDG_rand(seed) & 3; 110 size0 += RDG_rand(seed) & (size0-1); /* because size0 is power of 2*/ 118 buffPtr[pos-1] = RDG_genChar(seed, lt) [all...] |
/external/scapy/scapy/layers/tls/crypto/ |
prf.py | 22 def _tls_P_hash(secret, seed, req_len, hm): 31 - seed : the seed to be used. 43 a = hm(secret).digest(seed) # A(1) 46 res += hm(secret).digest(a + raw(seed)) 53 def _tls_P_MD5(secret, seed, req_len): 54 return _tls_P_hash(secret, seed, req_len, _tls_hmac_algs["HMAC-MD5"]) 56 def _tls_P_SHA1(secret, seed, req_len): 57 return _tls_P_hash(secret, seed, req_len, _tls_hmac_algs["HMAC-SHA"]) 59 def _tls_P_SHA256(secret, seed, req_len) [all...] |
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
FakeFieldGenerator.java | 21 FilledAutofillField generate(int seed);
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
FakeFieldGenerator.java | 21 FilledAutofillField generate(int seed, String datasetId);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
MersenneTwister.java | 104 * seed.</p> 111 /** Creates a new random number generator using a single int seed. 112 * @param seed the initial seed (32 bits integer) 114 public MersenneTwister(int seed) { 116 setSeed(seed); 119 /** Creates a new random number generator using an int array seed. 120 * @param seed the initial seed (32 bits integers array), if null 121 * the seed of the generator will be related to the current tim [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_peap_common.h | 13 const char *label, const u8 *seed, size_t seed_len,
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
layers_dense_variational_test.py | 110 inputs = random_ops.random_uniform([2, 3], seed=1) 133 inputs = random_ops.random_uniform([2, 3], seed=1) 149 seed = Counter() 150 inputs = random_ops.random_uniform([batch_size, in_size], seed=seed()) 154 loc=random_ops.random_uniform(kernel_size, seed=seed()), 155 scale=random_ops.random_uniform(kernel_size, seed=seed()), 156 result_log_prob=random_ops.random_uniform(kernel_size, seed=seed()) [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLRandom.java | 32 protected void engineSetSeed(byte[] seed) { 33 if (seed == null) { 34 throw new NullPointerException("seed == null");
|
/external/fio/lib/ |
lfsr.h | 27 unsigned long seed, unsigned int spin); 28 int lfsr_reset(struct fio_lfsr *fl, unsigned long seed);
|
zipf.h | 18 void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, unsigned int seed); 21 void pareto_init(struct zipf_state *zs, unsigned long nranges, double h, unsigned int seed);
|
/external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.disc/ |
seed_result_type.pass.cpp | 15 // void seed(result_type s = default_seed); 28 e2.seed(s); 41 e2.seed(s);
|
/external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.mers/ |
seed_result_type.pass.cpp | 17 // void seed(result_type s = default_seed); 30 e2.seed(s); 43 e2.seed(s);
|
/external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.sub/ |
seed_result_type.pass.cpp | 15 // void seed(result_type s = default_seed); 28 e2.seed(s); 41 e2.seed(s);
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
native_struct.cc | 30 size_t NativeStruct::Hash(size_t seed) const { 31 return internal::Hash(seed, data);
|
/external/syslinux/gpxe/src/crypto/ |
crc32.c | 30 * @v seed Initial value 34 * Usually @a seed is initially zero or all one bits, depending on the 36 * return value from one call as the @a seed parameter to the next. 38 u32 crc32_le ( u32 seed, const void *data, size_t len ) 40 u32 crc = seed;
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
initializers.py | 31 def xavier_initializer(uniform=True, seed=None, dtype=dtypes.float32): 49 seed: A Python integer. Used to create random seeds. See 57 uniform=uniform, seed=seed, dtype=dtype) 63 seed=None, dtype=dtypes.float32): 100 seed: A Python integer. Used to create random seeds. See 145 dtype, seed=seed) 150 seed=seed) [all...] |
/libcore/ojluni/src/main/java/java/security/spec/ |
EllipticCurve.java | 48 private final byte[] seed; field in class:EllipticCurve 89 * {@code b}, and the {@code seed} used for curve generation. 93 * @param seed the bytes used during curve generation for later 102 BigInteger b, byte[] seed) { 117 if (seed != null) { 118 this.seed = seed.clone(); 120 this.seed = null; 153 * Returns the seeding bytes {@code seed} used 155 * @return the seeding bytes {@code seed}. A ne [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerRandom.h | 20 Random(unsigned int seed) : std::mt19937(seed) {}
|