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

Method ~MyBuffer

cpp/src/arrow/c/bridge_test.cc:1326–1328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1324 using MutableBuffer::MutableBuffer;
1325
1326 ~MyBuffer() override {
1327 default_memory_pool()->Free(const_cast<uint8_t*>(data_), size_);
1328 }
1329
1330 std::shared_ptr<Device::SyncEvent> device_sync_event() const override {
1331 return device_sync_;

Callers

nothing calls this directly

Calls 2

default_memory_poolFunction · 0.85
FreeMethod · 0.45

Tested by

no test coverage detected