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

Method extend

core/src/main/java/io/questdb/std/str/Path.java:203–209  ·  view source on GitHub ↗
(int newCapacity)

Source from the content-addressed store, hash-verified

201 }
202
203 public void extend(int newCapacity) {
204 assert newCapacity > capacity;
205 int size = size();
206 headPtr = Unsafe.realloc(headPtr, capacity + 1, newCapacity + 1, memoryTag);
207 tailPtr = headPtr + size;
208 capacity = newCapacity;
209 }
210
211 public void flush() {
212 $();

Callers 4

concatMethod · 0.95
ofMethod · 0.95
checkExtendMethod · 0.95
putByte0Method · 0.95

Calls 2

sizeMethod · 0.95
reallocMethod · 0.95

Tested by

no test coverage detected