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

Method zeroPad

core/src/main/java/io/questdb/std/str/Path.java:463–466  ·  view source on GitHub ↗
(int len)

Source from the content-addressed store, hash-verified

461
462 // allocates given buffer at path tail and sets it to 0
463 public void zeroPad(int len) {
464 checkExtend(len);
465 Vect.memset(tailPtr, len, 0);
466 }
467
468 private static Path newTLPath() {
469 if (ParanoiaState.THREAD_LOCAL_PATH_PARANOIA_MODE) {

Callers 2

testZeroPadMethod · 0.80
readLinkMethod · 0.80

Calls 2

checkExtendMethod · 0.95
memsetMethod · 0.95

Tested by 1

testZeroPadMethod · 0.64