Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ Close
Method
Close
cpp/src/arrow/util/io_util.cc:1033–1039 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1031
}
1032
1033
Status FileDescriptor::Close() {
1034
int fd = fd_.exchange(-1);
1035
if (fd != -1) {
1036
return FileClose(fd);
1037
}
1038
return Status::OK();
1039
}
1040
1041
int FileDescriptor::Detach() { return fd_.exchange(-1); }
1042
Callers
12
TEST
Function · 0.45
TEST_P
Function · 0.45
FinishSub
Method · 0.45
FinishSubs
Method · 0.45
TEST
Function · 0.45
TouchFile
Function · 0.45
TEST_F
Function · 0.45
TearDown
Method · 0.45
TEST
Function · 0.45
Wait
Method · 0.45
Shutdown
Method · 0.45
ChildAfterFork
Method · 0.45
Calls
2
FileClose
Function · 0.85
OK
Function · 0.50
Tested by
9
TEST
Function · 0.36
TEST_P
Function · 0.36
FinishSub
Method · 0.36
FinishSubs
Method · 0.36
TEST
Function · 0.36
TouchFile
Function · 0.36
TEST_F
Function · 0.36
TearDown
Method · 0.36
TEST
Function · 0.36