Searched defs:random (Results 1 - 25 of 439) sorted by relevance

1234567891011>>

/external/autotest/tko/
H A Dunique_cookie.py1 import os, random namespace
7 If not, set cookie on client side: evaluate this key by a random string.
25 uid = str(random.random())[2:16] # random string of 14 digits
/external/skia/src/gpu/
H A DGrDrawOpTest.cpp17 const GrUserStencilSettings* GrGetRandomStencil(SkRandom* random, GrContext* context) { argument
55 return kStencilSettings[random->nextULessThan(SK_ARRAY_COUNT(kStencilSettings))];
/external/ltp/testcases/network/nfsv4/acl/
H A Dcleangroups.py5 import random namespace
H A Dcleanusers.py5 import random namespace
/external/slf4j/slf4j-api/src/test/java/org/slf4j/
H A DDifferentiator.java32 static Random random = new Random(System.currentTimeMillis()); field in class:Differentiator
35 return (short) random.nextInt(Short.MAX_VALUE);
/external/syslinux/gpxe/src/core/
H A Drandom.c15 * Seed the pseudo-random number generator
24 * Generate a pseudo-random number between 0 and 2147483647L or 2147483562?
26 * @ret rand Pseudo-random number
28 long int random ( void ) { function
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
H A DNormalizedRandomGenerator.java18 package org.apache.commons.math.random;
21 * This interface represent a normalized random generator for
29 /** Generate a random scalar with null mean and unit standard deviation.
34 * @return a random scalar with null mean and unit standard deviation
H A DRandomVectorGenerator.java18 package org.apache.commons.math.random;
21 /** This interface represents a random generator for whole vectors.
30 /** Generate a random vector.
31 * @return a random vector as an array of double.
H A DGaussianRandomGenerator.java18 package org.apache.commons.math.random;
21 * This class is a gaussian normalized random generator for scalars.
34 * @param generator underlying random generator to use
40 /** Generate a random scalar with null mean and unit standard deviation.
41 * @return a random scalar with null mean and unit standard deviation
H A DJDKRandomGenerator.java17 package org.apache.commons.math.random;
H A DUniformRandomGenerator.java18 package org.apache.commons.math.random;
23 * This class implements a normalized uniform random generator.
24 * <p>Since it is a normalized random generator, it generates values
46 * @param generator underlying random generator to use
52 /** Generate a random scalar with null mean and unit standard deviation.
55 * @return a random scalar with null mean and unit standard deviation
H A DUnitSphereRandomVectorGenerator.java18 package org.apache.commons.math.random;
24 * Generate random vectors isotropically located on the surface of a sphere.
/external/autotest/client/cros/video/
H A Dsequence_generator.py7 import random namespace
53 Generates a list of random values per given configuration.
59 This method exists because we need to capture images at random time
63 @returns a list of random values between start and stop as per
80 randomized_time_seq = random.sample(xrange(start_total_s, stop_total_s + 1),
/external/autotest/client/tests/flaky_test/
H A Dflaky_test.py3 import random namespace
12 if random.randint(0,1):
/external/autotest/server/site_tests/dummy_FlakyTestServer/
H A Dflaky_test.py3 import random namespace
12 if random.randint(0,1):
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
H A DBCKeyStore.java11 * set the random source for the key store
13 public void setRandom(SecureRandom random); argument
/external/webrtc/webrtc/base/
H A Dhelpers_unittest.cc38 std::string random = CreateRandomString(256); local
39 EXPECT_EQ(256U, random.size());
42 EXPECT_NE(random, random2);
47 std::string random = CreateRandomUuid(); local
48 EXPECT_EQ(36U, random.size());
/external/autotest/client/cros/cellular/wardmodem/state_machines/
H A Dcall_machine_e362.py5 import random namespace
40 random.seed()
77 self._call_duration += random.randint(0, 20)
/external/autotest/client/site_tests/platform_Pkcs11Events/
H A Dplatform_Pkcs11Events.py5 import random, shutil namespace
36 # Hit the tokens with a bunch of random login / logout events.
38 token = random.choice(token_list)
39 event = random.choice(['login', 'logout'])
/external/autotest/client/site_tests/power_CheckAfterSuspend/
H A Dpower_CheckAfterSuspend.py5 import random, time namespace
57 time.sleep(random.randint(0, 3))
/external/autotest/server/site_tests/platform_CryptohomeSyncStressServer/
H A Dplatform_CryptohomeSyncStressServer.py5 import random, time namespace
38 delay = random.randint(0, self.max_delay)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
H A DCipherKeyGenerator.java10 protected SecureRandom random; field in class:CipherKeyGenerator
21 this.random = param.getRandom();
34 random.nextBytes(key);
H A DKeyGenerationParameters.java10 private SecureRandom random; field in class:KeyGenerationParameters
17 * @param random the random byte source.
21 SecureRandom random,
24 this.random = random;
29 * return the random source associated with this
32 * @return the generators random source.
36 return random;
20 KeyGenerationParameters( SecureRandom random, int strength) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DDHKeyGenerationParameters.java13 SecureRandom random,
16 super(random, getStrength(params));
12 DHKeyGenerationParameters( SecureRandom random, DHParameters params) argument
H A DDSAKeyGenerationParameters.java13 SecureRandom random,
16 super(random, params.getP().bitLength() - 1);
12 DSAKeyGenerationParameters( SecureRandom random, DSAParameters params) argument

Completed in 710 milliseconds

1234567891011>>