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

Method WriteInternal

cpp/src/arrow/io/file.cc:765–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765Status MemoryMappedFile::WriteInternal(const void* data, int64_t nbytes) {
766 memcpy(memory_map_->head(), data, static_cast<size_t>(nbytes));
767 memory_map_->advance(nbytes);
768 return Status::OK();
769}
770
771Status MemoryMappedFile::Resize(int64_t new_size) {
772 RETURN_NOT_OK(memory_map_->CheckClosed());

Callers

nothing calls this directly

Calls 3

OKFunction · 0.50
headMethod · 0.45
advanceMethod · 0.45

Tested by

no test coverage detected