Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 60 for matcherIn (0.05 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            inline fun <reified T> inAnyOrder(items: List<T>): Matcher<Iterable<T>> = inAnyOrder(items.toTypedArray())
    
            /**
             * Matcher checking each item is present exactly once in a given iterable, but an any position,
             * and that there are no unexpected items.
             */
            private
            fun <T> inAnyOrder(items: Array<out T>): Matcher<Iterable<T>> = Matchers.containsInAnyOrder(*items)
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

            Matcher matcher = linkPattern.matcher(line);
            while (matcher.find()) {
                MatchResult xrefMatcher = matcher.toMatchResult();
                String link = xrefMatcher.group(1);
                if (link.contains("#")) {
                    Matcher linkMatcher = linkWithHashPattern.matcher(link);
                    if (linkMatcher.matches()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/JvmUtil.java

            return Arrays.stream(values).map(s -> {
                final Matcher matcher = VERSION_PREFIX_PATTERN.matcher(s);
                if (!matcher.matches()) {
                    return s;
                }
                final int v = Integer.parseInt(matcher.group(1));
                if ("-".equals(matcher.group(2))) {
                    if (version >= v) {
                        return matcher.group(3);
                    }
                } else if (v == version) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

            assertFalse(pattern.matcher("text/html").matches());
        }
    
        @Test
        public void test_webFileRulePattern_doesNotMatchImageTypes() {
            Pattern pattern = Pattern.compile(WEB_FILE_RULE_PATTERN);
            assertFalse(pattern.matcher("image/jpeg").matches());
            assertFalse(pattern.matcher("image/png").matches());
            assertFalse(pattern.matcher("image/gif").matches());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

        }
    
        /**
         * Creates a path matcher function for path mapping.
         *
         * @param matcher the regex matcher
         * @param replacement the replacement string
         * @return the path matcher function
         */
        public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMapping
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. 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);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/util/PrunedTag.java

                final Matcher matcher = pattern.matcher(v.trim());
                if (matcher.matches()) {
                    final PrunedTag tag = new PrunedTag(matcher.group(1));
                    if (matcher.group(2) != null) {
                        final String attrPair = matcher.group(2).substring(1, matcher.group(2).length() - 1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/search/HealthApiTests.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.it.search;
    
    import static io.restassured.RestAssured.given;
    import static org.hamcrest.Matchers.anyOf;
    import static org.hamcrest.Matchers.equalTo;
    import static org.hamcrest.Matchers.notNullValue;
    
    import org.codelibs.fess.it.ITBase;
    import org.junit.jupiter.api.AfterAll;
    import org.junit.jupiter.api.BeforeAll;
    import org.junit.jupiter.api.Tag;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. 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);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            }
    
            Text comment = (Text) firstNode.getFirstChild();
            Matcher matcher = ACCESSOR_COMMENT_PATTERN.matcher(comment.getData());
            if (matcher.lookingAt()) {
                String theOrWhether = matcher.group(1).toLowerCase(Locale.US);
                comment.setData(StringUtils.capitalize(theOrWhether) + " " + comment.getData().substring(matcher.end()));
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
Back to Top