| 185 | } |
| 186 | |
| 187 | void |
| 188 | BARef::resize (Long n) { |
| 189 | #ifdef AMREX_MEM_PROFILING |
| 190 | updateMemoryUsage_box(-1); |
| 191 | updateMemoryUsage_hash(-1); |
| 192 | #endif |
| 193 | m_abox.resize(n); |
| 194 | hash.clear(); |
| 195 | has_hashmap.store(false, std::memory_order_release); |
| 196 | #ifdef AMREX_MEM_PROFILING |
| 197 | updateMemoryUsage_box(1); |
| 198 | #endif |
| 199 | } |
| 200 | |
| 201 | #ifdef AMREX_MEM_PROFILING |
| 202 | void |
no test coverage detected