Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
testDeatch
Method · 0.95
accept
Method · 0.95
socketTcp
Method · 0.95
socketUdp
Method · 0.95
bumpFdCount
Method · 0.95
Kqueue
Method · 0.95
Epoll
Method · 0.95
IOURingImpl
Method · 0.95
Calls
1
createUniqueFdNonCached
Method · 0.80
Tested by
1
testDeatch
Method · 0.76