HomeSort by relevance Sort by last modified time
    Searched defs:rng_ (Results 1 - 8 of 8) sorted by null

  /external/v8/test/unittests/
test-utils.h 61 RandomNumberGenerator* rng() { return &rng_; }
64 RandomNumberGenerator rng_; member in class:v8::base::TestWithRandomNumberGenerator
  /external/vulkan-validation-layers/demos/smoke/
Simulation.h 49 std::mt19937 rng_; member in class:Animation
76 std::mt19937 rng_; member in class:Path
Simulation.cpp 78 rng_(rng_seed),
87 return glm::vec3{ red_(rng_),
88 green_(rng_),
89 blue_(rng_) };
93 std::mt19937 rng_; member in class:__anon27317::ColorPicker
102 : rng_(rng_seed), dir_(-1.0f, 1.0f), speed_(0.1f, 1.0f)
104 float x = dir_(rng_);
105 float y = dir_(rng_);
106 float z = dir_(rng_);
112 current_.speed = speed_(rng_);
175 std::mt19937 rng_; member in class:__anon27318::RandomCurve
    [all...]
  /external/v8/test/cctest/compiler/
test-gap-resolver.cc 165 ParallelMoveCreator() : rng_(CcTest::random_number_generator()) {}
182 int index = rng_->NextInt(3);
196 int index = rng_->NextInt(2);
202 int index = rng_->NextInt(7);
204 switch (rng_->NextInt(is_source ? 7 : 6)) {
235 v8::base::RandomNumberGenerator* rng_; member in class:v8::internal::compiler::ParallelMoveCreator
  /external/v8/test/unittests/compiler/
instruction-selector-unittest.h 27 base::RandomNumberGenerator* rng() { return &rng_; }
249 base::RandomNumberGenerator rng_; member in class:v8::internal::compiler::InstructionSelectorTest
typer-unittest.cc 26 rng_ = random_number_generator();
35 double x = rng_->NextInt();
37 x *= rng_->NextInt();
48 int32s.push_back(rng_->NextInt());
56 v8::base::RandomNumberGenerator* rng_; member in class:v8::internal::compiler::TyperTest
87 double i = numbers[rng_->NextInt(static_cast<int>(numbers.size()))];
88 double j = numbers[rng_->NextInt(static_cast<int>(numbers.size()))];
98 switch (rng_->NextInt(4)) {
109 return rng_->NextInt() * static_cast<double>(rng_->NextInt())
    [all...]
  /external/v8/test/cctest/
types-fuzz.h 42 : region_(region), isolate_(isolate), rng_(rng) {
97 integers.push_back(isolate->factory()->NewNumber(-rng_->NextInt(10)));
98 integers.push_back(isolate->factory()->NewNumber(+rng_->NextInt(10)));
100 double x = rng_->NextInt();
102 x *= rng_->NextInt();
240 return types[rng_->NextInt(static_cast<int>(types.size()))];
244 switch (rng_->NextInt(depth == 0 ? 3 : 20)) {
251 for (int i = 0, m = 1 + rng_->NextInt(3); i < m; ++i) {
252 int j = rng_->NextInt(n);
270 int i = rng_->NextInt(static_cast<int>(maps.size()))
339 v8::base::RandomNumberGenerator* rng_; member in class:v8::internal::Types
    [all...]
test-strings.cc 279 MyRandomNumberGenerator rng_; member in class:ConsStringGenerationData
289 rng_.init();
291 building_blocks_, kNumberOfBuildingBlocks, long_blocks, &rng_);
316 rng_.init();
399 bool flat = data->rng_.next(data->empty_leaf_threshold_);
400 bool terminate_early = data->rng_.next(data->early_termination_threshold_);
411 bool terminate_left = terminate || !data->rng_.next(data->leftness_);
412 bool terminate_right = terminate || !data->rng_.next(data->rightness_);
416 left = data->block(data->rng_.next());
425 right = data->block(data->rng_.next())
    [all...]

Completed in 85 milliseconds