| 102 | } |
| 103 | |
| 104 | Result<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 | |
| 111 | void MemoryMapFixture::AppendFile(const std::string& path) { tmp_files_.push_back(path); } |
| 112 |