private void grow() {

        capacity = indexer.getCapacity();

        long[] oldValues = values;

        values = new long[capacity];

        System.arraycopy(oldValues,0,values,0,oldValues.length);
    }
resizes the hashtable to allow more entries.
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/ShortLongHashtable.java