(long pRosti, int size)
| 360 | } |
| 361 | |
| 362 | public static boolean reset(long pRosti, int size) { |
| 363 | long oldSize = Rosti.getAllocMemory(pRosti); |
| 364 | boolean success = reset0(pRosti, Numbers.ceilPow2(size) - 1); |
| 365 | updateMemoryUsage(pRosti, oldSize); |
| 366 | return success; |
| 367 | } |
| 368 | |
| 369 | public static void updateMemoryUsage(long pRosti, long oldSize) { |
| 370 | long newSize = Rosti.getAllocMemory(pRosti); |
no test coverage detected