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

Method Allocate

cpp/src/arrow/memory_pool.cc:720–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718LoggingMemoryPool::LoggingMemoryPool(MemoryPool* pool) : pool_(pool) {}
719
720Status LoggingMemoryPool::Allocate(int64_t size, int64_t alignment, uint8_t** out) {
721 Status s = pool_->Allocate(size, alignment, out);
722 std::cout << "Allocate: size = " << size << ", alignment = " << alignment << std::endl;
723 return s;
724}
725
726Status LoggingMemoryPool::Reallocate(int64_t old_size, int64_t new_size,
727 int64_t alignment, uint8_t** ptr) {

Callers 15

garrow_cuda_buffer_newFunction · 0.45
AllocateMethod · 0.45
ReserveMethod · 0.45
TestMemoryTrackingMethod · 0.45
TestOOMMethod · 0.45
TestReallocateMethod · 0.45
TestAlignmentMethod · 0.45
TouchAreaFunction · 0.45
AllocateDeallocateFunction · 0.45
AllocateTouchDeallocateFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 2

OutOfMemoryFunction · 0.85
bytes_allocatedMethod · 0.45

Tested by 9

TestMemoryTrackingMethod · 0.36
TestOOMMethod · 0.36
TestReallocateMethod · 0.36
TestAlignmentMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
GetDeepCopyMethod · 0.36