MCPcopy Create free account
hub / github.com/questdb/questdb / checkClosed

Method checkClosed

core/src/main/java/io/questdb/std/str/Path.java:481–485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

479 }
480
481 private void checkClosed() {
482 if (headPtr == 0L) {
483 headPtr = tailPtr = Unsafe.malloc(capacity + 1, memoryTag);
484 }
485 }
486
487 private void checkExtend(int extra) {
488 int requiredCapacity = size() + extra;

Callers 1

ofMethod · 0.95

Calls 1

mallocMethod · 0.95

Tested by

no test coverage detected