Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 422 for matchers (0.05 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

            provides.put(type, matcher);
        }
    
        @Override
        public boolean matchesRequirements(Map<String, String> requirements) {
            for (Map.Entry<String, String> requirement : requirements.entrySet()) {
                String key = requirement.getKey();
    
                RequirementMatcher matcher = provides.get(key);
    
                if (matcher == null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/InputValidator.java

                throw new IllegalArgumentException("Path exceeds maximum length: " + path.length());
            }
            if (PATH_TRAVERSAL.matcher(path).find()) {
                throw new IllegalArgumentException("Path contains directory traversal sequences: " + path);
            }
            if (INVALID_PATH_CHARS.matcher(path).find()) {
                throw new IllegalArgumentException("Path contains invalid characters: " + path);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CommonMatcher.java

    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();
    
      public abstract boolean find();
    
      public abstract boolean find(int index);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. 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) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/PathValidator.java

            // Check various forms of directory traversal
            if (TRAVERSAL_PATTERN.matcher(path).find()) {
                return true;
            }
    
            // Check encoded traversals
            if (ENCODED_TRAVERSAL.matcher(path).find()) {
                return true;
            }
    
            // Check Unicode encoded traversals
            if (UNICODE_TRAVERSAL.matcher(path).find()) {
                return true;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

        private static String unQuoteUnEscape(final String original) {
            String result = original;
    
            // Unquote
            if (result.indexOf('\"') >= 0) {
                final Matcher m = QUOTE_REPLACE_PATTERN.matcher(original);
                if (m.matches()) {
                    result = m.group(1);
                }
    
                // Unescape
                if (result.indexOf(ESCAPED_QUOTE) >= 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

        }
    
        /**
         * Checks if the given path matches this creator's pattern.
         *
         * @param path the file path to check
         * @return true if the path matches the pattern, false otherwise
         */
        protected boolean isTarget(final String path) {
            return pattern.matcher(path).find();
        }
    
        /**
         * Creates a new dictionary file instance for the given parameters.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            if (lastHyphen > 0) {
                int prevHyphen = version.lastIndexOf('-', lastHyphen - 1);
                if (prevHyphen > 0) {
                    Matcher m = Artifact.VERSION_FILE_PATTERN.matcher(version);
                    if (m.matches()) {
                        return m.group(1) + "-" + Artifact.SNAPSHOT_VERSION;
                    }
                }
            }
            return version;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

        bitSet.clear(0);
        bitSet.clear(1);
        matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE;
        teststring = newTestString(new Random(1), bitSet, percentMatching);
      }
    
      @Benchmark
      public int countIn(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += matcher.countIn(teststring);
        }
        return result;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. 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)
Back to top