示例#1
0
 public TBuilder Reserve(int capacity)
 {
     ValueOffsets.Reserve(capacity + 1);
     ValueBuffer.Reserve(capacity);
     ValidityBuffer.Reserve(capacity + 1);
     return(Instance);
 }
示例#2
0
 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);
 }