MCPcopy 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
536LinuxAlignedFileReader::~LinuxAlignedFileReader() {
537 if (file_desc >= 0) {
538 ::close(file_desc);
539 file_desc = -1;
540 }
541}
542
543static int duplicate_file_descriptor(int source_fd) {
544#if defined(F_DUPFD_CLOEXEC)

Callers

nothing calls this directly

Calls 1

closeFunction · 0.85

Tested by

no test coverage detected