Searched refs:max (Results 1 - 25 of 131) sorted by relevance

123456

/gem5/ext/googletest/googletest/samples/
H A Dprime_tables.h82 // '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 Dgmock-cardinalities.cc52 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 Dfor_datatypes.cpp41 #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 Dfor_fsm.cpp41 #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 Dwhile_datatypes.cpp41 #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 Dwhile_exit.cpp41 #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 Dwhile_fsm.cpp41 #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 Dstar102574.cpp41 #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 Dfor_exit.cpp41 #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 Daxp.c96 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 Drv64f.cpp209 []{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 Drv64m.cpp75 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 Drv64d.cpp209 []{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 Drv64i.cpp65 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 DElectricalDriverMultiplier.cc61 // 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 DMemCommand.cc40 #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 DCommandAnalysis.cc147 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 DUFSHostDevice.py65 the Host controller (min: 1, max: 32)")
H A Dsmmu_v3_proc.hh82 count(_max), max(_max)
86 unsigned max; member in struct:SMMUSemaphore
/gem5/src/base/
H A Drandom.hh101 random(T min, T max) argument
103 std::uniform_int_distribution<T> dist(min, max);
H A Dstr.hh118 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 Dstar102573.cpp41 #define max 5 macro
66 loop1:for (i=1; i<=max; i++) {
/gem5/src/gpu-compute/
H A Dlds_state.cc141 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 DHistogram.cc91 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 Dpipeline.cc80 /* The max depth of inter-stage FIFOs */
81 std::max(params.fetch1ToFetch2ForwardDelay,
82 std::max(params.fetch2ToDecodeForwardDelay,
83 std::max(params.decodeToExecuteForwardDelay,

Completed in 18 milliseconds

123456