Searched refs:seed_ (Results 1 – 2 of 2) sorted by relevance
388 RandomSchedulingNodeSelector() : seed_(0) { in RandomSchedulingNodeSelector()389 seed_ = static_cast<uint32_t>(NanoTime()); in RandomSchedulingNodeSelector()390 srand(seed_); in RandomSchedulingNodeSelector()397 size_t select = rand_r(&seed_) % nodes->size(); in PopHighestPriorityNode()403 uint32_t seed_; variable
44 HashSetTest() : seed_(97421), unique_number_(0) { in HashSetTest()56 seed_ = seed; in SetSeed()59 seed_ = seed_ * 1103515245 + 12345; in PRand()60 return seed_; in PRand()64 size_t seed_; member in art::HashSetTest