private void grow() {

        capacity = indexer.getCapacity();

        int[] oldValues = values;

        values = new int[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/LongIntHashtable.java