Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/zvec
/ ~LinuxAlignedFileReader
Method
~LinuxAlignedFileReader
src/core/algorithm/diskann/diskann_file_reader.cc:536–541 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
534
}
535
536
LinuxAlignedFileReader::~LinuxAlignedFileReader() {
537
if (file_desc >= 0) {
538
::close(file_desc);
539
file_desc = -1;
540
}
541
}
542
543
static int duplicate_file_descriptor(int source_fd) {
544
#if defined(F_DUPFD_CLOEXEC)
Callers
nothing calls this directly
Calls
1
close
Function · 0.85
Tested by
no test coverage detected