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

Function BufferBuilder

cpp/src/arrow/buffer_builder.h:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 /// the provided buffer until Finish/Reset are called.
57 /// The buffer is not resized.
58 explicit BufferBuilder(std::shared_ptr<ResizableBuffer> buffer,
59 MemoryPool* pool = default_memory_pool(),
60 int64_t alignment = kDefaultBufferAlignment)
61 : buffer_(std::move(buffer)),
62 pool_(pool),
63 data_(buffer_->mutable_data()),
64 capacity_(buffer_->capacity()),
65 size_(buffer_->size()),
66 alignment_(alignment) {}
67
68 /// \brief Resize the buffer to the nearest multiple of 64 bytes
69 ///

Callers 3

InitMethod · 0.85
InitMethod · 0.85
InitMethod · 0.85

Calls 4

default_memory_poolFunction · 0.85
mutable_dataMethod · 0.45
capacityMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected