Searched refs:seed_ (Results 1 – 2 of 2) sorted by relevance
395 RandomSchedulingNodeSelector() : seed_(0) { in RandomSchedulingNodeSelector()396 seed_ = static_cast<uint32_t>(NanoTime()); in RandomSchedulingNodeSelector()397 srand(seed_); in RandomSchedulingNodeSelector()404 size_t select = rand_r(&seed_) % nodes->size(); in PopHighestPriorityNode()410 uint32_t seed_; variable
42 HashSetTest() : seed_(97421), unique_number_(0) { in HashSetTest()54 seed_ = seed; in SetSeed()57 seed_ = seed_ * 1103515245 + 12345; in PRand()58 return seed_; in PRand()62 size_t seed_; member in art::HashSetTest