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

Method MyBuffer

cpp/src/arrow/buffer_test.cc:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133class MyBuffer : public Buffer {
134 public:
135 MyBuffer(std::shared_ptr<MemoryManager> mm, const std::shared_ptr<Buffer>& parent)
136 : Buffer(parent->data(), parent->size()) {
137 parent_ = parent;
138 SetMemoryManager(mm);
139 }
140};
141
142std::shared_ptr<MemoryManager> MyDevice::default_memory_manager() {

Callers

nothing calls this directly

Calls 3

SetMemoryManagerFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected