Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 108 for Butcher (0.19 sec)

  1. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      public int countIn(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += matcher.countIn(teststring);
        }
        return result;
      }
    
      @Benchmark
      public int collapseFrom(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 16 22:49:59 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            findAnnotations(methodDeclaration, methodMetaData);
            extractParameters(methodDeclaration, methodMetaData);
    
            Matcher matcher = GETTER_METHOD_NAME.matcher(name);
            if (matcher.matches()) {
                int startName = matcher.start(2);
                String propName = name.substring(startName, startName + 1).toLowerCase() + name.substring(startName + 1);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Sep 21 13:27:02 GMT 2023
    - 11.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

                    return false;
                }
                i++;
                cpos++;
            }
            return true;
        }
    
        public boolean lookingAt(Pattern pattern) {
            Matcher m = pattern.matcher(input);
            m.region(pos, input.length());
            return m.lookingAt();
        }
    
        public String region() {
            return input.substring(markPos, pos);
        }
    
        /**
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

        Hasher h2 = new NonStreamingVersion().newHasher();
        String s = new String(chars);
        // this is the correct implementation of the spec
        for (int i = 0; i < s.length(); i++) {
          h1.putChar(s.charAt(i));
        }
        h2.putUnencodedChars(s);
        assertEquals(h1.hash(), h2.hash());
      }
    
      static class StreamingVersion extends AbstractHashFunction {
        @Override
        public int bits() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

        Hasher h2 = new NonStreamingVersion().newHasher();
        String s = new String(chars);
        // this is the correct implementation of the spec
        for (int i = 0; i < s.length(); i++) {
          h1.putChar(s.charAt(i));
        }
        h2.putUnencodedChars(s);
        assertEquals(h1.hash(), h2.hash());
      }
    
      static class StreamingVersion extends AbstractHashFunction {
        @Override
        public int bits() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            final Matcher matcher = pattern.matcher(value);
            while (matcher.find()) {
                final String key = matcher.group(2);
                String replacement = System.getProperty(key);
                if (replacement == null) {
                    replacement = matcher.group(1);
                }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/PrimitiveSink.java

      /** Puts a boolean into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putBoolean(boolean b);
    
      /** Puts a character into this sink. */
      @CanIgnoreReturnValue
      PrimitiveSink putChar(char c);
    
      /**
       * Puts each 16-bit code unit from the {@link CharSequence} into this sink.
       *
       * <p><b>Warning:</b> This method will produce different output than most other languages do when
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/BenchmarkHelpers.java

        public final CharMatcher matcher;
        public final String matchingChars;
    
        SampleMatcherConfig(String matchingChars) {
          this(CharMatcher.anyOf(matchingChars), matchingChars);
        }
    
        SampleMatcherConfig(CharMatcher matcher, String matchingChars) {
          this.matcher = matcher;
          this.matchingChars = matchingChars;
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Predicates.java

       * Returns a predicate that evaluates to {@code true} if the {@code CharSequence} being tested
       * contains any match for the given regular expression pattern. The test used is equivalent to
       * {@code Pattern.compile(pattern).matcher(arg).find()}
       *
       * @throws IllegalArgumentException if the pattern is invalid
       * @since 3.0
       */
      @GwtIncompatible // Only used by other GWT-incompatible code.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageMatcher.java

    package org.apache.maven.project;
    
    import org.apache.maven.model.building.ModelProblem;
    import org.hamcrest.BaseMatcher;
    import org.hamcrest.Description;
    import org.hamcrest.Matcher;
    
    import static java.util.stream.Collectors.joining;
    
    /**
     * Hamcrest matcher to help create fluent assertions about {@link ProjectBuildingResult} instances.
     */
    class ProjectBuildingResultWithProblemMessageMatcher extends BaseMatcher<ProjectBuildingResult> {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.7K bytes
    - Viewed (0)
Back to top