Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 813 for Pattern (0.22 seconds)

  1. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            relatedContentHelper.setRegexPrefix("pattern:");
            assertEquals("pattern:", relatedContentHelper.regexPrefix);
    
            // Test with the new prefix
            List<RelatedContent> testData = new ArrayList<>();
            testData.add(createRelatedContent("pattern:test.*", "Pattern Match: __QUERY__", ""));
            mockBhv.setTestData(testData);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }
            return getQuerySet().map(querySet -> {
                final String pattern = querySet.stream().map(LaFunctions::h).map(Pattern::quote).collect(Collectors.joining("|"));
                if (StringUtil.isBlank(pattern)) {
                    return null;
                }
                final Matcher matcher = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE).matcher(value);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalPluginBuildPlugin.java

            var extension = project.getExtensions().getByType(PluginPropertiesExtension.class);
    
            // We've ported this from multiple build scripts where we see this pattern into
            // an extension method as a first step of consolidation.
            // We might want to port this into a general pattern later on.
            project.getExtensions()
                .getExtraProperties()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        /**
         * Cache for client rules mapping client names to their corresponding URL patterns.
         * This cache improves performance by avoiding repeated parsing of client configuration rules.
         * The key is the rule string, and the value is a pair containing the client name and compiled pattern.
         */
        protected ConcurrentHashMap<String, Pair<String, Pattern>> clientRuleCache = new ConcurrentHashMap<>();
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
        }
    
        private static class PatternWebApiManager implements WebApiManager {
            private final String pattern;
    
            public PatternWebApiManager(String pattern) {
                this.pattern = pattern;
            }
    
            @Override
            public boolean matches(HttpServletRequest request) {
                if (request == null || request.getRequestURI() == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  6. helm/minio/.helmignore

    # Patterns to ignore when building packages.
    # This supports shell glob matching, relative path matching, and
    # negation (prefixed with !). Only one pattern per line.
    .DS_Store
    # Common VCS dirs
    .git/
    .gitignore
    .bzr/
    .bzrignore
    .hg/
    .hgignore
    .svn/
    # Common backup files
    *.swp
    *.bak
    *.tmp
    *~
    # Various IDEs
    .project
    .idea/
    *.tmproj
    # OWNERS file for Kubernetes
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 20 22:30:54 GMT 2021
    - 368 bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

        /** Idle connection timeout in milliseconds */
        protected long idleConnectionTimeout = 60 * 1000L; // 1min
    
        /** Pattern for matching HTTP redirect status codes */
        protected Pattern redirectHttpStatusPattern = Pattern.compile("[3][0-9][0-9]");
    
        /** Whether to use robots.txt disallow rules */
        protected boolean useRobotsTxtDisallows = true;
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  8. docs_src/query_params_str_validations/tutorial004_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            str | None, Query(min_length=3, max_length=50, pattern="^fixedquery$")
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 368 bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

         */
        @Test
        public void test_labelConstantsNamingConvention() throws Exception {
            Field[] fields = FessLabels.class.getDeclaredFields();
            Pattern labelPattern = Pattern.compile("^LABELS_[A-Za-z0-9_]+$");
    
            for (Field field : fields) {
                if (Modifier.isStatic(field.getModifiers()) && Modifier.isFinal(field.getModifiers()) && Modifier.isPublic(field.getModifiers())
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  10. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java

    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    public class GitInfo {
        private static final Pattern GIT_PATTERN = Pattern.compile("git@([^:]+):([^\\.]+)\\.git");
    
        private final String revision;
        private final String origin;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.8K bytes
    - Click Count (0)
Back to Top