presto-main/src/main/java/io/prestosql/operator/scalar/ArrayCombinationsFunction.java/ArrayCombinationsFunction/resetCombination
class ArrayCombinationsFunction:    private static void resetCombination(int[] combination, int to)
    {
        for (int i = 0; i < to; i++) {
            combination[i] = i;
        }
    }