Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for pattern (0.08 sec)

  1. internal/event/rules.go

    type Rules map[string]TargetIDSet
    
    // Add - adds pattern and target ID.
    func (rules Rules) Add(pattern string, targetID TargetID) {
    	rules[pattern] = NewTargetIDSet(targetID).Union(rules[pattern])
    }
    
    // MatchSimple - returns true one of the matching object name in rules.
    func (rules Rules) MatchSimple(objectName string) bool {
    	for pattern := range rules {
    		if wildcard.MatchSimple(pattern, objectName) {
    			return true
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

        protected static final Pattern USER_AGENT_RECORD =
                Pattern.compile("^user-agent:\\s*([^\\t\\n\\x0B\\f\\r]+)\\s*$", Pattern.CASE_INSENSITIVE);
    
        protected static final Pattern DISALLOW_RECORD = Pattern.compile("^disallow:\\s*([^\\s]*)\\s*$", Pattern.CASE_INSENSITIVE);
    
        protected static final Pattern ALLOW_RECORD = Pattern.compile("^allow:\\s*([^\\s]*)\\s*$", Pattern.CASE_INSENSITIVE);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses_test.go

    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "",
    							Suffix: "",
    							Seq:    getSequences(1, 27, 0),
    						},
    					},
    				},
    				nil,
    				[][]uint64{{9, 9, 9}},
    			},
    			true,
    		},
    		{
    			"/export/set{1...64}",
    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    						{
    							Prefix: "/export/set",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

    public class UpgradedProperties {
    
        private static final Pattern SETTER_REGEX = Pattern.compile("set[A-Z].*");
        private static final Pattern GETTER_REGEX = Pattern.compile("get[A-Z].*");
        private static final Pattern BOOLEAN_GETTER_REGEX = Pattern.compile("is[A-Z].*");
        public static final String OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES = "oldRemovedAccessorsOfUpgradedProperties";
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/web.xml

        <filter-name>corsFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
    
      <filter-mapping>
        <filter-name>webApiFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
    
      <filter-mapping>
        <filter-name>lastaShowbaseFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 29 02:54:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. fastapi/params.py

                        "strict": strict,
                        "json_schema_extra": current_json_schema_extra,
                    }
                )
                kwargs["pattern"] = pattern or regex
            else:
                kwargs["regex"] = pattern or regex
                kwargs.update(**current_json_schema_extra)
            use_kwargs = {k: v for k, v in kwargs.items() if v is not _Unset}
    
            super().__init__(**use_kwargs)
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

        }
    
        protected LoadingCache<String, List<Pattern>> createFilterCache(final String type) {
            return CacheBuilder.newBuilder()//
                    .expireAfterWrite(filterCacheExpireAfterWrite, TimeUnit.SECONDS)//
                    .build(new CacheLoader<String, List<Pattern>>() {
    
                        @Override
                        public List<Pattern> load(final String key) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

        )
    
        val excludes = listOf("**/internal/**")
    
        private val includePackagePatterns: List<Pattern> by lazy {
            includes.map {
                if (it.endsWith("/**")) {
                    Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?")
                } else {
                    Pattern.compile(it.substring(0, it.length - 2).replace("/", "\\.") + "\\.[^.]+")
                }
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         * </ul>
         *
         * @param originalRepository to compare for a match.
         * @param pattern used for match.
         * @return true if the repository is a match to this pattern.
         */
        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
            boolean result = false;
            String originalId = originalRepository.getId();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

            }
    
            return allRequired;
        }
    
        public void addRule(final String key, final String regex) {
            regexMap.put(key, Pattern.compile(regex));
        }
    
        public void addRule(final String key, final Pattern pattern) {
            regexMap.put(key, pattern);
        }
    
        public boolean isDefaultRule() {
            return defaultRule;
        }
    
        public void setDefaultRule(final boolean defaultRule) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top