- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 284 for rule2 (0.09 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
rule2.setAllRequired(true); rule2.addRule("url", "http:.*"); final RegexRule rule3 = new RegexRule(); rule3.addRule("url", "http:.*"); assertFalse(ruleManager.hasRule(rule2)); assertFalse(ruleManager.hasRule(rule3)); ruleManager.addRule(rule2); assertTrue(ruleManager.hasRule(rule2)); assertFalse(ruleManager.hasRule(rule3));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
rules[5], }, }, opts: ObjectOpts{ IsLatest: true, UserTags: "key1=val1", Name: "obj-1", Size: 1*humanize.MiByte - 1, }, hasRules: true, }, { // PUT version with size based filters lc: Lifecycle{ Rules: []Rule{ rules[1], rules[2], rules[3], rules[4], rules[5], }, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
internal/event/rules.go
rulesCopy[pattern] = targetIDSet.Clone() } return rulesCopy } // Union - returns union with given rules as new rules. func (rules Rules) Union(rules2 Rules) Rules { nrules := rules.Clone() for pattern, targetIDSet := range rules2 { nrules[pattern] = nrules[pattern].Union(targetIDSet) } return nrules } // Difference - returns difference with given rules as new rules.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.7K bytes - Viewed (0) -
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) -
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) -
android-test-app/proguard-rules.pro
# no rules should be needed...
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Dec 23 14:46:51 UTC 2023 - 28 bytes - Viewed (0) -
internal/bucket/replication/replication.go
continue } if rule.Filter.TestTags(obj.UserTags) { rules = append(rules, rule) } } sort.Slice(rules, func(i, j int) bool { return rules[i].Priority > rules[j].Priority && rules[i].Destination.String() == rules[j].Destination.String() }) return rules } // GetDestination returns destination bucket and storage class. func (c Config) GetDestination() Destination {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 8.9K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle.go
if obj.Name == "" { return nil } var rules []Rule for _, rule := range lc.Rules { if rule.Status == Disabled { continue } if !strings.HasPrefix(obj.Name, rule.GetPrefix()) { continue } if !rule.Filter.TestTags(obj.UserTags) { continue } if !obj.DeleteMarker && !rule.Filter.BySize(obj.Size) { continue } rules = append(rules, rule) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 17.9K bytes - Viewed (0) -
internal/bucket/replication/replication_test.go
{ObjectOpts{Name: "xyz/c3test", DeleteMarker: true, OpType: DeleteReplicationType}, cfgs[2], true}, // 24. matches rule 2 - DeleteMarker replication allowed by rule
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 32.5K bytes - Viewed (0) -
docs/bucket/replication/setup_ilm_expiry_replication.sh
exit 1 fi ## Check if ILM expiry rules replicated sleep 30s ./mc ilm rule list siteb/bucket count=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules | length') if [ $count -ne 1 ]; then echo "BUG: ILM expiry rules not replicated to 'siteb'" exit 1 fi ## Check replication of rules content expDays=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Expiration.Days')
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 12.8K bytes - Viewed (0)