Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 108 for Butcher (0.17 sec)

  1. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      private static void checkTryParse(String input) {
        Double expected = referenceTryParse(input);
        assertThat(Doubles.tryParse(input)).isEqualTo(expected);
        if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) {
          // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava.
          StringBuilder escapedInput = new StringBuilder();
          for (char c : input.toCharArray()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/StatsTest.java

        byte[] buffer = MANY_VALUES_STATS_VARARGS.toByteArray();
        byte[] tooLongByteArray =
            ByteBuffer.allocate(buffer.length + 2)
                .order(ByteOrder.LITTLE_ENDIAN)
                .put(buffer)
                .putChar('.')
                .array();
        assertThrows(IllegalArgumentException.class, () -> Stats.fromByteArray(tooLongByteArray));
      }
    
      public void testFromByteArrayWithTooShortArrayInputThrowsIllegalArgumentException() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

        }
    
        public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMapping
            if (FUNCTION_ENCODEURL_MATCHER.equals(replacement)) {
                return (u, m) -> DocumentUtil.encodeUrl(u);
            }
            if (!replacement.startsWith(GROOVY_MATCHER)) {
                return (u, m) -> m.replaceAll(replacement);
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

            provides.put(type, matcher);
        }
    
        @Override
        public boolean matchesRequirements(Map<String, String> requirements) {
            for (Map.Entry<String, String> requirement : requirements.entrySet()) {
                String key = requirement.getKey();
    
                RequirementMatcher matcher = provides.get(key);
    
                if (matcher == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

        }
    
        private static String unQuoteUnEscape(final String original) {
            String result = original;
    
            // Unquote
            if (result.indexOf('\"') >= 0) {
                final Matcher m = QUOTE_REPLACE_PATTERN.matcher(original);
                if (m.matches()) {
                    result = m.group(1);
                }
    
                // Unescape
                if (result.indexOf(ESCAPED_QUOTE) >= 0) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * in Android) requires a successful match in order to generate a {@code MatchResult}:
       * http://goo.gl/5VQFmC
       */
      private static MatchResult createMatchResult() {
        Matcher matcher = Pattern.compile(".").matcher("X");
        matcher.find();
        return matcher.toMatchResult();
      }
    
      private static final ClassToInstanceMap<Object> DEFAULTS =
          ImmutableClassToInstanceMap.builder()
              // primitives
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  8. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * in Android) requires a successful match in order to generate a {@code MatchResult}:
       * http://goo.gl/5VQFmC
       */
      private static MatchResult createMatchResult() {
        Matcher matcher = Pattern.compile(".").matcher("X");
        matcher.find();
        return matcher.toMatchResult();
      }
    
      private static final ClassToInstanceMap<Object> DEFAULTS =
          ImmutableClassToInstanceMap.builder()
              // primitives
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Splitter.java

        checkArgument(
            !separatorPattern.matcher("").matches(),
            "The pattern may not match the empty string: %s",
            separatorPattern);
    
        return new Splitter(
            new Strategy() {
              @Override
              public SplittingIterator iterator(final Splitter splitter, CharSequence toSplit) {
                final CommonMatcher matcher = separatorPattern.matcher(toSplit);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          assertThat(expected).hasMessageThat().matches(pattern);
          Matcher matcher = pattern.matcher(expected.getMessage());
          assertThat(matcher.matches()).isTrue();
          assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
        }
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top