Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 422 for matchers (0.11 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          override fun matches(header: DerHeader): Boolean = true
    
          override fun fromDer(reader: DerReader): Pair<DerAdapter<*>, Any?> {
            val peekedHeader =
              reader.peekHeader()
                ?: throw ProtocolException("expected a value at $reader")
    
            val choice =
              choices.firstOrNull { it.matches(peekedHeader) }
                ?: throw ProtocolException(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

     */
    package okhttp3.compare
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import java.net.http.HttpClient
    import java.net.http.HttpClient.Redirect.NORMAL
    import java.net.http.HttpRequest
    import java.net.http.HttpResponse.BodyHandlers
    import mockwebserver3.MockResponse
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcherFactory.java

            private String provides;
    
            private ExactMatcher(String provides) {
                this.provides = provides;
            }
    
            @Override
            public boolean matches(String requirement) {
                return provides.equalsIgnoreCase(requirement);
            }
    
            @Override
            public String toString() {
                return provides;
            }
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

            }
            final List<String> urlList = new ArrayList<>();
            for (final FailureUrl failureUrl : list) {
                if (pattern != null) {
                    if (!pattern.matcher(failureUrl.getErrorName()).matches()) {
                        urlList.add(failureUrl.getUrl());
                    }
                } else {
                    urlList.add(failureUrl.getUrl());
                }
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

        public void test_string() {
            final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
            docBoostMatcher.setBoostExpression("10");
            docBoostMatcher.setMatchExpression("data1 != null && data1.matches(\"test\")");
    
            final Map<String, Object> map = new HashMap<String, Object>();
    
            map.put("data1", "test");
            assertTrue(docBoostMatcher.match(map));
    
            map.put("data1", "aaa test bbb");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

     * limitations under the License.
     */
    package okhttp3.compare
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.matches
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.testing.PlatformRule
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/Dispatcher.java

       */
      static Dispatcher perThreadDispatchQueue() {
        return new PerThreadQueuedDispatcher();
      }
    
      /**
       * Returns a dispatcher that queues events that are posted in a single global queue. This behavior
       * matches the original behavior of AsyncEventBus exactly, but is otherwise not especially useful.
       * For async dispatch, an {@linkplain #immediate() immediate} dispatcher should generally be
       * preferable.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

                return check(protocols, value);
            }
            return true;
        }
    
        /**
         * Checks if the given value matches any of the specified protocols.
         *
         * @param protocols the allowed protocols
         * @param value the URI string to validate
         * @return true if the value matches allowed protocols, false otherwise
         */
        protected static boolean check(final String[] protocols, final String value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top