MCPcopy
hub / github.com/questdb/questdb / allocate

Method allocate

core/src/main/java/io/questdb/std/Files.java:97–99  ·  view source on GitHub ↗
(long fd, long size)

Source from the content-addressed store, hash-verified

95 }
96
97 public static boolean allocate(long fd, long size) {
98 return allocate(toOsFd(fd), size);
99 }
100
101 public static long append(long fd, long address, long len) {
102 return append(toOsFd(fd), address, len);

Callers 8

testAllocateMethod · 0.95
testAllocateLoopMethod · 0.95
testMmapInvalidMethod · 0.95
testMremapInvalidMethod · 0.95
testAutoDeleteMethod · 0.95
allocateMethod · 0.95

Calls 1

toOsFdMethod · 0.95

Tested by 7

testAllocateMethod · 0.76
testAllocateLoopMethod · 0.76
testMmapInvalidMethod · 0.76
testMremapInvalidMethod · 0.76
testAutoDeleteMethod · 0.76