Пример #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);
 }