HomeSort by relevance Sort by last modified time
    Searched refs:RandomGenerator (Results 1 - 25 of 36) sorted by null

1 2

  /system/chre/apps/wifi_offload/test/include/
utility.h 58 void init(uint8_t &val, RandomGenerator &rand_gen);
59 void init(uint16_t &val, RandomGenerator &rand_gen);
60 void init(uint32_t &val, RandomGenerator &rand_gen);
61 void init(uint64_t &val, RandomGenerator &rand_gen);
62 void init(uint8_t *arr, size_t len, RandomGenerator &rand_gen);
63 void init(wifi_offload::Ssid &ssid, RandomGenerator &rand_gen);
64 void init(wifi_offload::PreferredNetwork &net_info, RandomGenerator &rand_gen);
65 void init(wifi_offload::ScanRecord &record, RandomGenerator &rand_gen);
66 void init(wifi_offload::RpcLogRecord &record, RandomGenerator &rand_gen);
67 void init(wifi_offload::ChannelHistogram &histo, RandomGenerator &rand_gen)
    [all...]
random_generator.h 26 * @class RandomGenerator A class to generate random values for any uint type:
30 class RandomGenerator {
33 * Default constructs a RandomGenerator object
35 RandomGenerator();
  /external/apache-commons-math/src/main/java/org/apache/commons/math/random/
GaussianRandomGenerator.java 23 * RandomGenerator#nextGaussian} method.</p>
31 private final RandomGenerator generator;
36 public GaussianRandomGenerator(final RandomGenerator generator) {
UniformRandomGenerator.java 43 private final RandomGenerator generator;
48 public UniformRandomGenerator(RandomGenerator generator) {
JDKRandomGenerator.java 23 * {@link RandomGenerator}.
28 public class JDKRandomGenerator extends Random implements RandomGenerator {
RandomAdaptor.java 23 * {@link RandomGenerator}.
28 public class RandomAdaptor extends Random implements RandomGenerator {
33 /** Wrapped randomGenerator instance */
34 private final RandomGenerator randomGenerator;
40 private RandomAdaptor() { randomGenerator = null; }
43 * Construct a RandomAdaptor wrapping the supplied RandomGenerator.
45 * @param randomGenerator the wrapped generator
47 public RandomAdaptor(RandomGenerator randomGenerator) {
    [all...]
RandomGenerator.java 27 public interface RandomGenerator {
UnitSphereRandomVectorGenerator.java 35 private final RandomGenerator rand;
46 final RandomGenerator rand) {
AbstractRandomGenerator.java 23 * Abstract class implementing the {@link RandomGenerator} interface.
36 public abstract class AbstractRandomGenerator implements RandomGenerator {
48 * Construct a RandomGenerator.
RandomDataImpl.java 49 * Implements the {@link RandomData} interface using a {@link RandomGenerator}
52 * <code>RandomGenerator</code> is provided in the constructor, the default is
54 * implementation, either implement <code>RandomGenerator</code> directly or
69 * Instance variables are used to maintain <code>RandomGenerator</code> and
86 * generator. If you provide a <code>RandomGenerator</code> to the constructor,
91 * corresponding methods on the underlying <code>RandomGenerator</code> and
111 private RandomGenerator rand = null;
123 * Construct a RandomDataImpl using the supplied {@link RandomGenerator} as
130 public RandomDataImpl(RandomGenerator rand) {
159 RandomGenerator ran = getRan()
    [all...]
BitsStreamGenerator.java 28 public abstract class BitsStreamGenerator implements RandomGenerator {
  /system/chre/apps/wifi_offload/test/
random_generator.cc 26 RandomGenerator::RandomGenerator() {
39 void RandomGenerator::Reset() {
utility.cc 23 void init(uint8_t &val, RandomGenerator &rand_gen) {
27 void init(uint16_t &val, RandomGenerator &rand_gen) {
31 void init(uint32_t &val, RandomGenerator &rand_gen) {
35 void init(uint64_t &val, RandomGenerator &rand_gen) {
39 void init(uint8_t *arr, size_t len, RandomGenerator &rand_gen) {
45 void init_security_mode(uint8_t &sec_mode, RandomGenerator &rand_gen) {
50 void init_rssi(int8_t &rssi, RandomGenerator &rand_gen) {
57 void init_rpc_log_record(RpcLog &log_record, RandomGenerator &rand_gen) {
62 void init_frequency(uint32_t &freq, RandomGenerator &rand_gen) {
66 void init_capability(uint16_t &capa, RandomGenerator &rand_gen)
    [all...]
scanresult_test.cc 22 wifi_offload_test::RandomGenerator random_gen;
randomgenerator_test.cc 25 wifi_offload_test::RandomGenerator random_gen_;
42 wifi_offload_test::RandomGenerator another_random_gen_;
channelhistogram_test.cc 35 wifi_offload_test::RandomGenerator random_gen_;
chrescanparamssafe_test.cc 24 wifi_offload_test::RandomGenerator random_gen_;
flatbuffersserialization_test.cc 30 // RandomGenerator used to initialize data-types with random values
31 wifi_offload_test::RandomGenerator random_gen_;
offloadtypes_test.cc 24 // RandomGenerator used to initialize data-types with random values
25 wifi_offload_test::RandomGenerator random_gen_;
  /external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
GeneticAlgorithm.java 19 import org.apache.commons.math.random.RandomGenerator;
33 * Set the randomGenerator seed to get reproducible results.
34 * Use {@link #setRandomGenerator(RandomGenerator)} to supply an alternative
38 private static RandomGenerator randomGenerator = new JDKRandomGenerator();
87 public static synchronized void setRandomGenerator(RandomGenerator random) {
88 randomGenerator = random;
96 public static synchronized RandomGenerator getRandomGenerator() {
97 return randomGenerator;
145 RandomGenerator randGen = getRandomGenerator()
    [all...]
  /external/webrtc/webrtc/base/
helpers.cc 40 class RandomGenerator {
42 virtual ~RandomGenerator() {}
49 class SecureRandomGenerator : public RandomGenerator {
61 class SecureRandomGenerator : public RandomGenerator {
74 class SecureRandomGenerator : public RandomGenerator {
119 class SecureRandomGenerator : public RandomGenerator {
146 class TestRandomGenerator : public RandomGenerator {
184 scoped_ptr<RandomGenerator>& GetGlobalRng() {
185 RTC_DEFINE_STATIC_LOCAL(scoped_ptr<RandomGenerator>, global_rng,
190 RandomGenerator& Rng()
    [all...]
  /external/webrtc/webrtc/modules/audio_processing/
audio_processing_impl_locking_unittest.cc 66 class RandomGenerator {
68 RandomGenerator() : rand_gen_(42U) {}
310 RandomGenerator* rand_gen,
328 RandomGenerator* const rand_gen_ = nullptr;
341 StatsProcessor(RandomGenerator* rand_gen,
347 RandomGenerator* rand_gen_ = nullptr;
356 RandomGenerator* rand_gen,
374 RandomGenerator* const rand_gen_ = nullptr;
444 mutable RandomGenerator rand_gen_;
455 void SleepRandomMs(int max_sleep, RandomGenerator* rand_gen)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
MultiStartUnivariateRealOptimizer.java 25 import org.apache.commons.math.random.RandomGenerator;
63 private RandomGenerator generator;
81 final RandomGenerator generator) {
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ranking/
NaturalRanking.java 28 import org.apache.commons.math.random.RandomGenerator;
39 * {@link RandomGenerator} may be supplied as a constructor argument.</p>
137 * RandomGenerator as the source of random data.
139 * @param randomGenerator source of random data
141 public NaturalRanking(RandomGenerator randomGenerator) {
145 randomData = new RandomDataImpl(randomGenerator);
154 * @param randomGenerator source of random data
157 RandomGenerator randomGenerator) {
    [all...]
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorBase.h 55 template <typename RandomGenerator> EIGEN_DEVICE_FUNC
56 EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<RandomGenerator, const Derived>
57 random(const RandomGenerator& gen = RandomGenerator()) const {
    [all...]

Completed in 596 milliseconds

1 2