| 225 | namespace { |
| 226 | |
| 227 | std::size_t |
| 228 | iparser_aligned_size (std::size_t N) |
| 229 | { |
| 230 | const unsigned int align_size = 16; |
| 231 | std::size_t x = N + (align_size-1); |
| 232 | x -= x & (align_size-1); |
| 233 | return x; |
| 234 | } |
| 235 | |
| 236 | void* |
| 237 | iparser_allocate (struct amrex_iparser* my_iparser, std::size_t N) |
no outgoing calls
no test coverage detected