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

Method ReserveChunksUnlocked

cpp/src/arrow/csv/column_builder.cc:330–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330void InferringColumnBuilder::ReserveChunksUnlocked(int64_t block_index) {
331 ConcreteColumnBuilder::ReserveChunksUnlocked(block_index);
332 size_t chunk_index = static_cast<size_t>(block_index);
333 if (chunk_kinds_.size() <= chunk_index) {
334 chunk_kinds_.resize(chunk_index + 1);
335 }
336}
337
338void InferringColumnBuilder::Insert(int64_t block_index,
339 const std::shared_ptr<BlockParser>& parser) {

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected