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

Method createUniqueFd

core/src/main/java/io/questdb/std/Files.java:134–139  ·  view source on GitHub ↗
(int fd)

Source from the content-addressed store, hash-verified

132 }
133
134 public static long createUniqueFd(int fd) {
135 if (fd != -1) {
136 return fdCache.createUniqueFdNonCached(fd);
137 }
138 return fd;
139 }
140
141 public static int detach(long fd) {
142 int osFd = toOsFd(fd);

Callers 8

testDeatchMethod · 0.95
acceptMethod · 0.95
socketTcpMethod · 0.95
socketUdpMethod · 0.95
bumpFdCountMethod · 0.95
KqueueMethod · 0.95
EpollMethod · 0.95
IOURingImplMethod · 0.95

Calls 1

Tested by 1

testDeatchMethod · 0.76