Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 550 for Matcher (0.07 seconds)

  1. android/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(
            (splitter, toSplit) -> {
              CommonMatcher matcher = separatorPattern.matcher(toSplit);
              return new SplittingIterator(splitter, toSplit) {
                @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * The default implementation returns an empty list.
         */
        default List<String> excludes() {
            return List.of();
        }
    
        /**
         * {@return a matcher combining the include and exclude patterns}
         * If the user did not specify any includes, the given {@code defaultIncludes} are used.
         * These defaults depend on the plugin.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            // assertFalse(indexUpdater.isAlive());
        }
    
        // Test updateDocument with boost matcher
        @Test
        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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  4. 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 mapping: line={}, path={}", line, path);
                        if (updater != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          var month = -1
          var year = -1
          val matcher = TIME_PATTERN.matcher(s)
    
          while (pos < limit) {
            val end = dateCharacterOffset(s, pos + 1, limit, true)
            matcher.region(pos, end)
    
            when {
              hour == -1 && matcher.usePattern(TIME_PATTERN).matches() -> {
                hour = matcher.group(1).toInt()
                minute = matcher.group(2).toInt()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                        if (updater != null) {
                            updater.write(line);
                        }
                        continue;
                    }
    
                    final Matcher m = parsePattern.matcher(replacedLine);
    
                    if (!m.find()) {
                        logger.warn("Failed to parse stemmer override: line={}, path={}", line, path);
                        if (updater != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

            private void body(Snippet snippet, boolean inSetup) {
                parse("$snippet", snippet.contents, SYNTAX) { matcher, last ->
                    if (matcher.group("comment") != null) {
                        // Comment
                        return
                    }
                    String yamlRequest = matcher.group("yaml");
                    if (yamlRequest != null) {
                        current.println(yamlRequest)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

            List<String> mapped = new ArrayList<>(mappings.values());
            Pattern mappingsPattern = Pattern.compile("(" + String.join(")|(", mappings.keySet()) + ")");
            Matcher match = mappingsPattern.matcher(dependencyName);
            if (match.matches()) {
                int i = 0;
                while (i < match.groupCount() && match.group(i + 1) == null) {
                    ++i;
                }
                return mapped.get(i);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

         * Retrieves related content for a given search query.
         * First checks for exact term matches, then evaluates regex patterns.
         * For regex matches, the query placeholder is replaced with the actual query.
         *
         * @param query the search query to find related content for
         * @return array of related content strings, or empty array if no matches found
         */
        public String[] getRelatedContents(final String query) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            this.maxIndexerErrorCount = maxIndexerErrorCount;
        }
    
        /**
         * Adds a document boost matcher rule for enhancing document relevance scores.
         *
         * @param rule the document boost matcher rule to add
         */
        public void addDocBoostMatcher(final DocBoostMatcher rule) {
            docBoostMatcherList.add(rule);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
Back to Top