- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for mikeRepeat (0.07 sec)
-
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
} return new String(array); } @Benchmark void mikeRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = mikeRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String mikeRepeat(String string, int count) { int len = string.length();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
} return new String(array); } @Benchmark void mikeRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = mikeRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String mikeRepeat(String string, int count) { int len = string.length();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0)