HomeSort by relevance Sort by last modified time
    Searched defs:Random (Results 26 - 50 of 63) sorted by null

12 3

  /libcore/ojluni/src/main/java/java/util/
Random.java 45 * If two instances of {@code Random} are created with the same
49 * class {@code Random}. Java implementations must use all the algorithms
50 * shown here for the class {@code Random}, for the sake of absolute
51 * portability of Java code. However, subclasses of class {@code Random}
55 * The algorithms implemented by class {@code Random} use a
59 * Many applications will find the method {@link Math#random} simpler to use.
61 * <p>Instances of {@code java.util.Random} are threadsafe.
62 * However, the concurrent use of the same {@code java.util.Random}
68 * <p>Instances of {@code java.util.Random} are not cryptographically
70 * get a cryptographically secure pseudo-random number generator for us
    [all...]
  /device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
Ip6Nd.c 31 UINT32 Random;
33 Random = (NetRandomInitSeed () / 4294967295UL) * IP6_RANDOM_FACTOR_SCALE;
34 Random = Random + IP6_MIN_RANDOM_FACTOR_SCALED;
35 IpSb->ReachableTime = (IpSb->BaseReachableTime * Random) / IP6_RANDOM_FACTOR_SCALE;
    [all...]
  /external/llvm/tools/llvm-stress/
llvm-stress.cpp 1 //===-- llvm-stress.cpp - Generate random LL files to stress-test LLVM ----===//
10 // This program is a utility that generates random .ll files to stress-test
80 /// A utility class to provide a pseudo-random number generator which is
84 class Random {
87 Random(unsigned _seed):Seed(_seed) {}
89 /// Return a random integer, up to a
94 // Only lowest 19 bits are random-ish.
98 /// Return a random 32 bit integer.
105 /// Return a random 64 bit integer.
142 /// modifying and adding new random instructions
    [all...]
  /external/protobuf/gtest/include/gtest/internal/
gtest-internal.h 765 // A simple Linear Congruential Generator for generating random
768 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
770 class GTEST_API_ Random {
774 explicit Random(UInt32 seed) : state_(seed) {}
778 // Generates a random number from [0, range). Crashes if 'range' is
784 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
    [all...]
  /external/google-breakpad/src/testing/gtest/include/gtest/internal/
gtest-internal.h 745 // A simple Linear Congruential Generator for generating random
748 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
750 class GTEST_API_ Random {
754 explicit Random(UInt32 seed) : state_(seed) {}
758 // Generates a random number from [0, range). Crashes if 'range' is
764 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
    [all...]
  /external/googletest/googletest/include/gtest/internal/
gtest-internal.h 747 // A simple Linear Congruential Generator for generating random
750 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
752 class GTEST_API_ Random {
756 explicit Random(UInt32 seed) : state_(seed) {}
760 // Generates a random number from [0, range). Crashes if 'range' is
766 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
gtest-internal.h 747 // A simple Linear Congruential Generator for generating random
750 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
752 class GTEST_API_ Random {
756 explicit Random(UInt32 seed) : state_(seed) {}
760 // Generates a random number from [0, range). Crashes if 'range' is
766 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
    [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-internal.h 774 // A simple Linear Congruential Generator for generating random
777 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
779 class GTEST_API_ Random {
783 explicit Random(UInt32 seed) : state_(seed) {}
787 // Generates a random number from [0, range). Crashes if 'range' is
793 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
    [all...]
  /external/mesa3d/src/gtest/include/gtest/internal/
gtest-internal.h 745 // A simple Linear Congruential Generator for generating random
748 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
750 class GTEST_API_ Random {
754 explicit Random(UInt32 seed) : state_(seed) {}
758 // Generates a random number from [0, range). Crashes if 'range' is
764 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
    [all...]
  /external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
gtest-internal.h 765 // A simple Linear Congruential Generator for generating random
768 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
770 class GTEST_API_ Random {
774 explicit Random(UInt32 seed) : state_(seed) {}
778 // Generates a random number from [0, range). Crashes if 'range' is
784 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
    [all...]
  /external/v8/testing/gtest/include/gtest/internal/
gtest-internal.h 747 // A simple Linear Congruential Generator for generating random
750 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
752 class GTEST_API_ Random {
756 explicit Random(UInt32 seed) : state_(seed) {}
760 // Generates a random number from [0, range). Crashes if 'range' is
766 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
gtest-internal.h 671 // A simple Linear Congruential Generator for generating random
674 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
676 class GTEST_API_ Random {
680 explicit Random(UInt32 seed) : state_(seed) {}
684 // Generates a random number from [0, range). Crashes if 'range' is
690 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
    [all...]
  /external/webrtc/webrtc/base/
virtualsocketserver.cc 435 // If there's no local address set, grab a random one in the correct AF.
728 static double Random() {
766 if (Random() < drop_prob_) {
802 // "Derivative Random Drop"); however, this algorithm is a more accurate
999 //LOG_F(LS_INFO) << "random[" << index << "] = " << delay;
    [all...]
  /prebuilts/ndk/r11/sources/third_party/googletest/googletest/include/gtest/internal/
gtest-internal.h 660 // A simple Linear Congruential Generator for generating random
663 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
665 class GTEST_API_ Random {
669 explicit Random(UInt32 seed) : state_(seed) {}
673 // Generates a random number from [0, range). Crashes if 'range' is
679 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
    [all...]
  /prebuilts/ndk/r13/sources/third_party/googletest/googletest/include/gtest/internal/
gtest-internal.h 660 // A simple Linear Congruential Generator for generating random
663 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
665 class GTEST_API_ Random {
669 explicit Random(UInt32 seed) : state_(seed) {}
673 // Generates a random number from [0, range). Crashes if 'range' is
679 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
    [all...]
  /external/fmtlib/test/gtest/
gtest.h     [all...]
  /external/protobuf/gtest/fused-src/gtest/
gtest.h     [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
gtest.h     [all...]
  /prebuilts/tools/common/m2/repository/com/braintreepayments/encryption/2.1.0/
encryption-2.1.0.jar 
  /prebuilts/tools/common/m2/repository/net/sourceforge/saxon/saxon/9.1.0.8/
saxon-9.1.0.8.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/20/
android.jar 

Completed in 1526 milliseconds

12 3