private String repeat(String str, double count) {
        if (count == 0) {
            return "";
        }
        if (count == 1) {
            return str;
        }
        StringBuilder repeatedStr = new StringBuilder();
        StringBuilder originStr = new StringBuilder(str);
        while (count > 0) {
            if (count % 2 != 0) {
                repeatedStr.append(originStr);
            }
            count = Math.floor(count / 2);
            originStr.append(originStr);
        }
        return repeatedStr.toString();
    }
RepeatFunction  ->  repeat(str, times)
description:
- Return NULL if any parameter is null
- Return a new string that repeats the 'str' by a certain number of 'times'
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/string/RepeatFunction.java