Searched refs:seed (Results 1 - 13 of 13) sorted by relevance
/gem5/src/systemc/core/ |
H A D | module.hh | 62 gen(std::string seed) argument 65 os << seed << "_" << counts[seed]++; 123 const char *uniqueName(const char *seed) { return nameGen.gen(seed); } argument
|
H A D | object.cc | 267 std::string seed = base; local 269 base = ::sc_core::sc_gen_unique_name(seed.c_str()); 280 std::string seed = base; 282 base = ::sc_core::sc_gen_unique_name(seed.c_str());
|
H A D | process.hh | 142 const char *uniqueName(const char *seed) { return nameGen.gen(seed); } argument
|
H A D | sc_module.cc | 822 sc_gen_unique_name(const char *seed) argument 824 if (!seed || seed[0] == '\0') { 826 seed = "unnamed"; 831 return mod->uniqueName(seed); 835 return p->uniqueName(seed); 837 return ::sc_gem5::globalNameGen.gen(seed);
|
/gem5/ext/dnet/ |
H A D | rand.h | 21 int rand_set(rand_t *r, const void *seed, size_t len);
|
/gem5/src/base/ |
H A D | random.cc | 54 // default random seed 70 gen.seed(s);
|
/gem5/src/python/pybind11/ |
H A D | core.cc | 246 .def("seedRandom", [](uint64_t seed) { random_mt.init(seed); })
|
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-internal-inl.h | 105 // A valid random seed must be in [1, kMaxRandomSeed]. 134 // Returns a random seed in range [1, kMaxRandomSeed] based on the 141 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 149 // Returns the first valid random seed after 'seed'. The behavior is 150 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 152 inline int GetNextRandomSeed(int seed) { argument 153 GTEST_CHECK_(1 <= seed && seed < [all...] |
/gem5/ext/googletest/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 756 explicit Random(UInt32 seed) : state_(seed) {} argument 758 void Reseed(UInt32 seed) { state_ = seed; } argument
|
/gem5/src/dev/arm/ |
H A D | smmu_v3_caches.hh | 86 SMMUv3BaseCache(const std::string &policy_name, uint32_t seed);
|
H A D | smmu_v3_caches.cc | 64 SMMUv3BaseCache::SMMUv3BaseCache(const std::string &policy_name, uint32_t seed) : argument 67 random(seed),
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock-matchers_test.cc | 5191 testing::internal::Int32 seed = GTEST_FLAG(random_seed); local 5192 if (seed == 0) { 5193 seed = static_cast<testing::internal::Int32>(time(NULL)); 5196 for (; iters > 0; --iters, ++seed) { 5197 srand(static_cast<int>(seed)); 5203 " --" << GTEST_FLAG_PREFIX_ << "random_seed=" << seed; local
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_unittest.cc | 319 const int seed = GetRandomSeedFromFlag(0); local 320 EXPECT_LE(1, seed); 321 EXPECT_LE(seed, static_cast<int>(kMaxRandomSeed)); 930 // Because we use our own random number generator and a fixed seed,
|
Completed in 79 milliseconds