Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for matcherIn (0.05 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          expectFailure(platformMatches(LOOM_PROPERTY))
        }
    
        private fun expectFailure(
          versionMatcher: Matcher<out Any>,
          failureMatcher: Matcher<out Any> = anything(),
        ) {
          versionChecks.add(Pair(versionMatcher, failureMatcher))
        }
    
        fun platformMatches(platform: String): Matcher<Any> =
          object : BaseMatcher<Any>() {
            override fun describeTo(description: Description) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  2. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

    final class Platform {
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        // CharMatcher.precomputed() produces CharMatchers that are maybe a little
        // faster (and that's debatable), but definitely more memory-hungry. We're
        // choosing to turn .precomputed() into a no-op in GWT, because it doesn't
        // seem to be a worthwhile tradeoff in a browser.
        return matcher;
      }
    
      static String formatCompact4Digits(double value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          "CallEnd",
        )
      }
    
      private fun assertBytesReadWritten(
        listener: RecordingEventListener,
        requestHeaderLength: Matcher<Long?>?,
        requestBodyBytes: Matcher<Long?>?,
        responseHeaderLength: Matcher<Long?>?,
        responseBodyBytes: Matcher<Long?>?,
      ) {
        if (requestHeaderLength != null) {
          val responseHeadersEnd = listener.removeUpToEvent<RequestHeadersEnd>()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CommonMatcher.java

     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * The subset of the {@link java.util.regex.Matcher} API which is used by this package, and also
     * shared with the {@code re2j} library. For internal use only. Please refer to the {@code Matcher}
     * javadoc for details.
     */
    @GwtCompatible
    abstract class CommonMatcher {
      public abstract boolean matches();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Platform.java

     */
    @GwtCompatible
    final class Platform {
      private static final PatternCompiler patternCompiler = loadPatternCompiler();
    
      private Platform() {}
    
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        return matcher.precomputedInternal();
      }
    
      static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) {
        WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    return null;
                }
                final Matcher matcher = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE).matcher(value);
                final StringBuffer buf = new StringBuffer(value.length() + 100);
                while (matcher.find()) {
                    matcher.appendReplacement(buf, Matcher.quoteReplacement(highlightTagPre + matcher.group(0) + highlightTagPost));
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  7. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

            }
    
            for (final Pattern pattern : includedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.TRUE;
                }
            }
    
            for (final Pattern pattern : excludedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
            return Constants.TRUE;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                        }
                        continue;
                    }
    
                    String[] inputs;
                    String output;
    
                    final Matcher m = parsePattern.matcher(replacedLine);
    
                    if (!m.find()) {
                        logger.warn("Failed to parse {} in {}", line, path);
                        if (updater != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * https://cs.android.com/android/platform/superproject/+/android-2.3.7_r1:libcore/luni/src/main/java/java/util/regex/Matcher.java;l=550;drc=5850271b4ab93ebc27c1d49169a348c6be3c7f04
       */
      private static MatchResult createMatchResult() {
        Matcher matcher = Pattern.compile(".").matcher("X");
        matcher.find();
        return matcher.toMatchResult();
      }
    
      private static final ClassToInstanceMap<Object> DEFAULTS =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top