public TBuilder Reserve(int capacity) { ValueOffsets.Reserve(capacity + 1); ValueBuffer.Reserve(capacity); ValidityBuffer.Reserve(capacity + 1); return(Instance); }
public TBuilder Reserve(int capacity) { // TODO: [ARROW-9366] Reserve capacity in the value buffer in a more sensible way. ValueOffsets.Reserve(capacity + 1); ValueBuffer.Reserve(capacity); ValidityBuffer.Reserve(capacity + 1); return(Instance); }