/gem5/ext/googletest/googletest/samples/ |
H A D | prime_tables.h | 82 // 'max' specifies the maximum number the prime table holds. 83 explicit PreCalculatedPrimeTable(int max) argument 84 : is_prime_size_(max + 1), is_prime_(new bool[max + 1]) { 85 CalculatePrimesUpTo(max); 102 void CalculatePrimesUpTo(int max) { argument 106 for (int i = 2; i <= max; i++) { 110 for (int j = 2*i; j <= max; j += i) {
|
/gem5/ext/googletest/googlemock/src/ |
H A D | gmock-cardinalities.cc | 52 BetweenCardinalityImpl(int min, int max) argument 54 max_(max >= min_ ? max : min_) { 60 } else if (max < 0) { 62 << "but is actually " << max << "."; local 64 } else if (min > max) { 65 ss << "The invocation upper bound (" << max 148 // Creates a cardinality that allows between min and max calls. 149 GTEST_API_ Cardinality Between(int min, int max) { argument 150 return Cardinality(new BetweenCardinalityImpl(min, max)); [all...] |
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/loop/for_datatypes/ |
H A D | for_datatypes.cpp | 41 #define max 10 macro 68 for (i=1; i<=max; i++) { 78 for (counter_signed=1; counter_signed.to_int()<=max; counter_signed++) { 88 for (counter_unsigned=1; counter_unsigned.to_uint()<=max; counter_unsigned++) {
|
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/loop/for_fsm/ |
H A D | for_fsm.cpp | 41 #define max 10 macro 66 for (i=1; i<=max; i++) { 77 for (i=1; i<=max; i++) { 96 for (i=1; i<=max; i++) {
|
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/loop/while_datatypes/ |
H A D | while_datatypes.cpp | 41 #define max 10 macro 69 while (i<=max) { 95 } while (signed_counter.to_int()<=max); 113 } while (unsigned_counter.to_uint()<=max);
|
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/loop/while_exit/ |
H A D | while_exit.cpp | 41 #define max 10 macro 67 while (i<=max) { 98 } while (i<=max); 116 } while (i<=max);
|
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/loop/while_fsm/ |
H A D | while_fsm.cpp | 41 #define max 10 macro 67 while (i<=max) { 93 } while (i<=max); 112 } while (i<=max);
|
/gem5/src/systemc/tests/systemc/misc/stars/star102574/ |
H A D | star102574.cpp | 41 #define max 10 macro 67 while (i<=max) { 93 } while (i<=max); 112 } while (i<=max);
|
/gem5/src/systemc/tests/systemc/misc/cae_test/general/control/loop/for_exit/ |
H A D | for_exit.cpp | 41 #define max 10 macro 66 for (i=1; i<=max; i++) { 85 for (i=1; i<=max; i++) {
|
/gem5/ext/systemc/src/sysc/qt/md/ |
H A D | axp.c | 96 int max; /* Maximum *words* of args to copy. */ local 114 max = nbytes/sizeof(qt_word_t); 118 for (; i<6 && i<max; ++i) { 123 for (; i<max; ++i) {
|
/gem5/tests/test-progs/insttest/src/riscv/ |
H A D | rv64f.cpp | 209 []{return F::fmul_s(numeric_limits<float>::max(), 2.0);}, 248 numeric_limits<float>::max());}, 251 []{return F::fdiv_s(numeric_limits<float>::max(), 341 expect<float>(numeric_limits<float>::max(), 343 numeric_limits<float>::max());}, 378 numeric_limits<float>::max());}, 411 expect<int64_t>(numeric_limits<int32_t>::max(), 412 []{return F::fcvt_w_s(numeric_limits<float>::max());}, 416 expect<int64_t>(numeric_limits<int32_t>::max(), 422 expect<int64_t>(numeric_limits<int32_t>::max(), [all...] |
H A D | rv64m.cpp | 75 expect<uint64_t>(numeric_limits<uint64_t>::max(), 113 expect<int64_t>(numeric_limits<uint64_t>::max(), 119 []{return M::divuw(numeric_limits<uint32_t>::max(), 1);},
|
H A D | rv64d.cpp | 209 []{return D::fmul_d(numeric_limits<double>::max(), 2.0);}, 249 numeric_limits<double>::max());}, 252 []{return D::fdiv_d(numeric_limits<double>::max(), 343 expect<double>(numeric_limits<double>::max(), 345 numeric_limits<double>::max());}, 380 numeric_limits<double>::max());}, 421 []{return D::fcvt_s_d(numeric_limits<double>::max());}, 549 expect<int64_t>(numeric_limits<int32_t>::max(), 550 []{return D::fcvt_w_d(numeric_limits<double>::max());}, 554 expect<int64_t>(numeric_limits<int32_t>::max(), [all...] |
H A D | rv64i.cpp | 65 expect<bool>(false, []{return I::beq(numeric_limits<int64_t>::max(), 70 expect<bool>(true, []{return I::bne(numeric_limits<int64_t>::max(), 75 numeric_limits<int64_t>::max());}, "blt, less"); 78 expect<bool>(false, []{return I::blt(numeric_limits<int64_t>::max(), 83 numeric_limits<int64_t>::max());}, "bge, less"); 86 expect<bool>(true, []{return I::bge(numeric_limits<int64_t>::max(), 91 numeric_limits<int64_t>::max());}, "bltu, greater"); 94 expect<bool>(false, []{return I::blt(numeric_limits<int64_t>::max(), 99 numeric_limits<int64_t>::max());}, "bgeu, greater"); 102 expect<bool>(true, []{return I::bge(numeric_limits<int64_t>::max(), [all...] |
/gem5/ext/dsent/model/timing_graph/ |
H A D | ElectricalDriverMultiplier.cc | 61 // Finds the max of the load caps (as opposed to summing) 66 max_cap = std::max(max_cap, downstream_nodes->at(i)->getTotalDownstreamCap());
|
/gem5/ext/drampower/src/ |
H A D | MemCommand.cc | 40 #include <algorithm> // for max 95 precharge_offset = B + AL - 2 + max(RTP, int64_t(2)); 97 precharge_offset = AL + max(RTP, int64_t(4)); 103 precharge_offset = B + max(int64_t(0), RTP - 2); 105 precharge_offset = B + max(int64_t(0), RTP - 4);
|
H A D | CommandAnalysis.cc | 147 last_pre_cycle = max(timestamp,last_pre_cycle); 149 latest_pre_cycle = max(timestamp, latest_pre_cycle); 186 int64_t preTime = max(cmd.getTimeInt64() + cmd.getPrechargeOffset(memSpec, cmdType), 280 idlecycles_act += max(zero, timestamp - max(max(end_read_op, end_write_op), 288 idlecycles_pre += max(zero, timestamp - latest_pre_cycle - 291 idlecycles_pre += max(zero, timestamp - latest_pre_cycle);
|
/gem5/src/dev/arm/ |
H A D | UFSHostDevice.py | 65 the Host controller (min: 1, max: 32)")
|
H A D | smmu_v3_proc.hh | 82 count(_max), max(_max) 86 unsigned max; member in struct:SMMUSemaphore
|
/gem5/src/base/ |
H A D | random.hh | 101 random(T min, T max) argument 103 std::uniform_int_distribution<T> dist(min, max);
|
H A D | str.hh | 118 if (r < std::numeric_limits<T>::min() || r > std::numeric_limits<T>::max()) 130 if (r > std::numeric_limits<T>::max()) 149 if (r < std::numeric_limits<T>::min() || r > std::numeric_limits<T>::max())
|
/gem5/src/systemc/tests/systemc/misc/stars/star102573/ |
H A D | star102573.cpp | 41 #define max 5 macro 66 loop1:for (i=1; i<=max; i++) {
|
/gem5/src/gpu-compute/ |
H A D | lds_state.cc | 141 addr_array[j] = std::numeric_limits<Addr>::max(); 149 if (addr_array[j] != std::numeric_limits<Addr>::max() 151 addr_array[j] = std::numeric_limits<Addr>::max(); 158 if (addr_array[j] != std::numeric_limits<Addr>::max()) { 161 max_bank = std::max(max_bank, bank[bankId]);
|
/gem5/src/mem/ruby/common/ |
H A D | Histogram.cc | 91 m_max = max(m_max, value); 119 m_largest_bin = max(m_largest_bin, index); 136 m_max = max(m_max, hist.getMax()); 211 out << "max: " << m_max << " ";
|
/gem5/src/cpu/minor/ |
H A D | pipeline.cc | 80 /* The max depth of inter-stage FIFOs */ 81 std::max(params.fetch1ToFetch2ForwardDelay, 82 std::max(params.fetch2ToDecodeForwardDelay, 83 std::max(params.decodeToExecuteForwardDelay,
|