MCPcopy Create free account
hub / github.com/apache/arrow / InitMemoryMap

Method InitMemoryMap

cpp/src/arrow/io/test_common.cc:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104Result<std::shared_ptr<MemoryMappedFile>> MemoryMapFixture::InitMemoryMap(
105 int64_t size, const std::string& path) {
106 ARROW_ASSIGN_OR_RAISE(auto mmap, MemoryMappedFile::Create(path, size));
107 tmp_files_.push_back(path);
108 return mmap;
109}
110
111void MemoryMapFixture::AppendFile(const std::string& path) { tmp_files_.push_back(path); }
112

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected