Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 for RULE (0.05 sec)

  1. internal/bucket/lifecycle/rule.go

    	}
    	if !r.Prefix.set {
    		return r.Filter.Validate()
    	}
    	return nil
    }
    
    func (r Rule) validateTransition() error {
    	return r.Transition.Validate()
    }
    
    func (r Rule) validateNoncurrentTransition() error {
    	return r.NoncurrentVersionTransition.Validate()
    }
    
    // GetPrefix - a rule can either have prefix under <rule></rule>, <filter></filter>
    // or under <filter><and></and></filter>. This method returns the prefix from the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/Rule.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.rule;
    
    import java.io.Serializable;
    
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.processor.ResponseProcessor;
    
    /**
     * @author shinsuke
     *
     */
    public interface Rule extends Serializable {
    
        boolean match(ResponseData responseData);
    
        String getRuleId();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1007 bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        val rule = findMatchingRule(domainLabels)
        if (domainLabels.size == rule.size && rule[0][0] != EXCEPTION_MARKER) {
          return null // The domain is a public suffix.
        }
    
        val firstLabelOffset =
          if (rule[0][0] == EXCEPTION_MARKER) {
            // Exception rules hold the effective TLD plus one.
            domainLabels.size - rule.size
          } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java

         */
        @Override
        public boolean hasRule(final Rule rule) {
            return ruleList.contains(rule);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.rule.RuleManager#removeRule(org.codelibs.fess.crawler.rule.Rule)
         */
        @Override
        public boolean removeRule(final Rule rule) {
            return ruleList.remove(rule);
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/lifecycle.go

    			// we can skip this rule if it doesn't match the tested
    			// prefix.
    			if !strings.HasPrefix(prefix, rule.GetPrefix()) && !strings.HasPrefix(rule.GetPrefix(), prefix) {
    				continue
    			}
    		}
    
    		if rule.NoncurrentVersionExpiration.NoncurrentDays > 0 {
    			return true
    		}
    		if rule.NoncurrentVersionExpiration.NewerNoncurrentVersions > 0 {
    			return true
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. internal/bucket/replication/replication.go

    	if len(c.Rules) == 0 {
    		return false
    	}
    	for _, rule := range c.Rules {
    		if rule.Status == Disabled {
    			continue
    		}
    		if len(prefix) > 0 && len(rule.Filter.Prefix) > 0 {
    			// incoming prefix must be in rule prefix
    			if !recursive && !strings.HasPrefix(prefix, rule.Filter.Prefix) {
    				continue
    			}
    			// If recursive, we can skip this rule if it doesn't match the tested prefix or level below prefix
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                final Rule rule = ruleManager.getRule(responseData);
                if (rule == null) {
                    throw new CrawlingAccessException("No url rule for " + url);
                }
                responseData.setRuleId(rule.getRuleId());
                final ResponseProcessor responseProcessor = rule.getResponseProcessor();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

            // get a rule
            final Rule rule = crawlerContext.ruleManager.getRule(responseData);
            if (rule == null) {
                log(logHelper, LogType.NO_RULE, crawlerContext, urlQueue, responseData);
            } else {
                responseData.setRuleId(rule.getRuleId());
                final ResponseProcessor responseProcessor = rule.getResponseProcessor();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/networking/v1/generated.proto

      // 1. If host is precise, the request matches this rule if the http host header is equal to Host.
      // 2. If host is a wildcard, then the request matches this rule if the http host header
      // is to equal to the suffix (removing the first label) of the wildcard rule.
      // +optional
      optional string host = 1;
    
      // IngressRuleValue represents a rule to route requests for this IngressRule.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java

            final Rule rule = ruleManager.getRule(responseData);
            assertNotNull(rule);
            assertEquals("fileRule", rule.getRuleId());
            CloseableUtil.closeQuietly(responseData);
        }
    
        public void test_checkRule() {
            final Rule rule = ruleManager.getRule(new ResponseData());
            assertNotNull(rule);
            assertEquals("fileRule", rule.getRuleId());
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top