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

Method WriteInternal

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

Source from the content-addressed store, hash-verified

771}
772
773Status MemoryMappedFile::WriteInternal(const void* data, int64_t nbytes) {
774 memcpy(memory_map_->head(), data, static_cast<size_t>(nbytes));
775 memory_map_->advance(nbytes);
776 return Status::OK();
777}
778
779Status MemoryMappedFile::Resize(int64_t new_size) {
780 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