/gem5/ext/googletest/googletest/xcode/Samples/FrameworkSample/ |
H A D | widget.cc | 58 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 D | widget_test.cc | 57 size_t max_size = 128; local 58 char buffer[max_size]; 59 widget.GetCharPtrValue(buffer, max_size);
|
H A D | widget.h | 53 void GetCharPtrValue(char* buffer, size_t max_size) const;
|
/gem5/src/mem/ruby/network/garnet2.0/ |
H A D | flitBuffer.cc | 38 max_size = INFINITE_; 43 max_size = maximum_size; 72 return (m_buffer.size() >= max_size); 78 max_size = maximum;
|
H A D | flitBuffer.hh | 83 int max_size; member in class:flitBuffer
|
/gem5/src/arch/power/insts/ |
H A D | static_inst.hh | 74 asBytes(void *buf, size_t max_size) override 76 return simpleAsBytes(buf, max_size, machInst);
|
/gem5/src/base/ |
H A D | pollevent.cc | 114 : 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 D | pollevent.hh | 74 int max_size; member in class:PollQueue
|
/gem5/src/systemc/core/ |
H A D | sc_port.cc | 61 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 D | sc_mempool.cpp | 212 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 D | sc_string.cpp | 387 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 D | dram_sweep_plot.py | 94 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 D | fa_lru.hh | 285 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 D | sc_port.cpp | 126 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 D | static_inst.hh | 341 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 D | static_inst.hh | 539 asBytes(void *buf, size_t max_size) override 541 return simpleAsBytes(buf, max_size, machInst);
|
/gem5/src/dev/ |
H A D | dma_device.cc | 486 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 D | dma_device.hh | 479 DmaDoneEvent(DmaReadFifo *_parent, size_t max_size);
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | stl_bind.h | 478 cl.def("max_size", &Vector::max_size, "returns the maximum possible number of elements");
|