Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 219 for Rule (0.05 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            given:
            def rule = withContext(ruleElem)
            def annotations = []
            jApiConstructor.annotations >> annotations
    
            when:
            annotations.clear()
    
            then:
            rule.maybeViolation(jApiConstructor).humanExplanation =~ error
    
            when:
            annotations.add(injectAnnotation)
    
            then:
            rule.maybeViolation(jApiConstructor) == null
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/rule_test.go

                                  <Status></Status>
    	                    </Rule>`,
    			expectedErr: errEmptyRuleStatus,
    		},
    		{ // Rule with invalid status
    			inputXML: ` <Rule>
    			                  <ID>rule with invalid status</ID>
                                  <Status>OK</Status>
    	                    </Rule>`,
    			expectedErr: errInvalidRuleStatus,
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    nil,
    			expectedValidationErr: nil,
    		},
    		// Lifecycle with empty Filter tag
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

            this.allRequired = allRequired;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final RegexRule rule && allRequired == rule.isAllRequired() && defaultRule == rule.isDefaultRule()
                    && regexMap.equals(rule.regexMap)) {
                return true;
            }
            return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc-integtests.xml

            <rule-config name='ClassName'>
                <property name='regex' value='^[A-Z][\$a-zA-Z0-9]*$'/>
            </rule-config>
            <rule-config name='FieldName'>
                <property name='finalRegex' value='^[a-z][a-zA-Z0-9]*$'/>
                <property name='staticFinalRegex' value='^logger$|^[A-Z][A-Z_0-9]*$|^serialVersionUID$'/>
            </rule-config>
            <rule-config name='MethodName'>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  6. build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc.xml

            <rule-config name='ClassName'>
                <property name='regex' value='^[A-Z][\$a-zA-Z0-9]*$'/>
            </rule-config>
            <rule-config name='FieldName'>
                <property name='finalRegex' value='^[a-z][a-zA-Z0-9]*$'/>
                <property name='staticFinalRegex' value='^logger$|^[A-Z][A-Z_0-9]*$|^serialVersionUID$'/>
            </rule-config>
            <rule-config name='MethodName'>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  7. internal/bucket/replication/rule_test.go

    	testCases := []struct {
    		inputConfig    string
    		opts           ObjectOpts
    		expectedResult bool
    	}{
    		// case 1 - rule with replica modification enabled; not a replica
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        CtClass internalInterface
        CtClass incubatingInterface
        CtClass stablePublicInterface
    
        Map interfaces
    
        def setup() {
            rule = new IncubatingInternalInterfaceAddedRule(getInitializationParams())
            rule.context = context
    
            oldBase = instanceScopedPool.get(OldBase.name)
            newBase = instanceScopedPool.get(NewBase.name)
            newSuper = instanceScopedPool.get(NewSuper.name)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. internal/event/config.go

    	type filterRule FilterRule
    	rule := filterRule{}
    	if err := d.DecodeElement(&rule, &start); err != nil {
    		return err
    	}
    
    	if rule.Name != "prefix" && rule.Name != "suffix" {
    		return &ErrInvalidFilterName{rule.Name}
    	}
    
    	if err := ValidateFilterRuleValue(filter.Value); err != nil {
    		return err
    	}
    
    	*filter = FilterRule(rule)
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  10. cni/pkg/iptables/iptables_linux.go

    		inpodMarkRule.Mask = ptr.Of(uint32(InpodTProxyMask))
    		inpodMarkRule.Priority = 32764
    		rules = append(rules, inpodMarkRule)
    	}
    
    	for _, rule := range rules {
    		log.Debugf("processing netlink rule: %+v", rule)
    		if err := f(rule); err != nil {
    			return fmt.Errorf("failed to configure netlink rule: %w", err)
    		}
    	}
    
    	return nil
    }
    
    func AddLoopbackRoutes(cfg *Config) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Sep 06 09:44:28 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top