Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MATCHES (0.21 sec)

  1. 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)
  2. 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)
Back to top