- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for stringToUpperCase (0.09 sec)
-
android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
int dummy = 0; for (int i = 0; i < reps; i++) { dummy += charSequenceToUpperCase(string).length(); } return dummy; } @Benchmark int stringToUpperCase(int reps) { String string = noWorkToDo ? testString.toUpperCase(Locale.US) : testString; int dummy = 0; for (int i = 0; i < reps; i++) { dummy += string.toUpperCase(Locale.US).length(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
int dummy = 0; for (int i = 0; i < reps; i++) { dummy += charSequenceToUpperCase(string).length(); } return dummy; } @Benchmark int stringToUpperCase(int reps) { String string = noWorkToDo ? testString.toUpperCase(Locale.US) : testString; int dummy = 0; for (int i = 0; i < reps; i++) { dummy += string.toUpperCase(Locale.US).length(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.8K bytes - Viewed (0)