Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 714 for pattern2 (0.22 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/FilterHashEqualsTest.java

    /**
     */
    class FilterHashEqualsTest {
    
        @Test
        void testIncludesExcludesArtifactFilter() {
            List<String> patterns = Arrays.asList("c", "d", "e");
    
            IncludesArtifactFilter f1 = new IncludesArtifactFilter(patterns);
    
            IncludesArtifactFilter f2 = new IncludesArtifactFilter(patterns);
    
            assertTrue(f1.equals(f2), "Expected " + f1 + " to equal " + f2);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

                return Constants.TRUE;
            }
    
            for (final Pattern pattern : includedDocPathPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.TRUE;
                }
            }
    
            for (final Pattern pattern : excludedDocPathPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/QualifiedVersion.java

        private final int minor;
        private final int revision;
        private final Qualifier qualifier;
    
        private static final Pattern pattern = Pattern.compile(
            "^v? (\\d+) \\. (\\d+) \\. (\\d+) (?: - (alpha\\d+ | beta\\d+ | rc\\d+ | SNAPSHOT ) )? $",
            Pattern.COMMENTS
        );
    
        private QualifiedVersion(int major, int minor, int revision, String qualifier) {
            this.major = major;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/Platform.java

      }
    
      static CommonPattern compilePattern(String pattern) {
        Preconditions.checkNotNull(pattern);
        return patternCompiler.compile(pattern);
      }
    
      static boolean patternCompilerIsPcreLike() {
        return patternCompiler.isPcreLike();
      }
    
      private static PatternCompiler loadPatternCompiler() {
        // We want the JDK Pattern compiler:
        // - under Android (where it hurts startup performance)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

         * @param pattern
         *            The pattern string
         * @return The converted {@literal int}
         */
        public static int toPrimitiveInt(final Object o, final String pattern) {
            return switch (o) {
            case null -> 0;
            case Number n -> n.intValue();
            case String s -> toPrimitiveInt(s);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         */
        public static CopyOptions dateConverter(final String pattern, final CharSequence... propertyNames) {
            return new CopyOptions().dateConverter(pattern, propertyNames);
        }
    
        /**
         * Returns a {@link CopyOptions} with a SQL date converter applied.
         *
         * @param pattern
         *            The date pattern. Must not be {@literal null} or an empty string.
         * @param propertyNames
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

            }
    
            PatternSet skippedPatternSet = patternSetFactory.create();
            //create file patterns for all a1/a2/a3/b.yml possibilities.
            for(int i = testParts.length - 1; i > 1; i-- ){
                final String lastPart = testParts[i];
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/CommonPattern.java

    /**
     * The subset of the {@link java.util.regex.Pattern} API which is used by this package, and also
     * shared with the {@code re2j} library. For internal use only. Please refer to the {@code Pattern}
     * javadoc for details.
     */
    @GwtCompatible
    abstract class CommonPattern {
      public abstract CommonMatcher matcher(CharSequence t);
    
      public abstract String pattern();
    
      public abstract int flags();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/SystemUtil.java

        }
    
        /**
         * Gets the compiled pattern for matching sensitive property/environment variable keys.
         * The pattern is read from the system property 'app.log.sensitive.property.pattern'.
         * If not set, a default pattern matching common sensitive key names is used.
         *
         * @return The compiled Pattern for sensitive key matching
         */
        private static Pattern getSensitivePattern() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:32:50 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

        }
    
        /**
         * Converts to {@link Double}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Double}
         */
        public static Double toDouble(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Double) {
                return (Double) o;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top