MCPcopy Index your code
hub / github.com/questdb/questdb / reset

Method reset

core/src/main/java/io/questdb/std/Rosti.java:362–367  ·  view source on GitHub ↗
(long pRosti, int size)

Source from the content-addressed store, hash-verified

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);

Callers 1

resetMethod · 0.95

Calls 4

getAllocMemoryMethod · 0.95
reset0Method · 0.95
ceilPow2Method · 0.95
updateMemoryUsageMethod · 0.95

Tested by

no test coverage detected