/external/google-breakpad/src/common/linux/ |
guid_creator.cc | 42 // This class is used to generate random GUID. 43 // Currently use random number to generate a GUID since Linux has 65 guid->data1 = random(); 66 guid->data2 = (uint16_t)(random()); 67 guid->data3 = (uint16_t)(random()); 68 UInt32ToBytes(&guid->data4[0], random()); 69 UInt32ToBytes(&guid->data4[4], random());
|
/external/python/cpython2/Doc/includes/ |
mp_workers.py | 15 import random 42 time.sleep(0.5*random.random()) 46 time.sleep(0.5*random.random())
|
/external/python/cpython3/Doc/includes/ |
mp_workers.py | 2 import random 29 time.sleep(0.5*random.random()) 33 time.sleep(0.5*random.random())
|
/external/webrtc/webrtc/base/ |
helpers_unittest.cc | 38 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());
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_alloc_copyPadded.java | 22 import java.util.Random; 83 Random random = new Random(0x172d8ab9); local 84 int width = random.nextInt(512); 89 random.nextBytes(inArray); 114 Random random = new Random(0x172d8ab9); local 115 int width = random.nextInt(128) 146 Random random = new Random(0x172d8ab9); local 179 Random random = new Random(0x172d8ab9); local 213 Random random = new Random(0x172d8ab9); local 248 Random random = new Random(0x172d8ab9); local 284 Random random = new Random(0x172d8ab9); local 318 Random random = new Random(0x172d8ab9); local 353 Random random = new Random(0x172d8ab9); local 389 Random random = new Random(0x172d8ab9); local 422 Random random = new Random(0x172d8ab9); local 456 Random random = new Random(0x172d8ab9); local 492 Random random = new Random(0x172d8ab9); local 525 Random random = new Random(0x172d8ab9); local 559 Random random = new Random(0x172d8ab9); local 595 Random random = new Random(0x172d8ab9); local 629 Random random = new Random(0x172d8ab9); local 664 Random random = new Random(0x172d8ab9); local 701 Random random = new Random(0x172d8ab9); local 741 Random random = new Random(0x172d8ab9); local 784 Random random = new Random(0x172d8ab9); local 827 Random random = new Random(0x172d8ab9); local 870 Random random = new Random(0x172d8ab9); local 913 Random random = new Random(0x172d8ab9); local 949 Random random = new Random(0x172d8ab9); local 988 Random random = new Random(0x172d8ab9); local 1027 Random random = new Random(0x172d8ab9); local 1066 Random random = new Random(0x172d8ab9); local 1106 Random random = new Random(0x172d8ab9); local 1146 Random random = new Random(0x172d8ab9); local 1189 Random random = new Random(0x172d8ab9); local 1232 Random random = new Random(0x172d8ab9); local 1275 Random random = new Random(0x172d8ab9); local [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
UT_alloc_copyPadded.java | 25 import java.util.Random; 84 Random random = new Random(0x172d8ab9); local 85 int width = random.nextInt(512); 90 random.nextBytes(inArray); 115 Random random = new Random(0x172d8ab9); local 116 int width = random.nextInt(128) 147 Random random = new Random(0x172d8ab9); local 180 Random random = new Random(0x172d8ab9); local 214 Random random = new Random(0x172d8ab9); local 249 Random random = new Random(0x172d8ab9); local 285 Random random = new Random(0x172d8ab9); local 319 Random random = new Random(0x172d8ab9); local 354 Random random = new Random(0x172d8ab9); local 390 Random random = new Random(0x172d8ab9); local 423 Random random = new Random(0x172d8ab9); local 457 Random random = new Random(0x172d8ab9); local 493 Random random = new Random(0x172d8ab9); local 526 Random random = new Random(0x172d8ab9); local 560 Random random = new Random(0x172d8ab9); local 596 Random random = new Random(0x172d8ab9); local 630 Random random = new Random(0x172d8ab9); local 665 Random random = new Random(0x172d8ab9); local 702 Random random = new Random(0x172d8ab9); local 742 Random random = new Random(0x172d8ab9); local 785 Random random = new Random(0x172d8ab9); local 828 Random random = new Random(0x172d8ab9); local 871 Random random = new Random(0x172d8ab9); local 914 Random random = new Random(0x172d8ab9); local 950 Random random = new Random(0x172d8ab9); local 989 Random random = new Random(0x172d8ab9); local 1028 Random random = new Random(0x172d8ab9); local 1067 Random random = new Random(0x172d8ab9); local 1107 Random random = new Random(0x172d8ab9); local 1147 Random random = new Random(0x172d8ab9); local 1190 Random random = new Random(0x172d8ab9); local 1233 Random random = new Random(0x172d8ab9); local 1276 Random random = new Random(0x172d8ab9); local [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
UT_alloc_copyPadded.java | 27 import java.util.Random; 86 Random random = new Random(0x172d8ab9); local 87 int width = random.nextInt(512); 92 random.nextBytes(inArray); 117 Random random = new Random(0x172d8ab9); local 118 int width = random.nextInt(128) 149 Random random = new Random(0x172d8ab9); local 182 Random random = new Random(0x172d8ab9); local 216 Random random = new Random(0x172d8ab9); local 251 Random random = new Random(0x172d8ab9); local 287 Random random = new Random(0x172d8ab9); local 321 Random random = new Random(0x172d8ab9); local 356 Random random = new Random(0x172d8ab9); local 392 Random random = new Random(0x172d8ab9); local 425 Random random = new Random(0x172d8ab9); local 459 Random random = new Random(0x172d8ab9); local 495 Random random = new Random(0x172d8ab9); local 528 Random random = new Random(0x172d8ab9); local 562 Random random = new Random(0x172d8ab9); local 598 Random random = new Random(0x172d8ab9); local 632 Random random = new Random(0x172d8ab9); local 667 Random random = new Random(0x172d8ab9); local 704 Random random = new Random(0x172d8ab9); local 744 Random random = new Random(0x172d8ab9); local 787 Random random = new Random(0x172d8ab9); local 830 Random random = new Random(0x172d8ab9); local 873 Random random = new Random(0x172d8ab9); local 916 Random random = new Random(0x172d8ab9); local 952 Random random = new Random(0x172d8ab9); local 991 Random random = new Random(0x172d8ab9); local 1030 Random random = new Random(0x172d8ab9); local 1069 Random random = new Random(0x172d8ab9); local 1109 Random random = new Random(0x172d8ab9); local 1149 Random random = new Random(0x172d8ab9); local 1192 Random random = new Random(0x172d8ab9); local 1235 Random random = new Random(0x172d8ab9); local 1278 Random random = new Random(0x172d8ab9); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
random.py | 0 """Random variable generators.
9 pick random element
10 pick random sample
11 generate random permutation
37 * The random() method is implemented in C, executes in a single Python step,
51 __all__ = ["Random","seed","random","uniform","randint","choice","sample",
72 class Random(_random.Random):
73 """Random number generator base class used by bound module functions. 688 def random(self): member in class:WichmannHill 811 def random(self): member in class:SystemRandom 885 random = _inst.random variable [all...] |
/external/tensorflow/tensorflow/contrib/sparsemax/python/kernel_tests/ |
sparsemax_loss_test.py | 99 def _test_sparsemax_loss_against_numpy(self, dtype, random, use_gpu): 101 z = random.uniform(low=-3, high=3, size=(test_obs, 10)) 103 q[np.arange(0, test_obs), random.randint(0, 10, size=test_obs)] = 1 112 def _test_constant_add(self, dtype, random, use_gpu): 114 z = random.uniform(low=-3, high=3, size=(test_obs, 10)) 115 c = random.uniform(low=-3, high=3, size=(test_obs, 1)) 117 q[np.arange(0, test_obs), np.random.randint(0, 10, size=test_obs)] = 1 131 def _test_sparsemax_loss_positive(self, dtype, random, use_gpu): 133 z = random.uniform(low=-3, high=3, size=(test_obs, 10)) 135 q[np.arange(0, test_obs), random.randint(0, 10, size=test_obs)] = [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
random.py | 0 """Random variable generators.
9 pick random element
10 pick random sample
11 generate random permutation
37 * The random() method is implemented in C, executes in a single Python step,
51 __all__ = ["Random","seed","random","uniform","randint","choice","sample",
72 class Random(_random.Random):
73 """Random number generator base class used by bound module functions. 690 def random(self): member in class:WichmannHill 813 def random(self): member in class:SystemRandom 887 random = _inst.random variable [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
sortperf.py | 10 import random
18 """Return a list of n random floats in [0, 1)."""
26 r = random.random
47 i = random.randrange(n)
74 *sort: random data
77 3sort: ascending, then 3 random exchanges
78 +sort: ascending, then 10 random at the end
79 %sort: ascending, then randomly replace 1% of the elements w/ random values
98 # Do 3 random exchanges. [all...] |
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
InternersBenchmark.java | 30 interner.intern(Double.toHexString(Math.random())); 38 interner.intern(Double.toHexString(Math.random())); 46 Double.toHexString(Math.random()).intern();
|
/external/python/cpython2/Lib/ |
random.py | 0 """Random variable generators. 9 pick random element 10 pick random sample 11 generate random permutation 37 * The random() method is implemented in C, executes in a single Python step, 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 72 class Random(_random.Random): 73 """Random number generator base class used by bound module functions 690 def random(self): member in class:WichmannHill 813 def random(self): member in class:SystemRandom 887 random = _inst.random variable [all...] |
/external/python/cpython2/Lib/test/ |
sortperf.py | 10 import random 18 """Return a list of n random floats in [0, 1).""" 26 r = random.random 47 i = random.randrange(n) 74 *sort: random data 77 3sort: ascending, then 3 random exchanges 78 +sort: ascending, then 10 random at the end 79 %sort: ascending, then randomly replace 1% of the elements w/ random values 98 # Do 3 random exchanges [all...] |
/external/python/cpython3/Lib/test/ |
sortperf.py | 10 import random 18 """Return a list of n random floats in [0, 1).""" 26 r = random.random 47 i = random.randrange(n) 74 *sort: random data 77 3sort: ascending, then 3 random exchanges 78 +sort: ascending, then 10 random at the end 79 %sort: ascending, then randomly replace 1% of the elements w/ random values 98 # Do 3 random exchanges [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
random_op.h | 20 #include "tensorflow/core/lib/random/random_distributions.h" 36 // functor::FillPhiloxRandom<CPUDevice, random::UniformDistribution>. 40 random::PhiloxRandom gen, 51 random::PhiloxRandom gen, 63 random::PhiloxRandom gen,
|
/frameworks/support/compat/src/androidTest/java/androidx/core/app/ |
FrameMetricsActivity.java | 49 mLayout.setBackgroundColor(Color.rgb((int) (255 * Math.random()), 50 (int) (255 * Math.random()), (int) (255 * Math.random())));
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
random.py | 0 """Random variable generators. 9 pick random element 10 pick random sample 11 generate random permutation 37 * The random() method is implemented in C, executes in a single Python step, 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 72 class Random(_random.Random): 73 """Random number generator base class used by bound module functions 684 def random(self): member in class:WichmannHill 807 def random(self): member in class:SystemRandom 881 random = _inst.random variable [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
sortperf.py | 10 import random 18 """Return a list of n random floats in [0, 1).""" 26 r = random.random 47 i = random.randrange(n) 74 *sort: random data 77 3sort: ascending, then 3 random exchanges 78 +sort: ascending, then 10 random at the end 79 %sort: ascending, then randomly replace 1% of the elements w/ random values 98 # Do 3 random exchanges [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
random.py | 0 """Random variable generators. 9 pick random element 10 pick random sample 11 generate random permutation 37 * The random() method is implemented in C, executes in a single Python step, 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 72 class Random(_random.Random): 73 """Random number generator base class used by bound module functions 684 def random(self): member in class:WichmannHill 807 def random(self): member in class:SystemRandom 881 random = _inst.random variable [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
sortperf.py | 10 import random 18 """Return a list of n random floats in [0, 1).""" 26 r = random.random 47 i = random.randrange(n) 74 *sort: random data 77 3sort: ascending, then 3 random exchanges 78 +sort: ascending, then 10 random at the end 79 %sort: ascending, then randomly replace 1% of the elements w/ random values 98 # Do 3 random exchanges [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
random.py | 0 """Random variable generators. 9 pick random element 10 pick random sample 11 generate random permutation 37 * The random() method is implemented in C, executes in a single Python step, 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 72 class Random(_random.Random): 73 """Random number generator base class used by bound module functions 684 def random(self): member in class:WichmannHill 807 def random(self): member in class:SystemRandom 881 random = _inst.random variable [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
sortperf.py | 10 import random 18 """Return a list of n random floats in [0, 1).""" 26 r = random.random 47 i = random.randrange(n) 74 *sort: random data 77 3sort: ascending, then 3 random exchanges 78 +sort: ascending, then 10 random at the end 79 %sort: ascending, then randomly replace 1% of the elements w/ random values 98 # Do 3 random exchanges [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
random.py | 0 """Random variable generators. 9 pick random element 10 pick random sample 11 generate random permutation 37 * The random() method is implemented in C, executes in a single Python step, 51 __all__ = ["Random","seed","random","uniform","randint","choice","sample", 72 class Random(_random.Random): 73 """Random number generator base class used by bound module functions 684 def random(self): member in class:WichmannHill 807 def random(self): member in class:SystemRandom 881 random = _inst.random variable [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
sortperf.py | 10 import random 18 """Return a list of n random floats in [0, 1).""" 26 r = random.random 47 i = random.randrange(n) 74 *sort: random data 77 3sort: ascending, then 3 random exchanges 78 +sort: ascending, then 10 random at the end 79 %sort: ascending, then randomly replace 1% of the elements w/ random values 98 # Do 3 random exchanges [all...] |