Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 391 for matchAt (0.03 sec)

  1. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final Pattern pattern = Pattern.compile("test");
            final Matcher matcher = pattern.matcher("test");
            final BiFunction<String, Matcher, String> pathMatcher = pathMappingHelper.createPathMatcher(matcher, "function:encodeUrl");
    
            String result = pathMatcher.apply("http://example.com/test path", matcher);
            assertEquals("http://example.com/test+path", result);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/TestUtil.java

     */
    package org.codelibs.core;
    
    import static org.hamcrest.CoreMatchers.is;
    
    import org.hamcrest.CoreMatchers;
    import org.hamcrest.Matcher;
    
    /**
     * @author koichik
     */
    public abstract class TestUtil {
    
        /**
         * 実際の値が期待する{@literal clazz}と等しいかを検証する{@link Matcher}を返します。
         *
         * <pre>assertThat(clazz, is(Xxx.class));</pre>
         * <p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. 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;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/WebApiManager.java

     * by matching incoming requests and processing them accordingly.
     */
    public interface WebApiManager {
    
        /**
         * Checks if the request matches this API manager.
         * @param request The HTTP servlet request.
         * @return True if the request matches, false otherwise.
         */
        boolean matches(HttpServletRequest request);
    
        /**
         * Processes the request through this API manager.
         * @param request The HTTP servlet request.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/BeanDesc.java

         */
        ConstructorDesc getConstructorDesc(Class<?>... paramTypes);
    
        /**
         * Returns the {@link ConstructorDesc} that matches the given arguments.
         *
         * @param args
         *            The arguments to pass to the constructor
         * @return The {@link ConstructorDesc} that matches the given arguments
         */
        ConstructorDesc getSuitableConstructorDesc(Object... args);
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

    fun parseIanaCsvRow(s: String): SuiteId? {
      if (s.contains("Reserved") || s.contains("Unassigned")) return null
      val matcher = IANA_CSV_PATTERN.matchEntire(s) ?: return null
      val id = (matcher.groupValues[1] + matcher.groupValues[2]).decodeHex()
      return SuiteId(id, matcher.groupValues[3])
    }
    
    class IanaSuites(
      val name: String,
      val suites: List<SuiteId>,
    ) {
      fun fromJavaName(javaName: String): SuiteId =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/ThrowablesTest.java

        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
            firstLine + System.lineSeparator() + secondLine + System.lineSeparator() + moreLines;
        assertThat(getStackTraceAsString(e)).matches(expected);
      }
    
      public void testGetCausalChain() {
        SomeUncheckedException sue = new SomeUncheckedException();
        IllegalArgumentException iae = new IllegalArgumentException(sue);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

        }
    
        // Test updateDocument with boost matcher
        public void test_updateDocument_withBoostMatcher() {
            final Map<String, Object> doc = new HashMap<>();
            doc.put("url", "http://example.com");
    
            final DocBoostMatcher matcher = new DocBoostMatcher() {
                @Override
                public boolean match(Map<String, Object> map) {
                    return true;
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            assertTrue(manager.matches(request));
    
            request.setRequestURI("/api/v2/label");
            assertTrue(manager.matches(request));
    
            request.setRequestURI("/api/search");
            assertFalse(manager.matches(request));
    
            request.setRequestURI("/other/v1/search");
            assertFalse(manager.matches(request));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. okhttp/src/commonTest/kotlin/okhttp3/OkHttpTest.kt

    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.matches
    import org.junit.jupiter.api.Test
    
    class OkHttpTest {
      @Test
      fun testVersion() {
        assertThat(OkHttp.VERSION).matches(Regex("[0-9]+\\.[0-9]+\\.[0-9]+(-.+)?"))
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 247 bytes
    - Viewed (0)
Back to top