HomeSort by relevance Sort by last modified time
    Searched defs:seed (Results 1 - 25 of 683) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/compiler-rt/test/msan/
rand_r.cc 9 unsigned seed; local
11 seed = 42;
13 int v = rand_r(&seed);
  /external/e2fsprogs/lib/uuid/
gen_uuid_nt.c 29 // OUT PUCHAR Seed // 6 bytes
49 void* seed // 6 bytes
86 unsigned char seed[6]; local
87 ((NtAllocateUuids_2000)NtAllocateUuids)(out, ((char*)out)+8, ((char*)out)+12, &seed[0] );
  /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/tensorflow/tensorflow/core/util/
guarded_philox_random.cc 22 // Grab seed Attrs.
23 int64 seed, seed2; local
24 auto status = context->GetAttr("seed", &seed);
30 Init(seed, seed2);
34 void GuardedPhiloxRandom::Init(int64 seed, int64 seed2) {
36 if (seed == 0 && seed2 == 0) {
38 seed = random::New64();
42 generator_ = random::PhiloxRandom(seed, seed2);
  /device/generic/goldfish/dhcp/server/
lease.h 44 inline void hash_combine(size_t& seed, const T& value) {
46 seed ^= hasher(value) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
52 size_t seed = 0; local
53 hash_combine(seed, lease.InterfaceIndex);
55 hash_combine(seed, *reinterpret_cast<const uint32_t*>(lease.MacAddress));
57 hash_combine(seed,
59 return seed;
  /external/boringssl/src/crypto/curve25519/
ed25519_test.cc 73 uint8_t seed[32]; local
74 OPENSSL_memcpy(seed, private_key1, sizeof(seed));
77 ED25519_keypair_from_seed(public_key2, private_key2, seed);
  /external/boringssl/src/include/openssl/
rand.h 103 void (*seed) (const void *buf, int num); member in struct:rand_meth_st
  /external/compiler-rt/test/asan/TestCases/Posix/
halt_on_error-torture.cc 32 void random_delay(unsigned *seed) {
33 *seed = 1664525 * *seed + 1013904223;
34 struct timespec delay = { 0, (*seed % 1000) * 1000 };
39 unsigned seed = (unsigned)(size_t)arg; local
45 random_delay(&seed);
  /external/guava/guava-tests/test/com/google/common/collect/
SpecialRandom.java 22 * Utility class for being able to seed a {@link Random} value with a passed
23 * in seed from a benchmark parameter.
37 private final long seed; field in class:SpecialRandom
41 this.seed = 0;
44 public SpecialRandom(long seed) {
45 super(seed);
47 this.seed = seed;
51 return hasSeed ? "(seed:" + seed : "(default seed)"
    [all...]
  /external/libdrm/
xf86drmRandom.h 34 unsigned long seed; member in struct:RandomState
  /external/ltp/tools/pounder21/src/randacoords/
coords.c 31 long seed; local
39 if (read(fp, &seed, sizeof(seed)) != sizeof(seed)) {
40 perror("read random seed");
45 srand(seed);
  /external/tpm2/
Hierarchy.c 142 // This function returns the primary seed of a hierarchy.
149 TPM2B_SEED *seed = NULL; local
153 seed = &gp.PPSeed;
156 seed = &gp.SPSeed;
159 seed = &gp.EPSeed;
167 return seed;
  /external/vixl/test/aarch64/
test-fuzz-aarch64.cc 46 uint16_t seed[3] = {1, 2, 3}; local
47 seed48(seed);
64 uint16_t seed[3] = {42, 43, 44}; local
65 seed48(seed);
  /libcore/ojluni/src/test/java/time/jdk/testlibrary/
RandomFactory.java 30 * Factory class which generates and prints to STDOUT a long-valued seed
36 * Attempt to obtain the seed from the value of the "seed" property.
37 * @return The seed or {@code null} if the "seed" property was not set or
41 Long seed = null; local
46 seed = Long.valueOf(System.getProperty("seed"));
48 // do nothing: seed is still null
51 return seed;
72 Long seed = getSystemSeed(); local
    [all...]
  /system/core/libmemunreachable/
Leak.h 32 std::size_t seed = 0; local
34 hash_combine(seed, key.num_frames);
36 hash_combine(seed, key.frames[i]);
39 return seed;
44 inline void hash_combine(std::size_t& seed, const T& v) const {
46 seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
  /external/boringssl/src/fipstools/
cavp_sha_monte_test.cc 50 std::vector<uint8_t> seed; local
51 if (!t->GetBytes(&seed, "Seed") ||
52 seed.size() != md_len) {
56 std::vector<uint8_t> out = seed;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DHValidationParms.java 17 private DERBitString seed; field in class:DHValidationParms
39 public DHValidationParms(DERBitString seed, ASN1Integer pgenCounter)
41 if (seed == null)
43 throw new IllegalArgumentException("'seed' cannot be null");
50 this.seed = seed;
61 this.seed = DERBitString.getInstance(seq.getObjectAt(0));
67 return this.seed;
78 v.add(this.seed);
ValidationParams.java 18 * seed BIT STRING,
26 private DERBitString seed; field in class:ValidationParams
48 public ValidationParams(byte[] seed, int pgenCounter)
50 if (seed == null)
52 throw new IllegalArgumentException("'seed' cannot be null");
55 this.seed = new DERBitString(seed);
59 public ValidationParams(DERBitString seed, ASN1Integer pgenCounter)
61 if (seed == null)
63 throw new IllegalArgumentException("'seed' cannot be null")
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DHValidationParameters.java 7 private byte[] seed; field in class:DHValidationParameters
11 byte[] seed,
14 this.seed = seed;
25 return seed;
43 return Arrays.areEqual(this.seed, other.seed);
48 return counter ^ Arrays.hashCode(seed);
DSAValidationParameters.java 8 private byte[] seed; field in class:DSAValidationParameters
12 byte[] seed,
15 this(seed, counter, -1);
19 byte[] seed,
23 this.seed = seed;
35 return seed;
45 return counter ^ Arrays.hashCode(seed);
63 return Arrays.areEqual(this.seed, other.seed);
    [all...]
  /external/fio/t/
axmap.c 21 static int test_regular(size_t size, int seed)
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))
lfsr-test.c 16 printf("Usage: lfsr-test 0x<numbers> [seed] [spin] [verify]\n");
19 "seed: initial value\n"
34 uint64_t seed = 0; local
48 case 3: seed = atol(argv[2]);
62 r = lfsr_init(fl, numbers, seed, spin);
74 printf("Seed is %lu\n", (unsigned long) fl->last_val);
  /external/libopus/silk/
CNG.c 40 opus_int32 *rand_seed /* I/O Seed to random index generator */
43 opus_int32 seed; local
51 seed = *rand_seed;
53 seed = silk_RAND( seed );
54 idx = (opus_int)( silk_RSHIFT( seed, 24 ) & exc_mask );
59 *rand_seed = seed;
  /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/ppp/pppd/
magic.c 62 * Attempts to compute a random number seed which will not repeat.
69 long seed; local
73 seed = get_host_seed() ^ t.tv_sec ^ t.tv_usec ^ getpid();
74 srand48(seed);

Completed in 765 milliseconds

1 2 3 4 5 6 7 8 91011>>