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

Method MyMemoryManager

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

Source from the content-addressed store, hash-verified

1377class MyMemoryManager : public CPUMemoryManager {
1378 public:
1379 explicit MyMemoryManager(const std::shared_ptr<Device>& device)
1380 : CPUMemoryManager(device, default_memory_pool()) {}
1381
1382 Result<std::unique_ptr<Buffer>> AllocateBuffer(int64_t size) override {
1383 uint8_t* data;

Callers

nothing calls this directly

Calls 1

default_memory_poolFunction · 0.85

Tested by

no test coverage detected