Searched refs:max_size (Results 1 - 19 of 19) sorted by relevance

/gem5/ext/googletest/googletest/xcode/Samples/FrameworkSample/
H A Dwidget.cc58 void Widget::GetCharPtrValue(char* buffer, size_t max_size) const {
59 // Copy the char* representation of name_ into buffer, up to max_size.
60 strncpy(buffer, name_.c_str(), max_size-1);
61 buffer[max_size-1] = '\0';
H A Dwidget_test.cc57 size_t max_size = 128; local
58 char buffer[max_size];
59 widget.GetCharPtrValue(buffer, max_size);
H A Dwidget.h53 void GetCharPtrValue(char* buffer, size_t max_size) const;
/gem5/src/mem/ruby/network/garnet2.0/
H A DflitBuffer.cc38 max_size = INFINITE_;
43 max_size = maximum_size;
72 return (m_buffer.size() >= max_size);
78 max_size = maximum;
H A DflitBuffer.hh83 int max_size; member in class:flitBuffer
/gem5/src/arch/power/insts/
H A Dstatic_inst.hh74 asBytes(void *buf, size_t max_size) override
76 return simpleAsBytes(buf, max_size, machInst);
/gem5/src/base/
H A Dpollevent.cc114 : poll_fds(NULL), max_size(0), num_fds(0)
173 if (++num_fds > max_size) {
174 if (max_size > 0) {
176 max_size *= 2;
178 max_size = 16;
181 poll_fds = new pollfd[max_size];
H A Dpollevent.hh74 int max_size; member in class:PollQueue
/gem5/src/systemc/core/
H A Dsc_port.cc61 sc_port_base::sc_port_base(const char *n, int max_size, sc_port_policy p) : argument
78 _gem5Port = new ::sc_gem5::Port(this, max_size);
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_mempool.cpp212 int max_size; member in class:sc_core::sc_mempool_int
224 allocators(0), num_pools(0), increment(0), max_size(0)
230 max_size = cell_sizes[sizeof(cell_sizes)/sizeof(cell_sizes[0]) - 1];
288 if (sz > (unsigned) the_mempool->max_size)
299 if (use_default_new || sz > (unsigned) the_mempool->max_size) {
H A Dsc_string.cpp387 const int max_size = 65000; local
396 while( buf_size<max_size && cnt>=buf_size);
399 // string is longer the the maximum buffer size (max_size)
/gem5/util/plot_dram/
H A Ddram_sweep_plot.py94 max_size = int(match.groups(0)[2])
150 if i == max_size / burst_size:
162 X = np.arange(burst_size, max_size + 1, burst_size)
/gem5/src/mem/cache/tags/
H A Dfa_lru.hh285 CacheTracking(unsigned min_size, unsigned max_size, argument
289 numTrackedCaches(max_size > min_size ?
290 floorLog2(max_size) - floorLog2(min_size) : 0),
/gem5/ext/systemc/src/sysc/communication/
H A Dsc_port.cpp126 int max_size() const;
171 sc_bind_info::max_size() const function in class:sc_core::sc_bind_info
515 if ( actual_binds > m_bind_info->max_size() )
518 actual_binds, m_bind_info->max_size() );
529 if ( actual_binds < m_bind_info->max_size() || actual_binds < 1 ) {
531 actual_binds, m_bind_info->max_size() );
/gem5/src/cpu/
H A Dstatic_inst.hh341 simpleAsBytes(void *buf, size_t max_size, const T &t) argument
344 if (size <= max_size)
356 * max_size is the size allocated for that buffer by the caller.
361 virtual size_t asBytes(void *buf, size_t max_size) { return 0; } argument
/gem5/src/arch/arm/insts/
H A Dstatic_inst.hh539 asBytes(void *buf, size_t max_size) override
541 return simpleAsBytes(buf, max_size, machInst);
/gem5/src/dev/
H A Ddma_device.cc486 size_t max_size)
487 : parent(_parent), _done(false), _canceled(false), _data(max_size, 0)
485 DmaDoneEvent(DmaReadFifo *_parent, size_t max_size) argument
H A Ddma_device.hh479 DmaDoneEvent(DmaReadFifo *_parent, size_t max_size);
/gem5/ext/pybind11/include/pybind11/
H A Dstl_bind.h478 cl.def("max_size", &Vector::max_size, "returns the maximum possible number of elements");

Completed in 29 milliseconds