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

Method MyMemoryPool

cpp/src/arrow/io/file_test.cc:467–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465class MyMemoryPool : public MemoryPool {
466 public:
467 MyMemoryPool() : num_allocations_(0) {}
468
469 Status Allocate(int64_t size, int64_t /*alignment*/, uint8_t** out) override {
470 *out = reinterpret_cast<uint8_t*>(std::malloc(size));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected