public void add(long index, long value) {
    array[segment(index)][offset(index)] += Shorts.checkedCast(value);
  }
Adds the specified value to the specified element of this big array.

@param index a position in this big array.
@param value the value
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/relational/aggregation/grouped/array/ShortBigArray.java