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

Method RBuffer

r/src/arrow_types.h:175–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173class RBuffer : public MutableBuffer {
174 public:
175 explicit RBuffer(RVector vec)
176 : MutableBuffer(reinterpret_cast<uint8_t*>(getDataPointer(vec)),
177 vec.size() * sizeof(typename RVector::value_type),
178 arrow::CPUDevice::memory_manager(gc_memory_pool())),
179 vec_(vec) {}
180
181 private:
182 // vec_ holds the memory

Callers

nothing calls this directly

Calls 2

gc_memory_poolFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected