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

Method View

cpp/src/arrow/buffer.cc:137–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137Result<std::shared_ptr<Buffer>> Buffer::View(std::shared_ptr<Buffer> source,
138 const std::shared_ptr<MemoryManager>& to) {
139 return MemoryManager::ViewBuffer(source, to);
140}
141
142Result<std::shared_ptr<Buffer>> Buffer::ViewOrCopy(
143 std::shared_ptr<Buffer> source, const std::shared_ptr<MemoryManager>& to) {

Callers 9

garrow_array_viewFunction · 0.45
ToArrayMethod · 0.45
TestSessionFunction · 0.45
TEST_FFunction · 0.45
GetValuesMethod · 0.45
ViewOrCastChunkedArrayFunction · 0.45
TransferHalfFloatFunction · 0.45
Array__ViewFunction · 0.45
ChunkedArray__ViewFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestSessionFunction · 0.36
TEST_FFunction · 0.36
GetValuesMethod · 0.36