Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 633 for pattern2 (0.06 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            return "*".equals(str);
        }
    
        private static boolean matches(String pattern, String str) {
            if (isAny(pattern)) {
                return true;
            } else if (pattern.endsWith("*")) {
                return str.startsWith(pattern.substring(0, pattern.length() - 1));
            } else {
                return Objects.equals(pattern, str);
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         * @return the parsed charset name, or null if not found
         */
        protected String parseCharset(final String content) {
            final Pattern pattern = Pattern.compile("; *charset *= *([a-zA-Z0-9\\-_]+)", Pattern.CASE_INSENSITIVE);
            final Matcher matcher = pattern.matcher(content);
            if (matcher.find()) {
                return matcher.group(1);
            }
            return null;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            });
        }
    
        /**
         * Generates test data with repeating patterns for good compression.
         */
        private byte[] generateTestData(int size) {
            byte[] data = new byte[size];
    
            // Create data with repeating patterns
            for (int i = 0; i < size; i++) {
                if (i % 100 < 50) {
                    data[i] = (byte) 'A';
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            if (value == null) {
                return null;
            }
    
            final StringBuffer tunedText = new StringBuffer(value.length());
            final Pattern pattern = Pattern.compile("(\\$\\{([\\w\\.]+)\\})");
            final Matcher matcher = pattern.matcher(value);
            while (matcher.find()) {
                final String key = matcher.group(2);
                String replacement = System.getProperty(key);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java

            assertFalse(filter.include(artifact), "Maven artifact should be excluded by glob pattern");
            assertTrue(filter.include(artifact2), "JUnit artifact should not be excluded by maven-* glob pattern");
        }
    
        @Test
        void testExcludeWithGlobStar() {
            Exclusion exclusion = new Exclusion();
            exclusion.setGroupId("**");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DosFileFilter.java

     * Supports filtering files based on DOS wildcards and file attributes.
     *
     */
    public class DosFileFilter implements SmbFileFilter {
    
        /**
         * The wildcard pattern for filtering file names.
         */
        protected String wildcard;
    
        /**
         * The DOS file attributes to filter on.
         */
        protected int attributes;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/JvmUtil.java

    import java.util.Arrays;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Utility class for JVM-related operations.
     * This class provides methods for handling JVM options and version detection.
     */
    public final class JvmUtil {
        private static final Pattern VERSION_PREFIX_PATTERN = Pattern.compile("([0-9]+)(\\-?):(.*)");
    
        private JvmUtil() {
            // nothing
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

    import japicmp.model.JApiCompatibility
    import javassist.CtClass
    import me.champeau.gradle.japicmp.report.Violation
    
    import java.util.regex.Pattern
    
    abstract class AbstractSuperClassChangesRule extends AbstractGradleViolationRule {
    
        private final List<Pattern> publicApiPatterns
    
        AbstractSuperClassChangesRule(Map<String, Object> params) {
            super(params)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

        protected String lineSeparator = "\n";
    
        /** Separator for header-value association in text output. */
        protected String headerValueSeparator = ": ";
    
        /** Pattern for detecting quoted fields. */
        private static final Pattern QUOTED_FIELD_PATTERN = Pattern.compile("^\".*\"$");
    
        /**
         * Constructs a new CsvExtractor.
         */
        public CsvExtractor() {
            super();
        }
    
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. tests/test_regex_deprecated_params.py

            "detail": [
                {
                    "type": "string_pattern_mismatch",
                    "loc": ["query", "q"],
                    "msg": "String should match pattern '^fixedquery$'",
                    "input": "nonregexquery",
                    "ctx": {"pattern": "^fixedquery$"},
                }
            ]
        }
    
    
    @needs_py310
    def test_openapi_schema():
        client = get_client()
        response = client.get("/openapi.json")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top