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

Function TypedReserve

cpp/src/arrow/buffer.h:520–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518
519 template <class T>
520 Status TypedReserve(const int64_t new_nb_elements) {
521 return Reserve(sizeof(T) * new_nb_elements);
522 }
523
524 protected:
525 ResizableBuffer(uint8_t* data, int64_t size) : MutableBuffer(data, size) {}

Callers

nothing calls this directly

Calls 1

ReserveFunction · 0.70

Tested by

no test coverage detected