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

Method accept

core/src/main/java/io/questdb/network/Net.java:84–86  ·  view source on GitHub ↗
(long serverFd)

Source from the content-addressed store, hash-verified

82 }
83
84 public static long accept(long serverFd) {
85 return Files.createUniqueFd(accept0(toOsFd(serverFd)));
86 }
87
88 public static void appendIP4(CharSink<?> sink, long ip) {
89 sink.put((ip >> 24) & 0xff).putAscii('.')

Callers 5

testSeekMethod · 0.95
testSendAndRecvBufferMethod · 0.95
testSocketShutdownMethod · 0.95
acceptMethod · 0.95

Calls 3

createUniqueFdMethod · 0.95
accept0Method · 0.95
toOsFdMethod · 0.45

Tested by 4

testSeekMethod · 0.76
testSendAndRecvBufferMethod · 0.76
testSocketShutdownMethod · 0.76