- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MATCHES (0.21 sec)
-
guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java
for (int i = 0; i < reps; i++) { dummy += matcher.trimAndCollapseFrom(string, '!').length(); } return dummy; } @Benchmark int matches(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += matcher.matches(string.charAt(i % string.length())) ? 1 : 0; } return dummy; } private static final String NONMATCHING_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789";
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 194.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java
for (int i = 0; i < reps; i++) { dummy += matcher.trimAndCollapseFrom(string, '!').length(); } return dummy; } @Benchmark int matches(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += matcher.matches(string.charAt(i % string.length())) ? 1 : 0; } return dummy; } private static final String NONMATCHING_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 194.8K bytes - Viewed (0)