MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / resizeChunks

Method resizeChunks

src/storage/table/chunked_node_group.cpp:659–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657}
658
659void InMemChunkedNodeGroup::resizeChunks(const uint64_t newSize) {
660 if (newSize <= capacity) {
661 return;
662 }
663 for (auto& chunk : chunks) {
664 chunk->resize(newSize);
665 }
666 capacity = newSize;
667}
668
669uint64_t InMemChunkedNodeGroup::append(const std::vector<ValueVector*>& columnVectors,
670 row_idx_t startRowInVectors, uint64_t numValuesToAppend) {

Callers 1

populateCSRHeaderMethod · 0.80

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected