public BytesRefArray(Counter bytesUsed) {this.pool = new ByteBlockPool(new ByteBlockPool.DirectTrackingAllocator(bytesUsed));pool.nextBuffer();bytesUsed.addAndGet(RamUsageEstimator.NUM_BYTES_ARRAY_HEADER * Integer.BYTES);this.bytesUsed = bytesUsed;}

public BytesRefArray ( Counter bytesUsed ) { this . pool = new ByteBlockPool ( new ByteBlockPool . DirectTrackingAllocator ( bytesUsed ) ) ; pool . nextBuffer ( ) ; bytesUsed . addAndGet ( RamUsageEstimator . NUM_BYTES_ARRAY_HEADER * Integer . BYTES ) ; this . bytesUsed = bytesUsed ; }
public BytesRefArray(Counter bytesUsed){this.pool = new ByteBlockPool(new ByteBlockPool.DirectTrackingAllocator(bytesUsed));pool.NextBuffer();bytesUsed.AddAndGet(RamUsageEstimator.NUM_BYTES_ARRAY_HEADER + RamUsageEstimator.NUM_BYTES_INT32);this.bytesUsed = bytesUsed;}
