HomeSort by relevance Sort by last modified time
    Searched full:seed (Results 176 - 200 of 1468) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/chromium_org/third_party/webrtc/modules/audio_processing/utility/
ring_buffer_unittest.cc 52 // We use ASSERTs in this test to avoid obscuring the seed in the case of a
59 unsigned int seed = time(NULL); local
60 printf("seed=%u\n", seed);
61 srand(seed);
  /external/chromium_org/v8/benchmarks/spinning-balls/
v.js 136 var seed = 49734321;
139 seed = ((seed + 0x7ed55d16) + (seed << 12)) & 0xffffffff;
140 seed = ((seed ^ 0xc761c23c) ^ (seed >>> 19)) & 0xffffffff;
141 seed = ((seed + 0x165667b1) + (seed << 5)) & 0xffffffff
    [all...]
  /external/chromium_org/v8/src/utils/
random-number-generator.h 17 // uses a 48-bit seed, which is modified using a linear congruential formula.
19 // If two instances of RandomNumberGenerator are created with the same seed, and
36 explicit RandomNumberGenerator(int64_t seed) { SetSeed(seed); }
80 void SetSeed(int64_t seed);
  /external/elfutils/0.153/lib/
next_prime.c 77 next_prime (size_t seed)
80 seed |= 1;
82 while (!is_prime (seed))
83 seed += 2;
85 return seed;
  /external/skia/include/effects/
SkPerlinNoiseShader.h 59 int numOctaves, SkScalar seed,
62 int numOctaves, SkScalar seed,
69 int numOctaves, SkScalar seed,
71 return CreateTurbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, tileSize);
111 SkScalar baseFrequencyY, int numOctaves, SkScalar seed,
  /external/chromium_org/chrome/browser/metrics/variations/
variations_service_unittest.cc 85 // Populates |seed| with simple test data. The resulting seed will contain one
87 // probability weight 100. |seed|'s study field will be cleared before adding
90 VariationsSeed seed; local
91 Study* study = seed.add_study();
97 seed.set_serial_number("123");
98 return seed;
101 // Serializes |seed| to protobuf binary format.
102 std::string SerializeSeed(const VariationsSeed& seed) {
104 seed.SerializeToString(&serialized_seed)
    [all...]
variations_service.cc 53 // Default server of Variations seed info.
55 "https://clients4.google.com/chrome-variations/seed";
117 // Gets the version number to use for variations seed simulation. Must be called
213 // Use the build time for date checks if either the seed date is invalid or
214 // the build time is newer than the seed date.
258 VariationsSeed seed; local
259 if (!seed_store_.LoadSeed(&seed))
271 seed, g_browser_process->GetApplicationLocale(),
275 // Log the "freshness" of the seed that was just used. The freshness is the
276 // time between the last successful seed download and now
    [all...]
variations_request_scheduler_mobile.cc 14 // Time before attempting a seed fetch after a ScheduleFetch(), in seconds.
17 // Time between seed fetches, in hours.
58 // note that since Start() verifies that the seed needs to be refreshed, we
  /external/e2fsprogs/lib/ext2fs/
dirhash.c 181 * The seed is an 4 longword (32 bits) "secret" which can be used to
182 * uniquify a hash. If the seed is all zero's, then some default seed
185 * A particular hash version specifies whether or not the seed is
190 const __u32 *seed,
201 /* Initialize the default seed for the hash checksum functions */
207 /* Check to see if the seed is all zero's */
208 if (seed) {
210 if (seed[i])
214 memcpy(buf, seed, sizeof(buf))
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
RSBaseCompute.java 114 int size, long seed, boolean includeExtremes) {
123 RSUtils.genRandomDoubles(seed, min, max, inArray, includeExtremes);
130 RSUtils.genRandomFloats(seed, min, max, inArray, includeExtremes);
134 RSUtils.genRandomLongs(seed, inArray, true, 63);
138 RSUtils.genRandomLongs(seed, inArray, false, 64);
142 RSUtils.genRandomInts(seed, inArray, true, 31);
146 RSUtils.genRandomInts(seed, inArray, false, 32);
150 RSUtils.genRandomShorts(seed, inArray, true, 15);
154 RSUtils.genRandomShorts(seed, inArray, false, 16);
158 RSUtils.genRandomBytes(seed, inArray, true, 7)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DSAParametersGenerator.java 122 byte[] seed = new byte[20];
138 random.nextBytes(seed);
140 hash(digest, seed, part1);
141 System.arraycopy(seed, 0, part2, 0, seed.length);
160 byte[] offset = Arrays.clone(seed);
193 return new DSAParameters(p, q, g, new DSAValidationParameters(seed, counter));
233 byte[] seed = new byte[seedlen / 8];
245 random.nextBytes(seed);
248 hash(d, seed, output)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fLifetimeTests.cpp 214 void initAttachment (GLuint seed, GLuint element);
232 void initBuffer (const Functions& gl, GLuint seed, GLenum usage, GLuint buffer)
235 if (seed == 0)
239 Random rnd (seed);
257 void BufferVAOAttacher::initAttachment (GLuint seed, GLuint buffer)
259 initBuffer(gl(), seed, GL_STATIC_DRAW, buffer); local
260 log() << TestLog::Message << "// Initialized buffer " << buffer << " from seed " << seed
312 void initAttachment (GLuint seed, GLuint element);
319 void BufferTfAttacher::initAttachment (GLuint seed, GLuint buffer
321 initBuffer(gl(), seed, GL_DYNAMIC_READ, buffer); local
383 initBuffer(gl(), seed, GL_STATIC_DRAW, *posBuf); local
    [all...]
  /external/chromium_org/chrome/browser/sync/test/integration/
two_client_extension_settings_and_app_settings_sync_test.cc 27 int seed, // used to modify the mutation values, not keys.
34 settings.SetString("asdf", base::StringPrintf("asdfasdf-%d", seed));
41 settings.SetString("asdf", base::StringPrintf("asdfasdf-%d", seed));
42 settings.SetString("qwer", base::StringPrintf("qwerqwer-%d", seed));
48 settings0.SetString("zxcv", base::StringPrintf("zxcvzxcv-%d", seed));
53 settings1.SetString("1324", base::StringPrintf("12341234-%d", seed));
54 settings1.SetString("5687", base::StringPrintf("56785678-%d", seed));
  /external/chromium_org/third_party/opus/src/silk/
CNG.c 41 opus_int32 *rand_seed /* I/O Seed to random index generator */
44 opus_int32 seed; local
52 seed = *rand_seed;
54 seed = silk_RAND( seed );
55 idx = (opus_int)( silk_RSHIFT( seed, 24 ) & exc_mask );
60 *rand_seed = seed;
  /external/libopus/silk/
CNG.c 41 opus_int32 *rand_seed /* I/O Seed to random index generator */
44 opus_int32 seed; local
52 seed = *rand_seed;
54 seed = silk_RAND( seed );
55 idx = (opus_int)( silk_RSHIFT( seed, 24 ) & exc_mask );
60 *rand_seed = seed;
  /libcore/luni/src/main/java/java/util/concurrent/
ThreadLocalRandom.java 15 * with an internally generated seed that may not otherwise be
42 * The random seed. We can't use super.seed.
49 * since it would cause setting seed in one part of a program to
54 // Padding to help avoid memory contention among seed updates in
93 public void setSeed(long seed) {
96 rnd = (seed ^ multiplier) & mask;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_random.py 22 self.gen.seed()
25 self.gen.seed() # diffent seeds at different times
31 self.gen.seed()
40 self.gen.seed(arg)
42 self.assertRaises(TypeError, self.gen.seed, arg)
43 self.assertRaises(TypeError, self.gen.seed, 1, 2)
47 self.gen.seed()
62 self.gen.seed(199210368)
128 # Ensure that the seed() method initializes all the hidden state. In
132 for seed in 1, 12, 123, 1234, 12345, 123456, 654321
    [all...]
test_hash.py 153 def get_hash(self, repr_, seed=None):
155 if seed is not None:
156 env['PYTHONHASHSEED'] = str(seed)
169 run1 = self.get_hash(self.repr_, seed='random')
170 run2 = self.get_hash(self.repr_, seed='random')
184 # It can also be disabled by setting the seed to 0:
185 self.assertEqual(self.get_hash(self.repr_, seed=0), known_hash_of_obj)
188 # test a fixed seed for the randomized hash
200 self.assertEqual(self.get_hash(self.repr_, seed=42), h)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_random.py 22 self.gen.seed()
25 self.gen.seed() # diffent seeds at different times
31 self.gen.seed()
40 self.gen.seed(arg)
42 self.assertRaises(TypeError, self.gen.seed, arg)
43 self.assertRaises(TypeError, self.gen.seed, 1, 2)
47 self.gen.seed()
62 self.gen.seed(199210368)
128 # Ensure that the seed() method initializes all the hidden state. In
132 for seed in 1, 12, 123, 1234, 12345, 123456, 654321
    [all...]
test_hash.py 153 def get_hash(self, repr_, seed=None):
155 if seed is not None:
156 env['PYTHONHASHSEED'] = str(seed)
169 run1 = self.get_hash(self.repr_, seed='random')
170 run2 = self.get_hash(self.repr_, seed='random')
184 # It can also be disabled by setting the seed to 0:
185 self.assertEqual(self.get_hash(self.repr_, seed=0), known_hash_of_obj)
188 # test a fixed seed for the randomized hash
200 self.assertEqual(self.get_hash(self.repr_, seed=42), h)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
OAEPEncoding.java 167 // generate the seed.
169 byte[] seed = new byte[defHash.length];
171 random.nextBytes(seed);
176 byte[] mask = maskGeneratorFunction1(seed, 0, seed.length, block.length - defHash.length);
184 // add in the seed
186 System.arraycopy(seed, 0, block, 0, defHash.length);
189 // mask the seed.
237 // unmask the seed.
  /development/perftests/panorama/feature_stab/db_vlvm/
db_utilities_random.h 37 \param r seed
53 \param r seed
73 \param r_seed random number generator seed
  /external/chromium_org/chrome/browser/prefs/
pref_hash_calculator.h 33 // Constructs a PrefHashCalculator using |seed| and |device_id|. The same
36 PrefHashCalculator(const std::string& seed, const std::string& device_id);
42 const std::string& seed,
  /external/chromium_org/components/rappor/
rappor_metric.cc 32 // client's secret key + real data as a seed. The inclusion of the secret
33 // in the seed avoids correlations between real and fake data.
34 // The seed isn't a human-readable string.
  /external/chromium_org/components/variations/
variations_seed_processor_unittest.cc 177 VariationsSeed seed; local
178 Study* study1 = seed.add_study();
183 Study* study2 = seed.add_study();
185 ASSERT_EQ(seed.study(0).name(), seed.study(1).name());
197 seed_processor.CreateTrialsFromSeed(seed, "en-CA", base::Time::Now(),
209 seed_processor.CreateTrialsFromSeed(seed, "en-CA", base::Time::Now(),
301 VariationsSeed seed; local
302 Study* study1 = seed.add_study();
308 Study* study2 = seed.add_study()
    [all...]

Completed in 1292 milliseconds

1 2 3 4 5 6 78 91011>>