Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 874 for rule (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

            while (!source.exhausted()) {
              var rule: ByteString = source.readUtf8LineStrict().toRule() ?: continue
    
              if (rule.startsWith(EXCEPTION_RULE_MARKER)) {
                rule = rule.substring(1)
                // We use '\n' for end of value.
                totalExceptionRuleBytes += rule.size + 1
                sortedExceptionRules.add(rule)
              } else {
                totalRuleBytes += rule.size + 1 // We use '\n' for end of value.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Aug 06 05:33:11 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. internal/bucket/lifecycle/lifecycle_test.go

    	// matching rules
    	var rules []Rule
    	for i := 1; i <= 10; i++ {
    		rules = append(rules, Rule{
    			ID:     strconv.Itoa(i),
    			Status: "Enabled",
    			NoncurrentVersionExpiration: NoncurrentVersionExpiration{
    				NewerNoncurrentVersions: i,
    				NoncurrentDays:          ExpirationDays(i),
    			},
    		})
    	}
    	lc := Lifecycle{
    		Rules: rules,
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/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 {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/BoostDocumentRuleService.java

        /**
         * Gets a boost document rule by its ID.
         * @param id The boost document rule ID.
         * @return Optional entity containing the boost document rule if found.
         */
        public OptionalEntity<BoostDocumentRule> getBoostDocumentRule(final String id) {
            return boostDocumentRuleBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a boost document rule.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            assertTrue(rule.isTarget(12, 30, 3)); // 12:30 on Tuesday
            assertTrue(rule.isTarget(12, 30, 5)); // 12:30 on Thursday
    
            // Within time range but not matching day
            assertFalse(rule.isTarget(12, 30, 2)); // 12:30 on Monday
            assertFalse(rule.isTarget(12, 30, 4)); // 12:30 on Wednesday
            assertFalse(rule.isTarget(12, 30, 6)); // 12:30 on Friday
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  6. 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)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. 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,
    		},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            final int m = cal.get(Calendar.MINUTE);
            final int d = cal.get(Calendar.DAY_OF_WEEK); // SUN(1) - SAT(7)
            for (final IntervalRule rule : ruleList) {
                if (rule.isTarget(h, m, d)) {
                    return rule.getDelay();
                }
            }
            return 0;
        }
    
        /**
         * Gets the current calendar instance set to the system time.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

                    .status(Status.OK)
                    .result());
        }
    
        /**
         * Retrieves a specific boost document rule setting by ID.
         *
         * @param id the ID of the boost document rule to retrieve
         * @return JSON response containing the boost document rule configuration
         */
        // GET /api/admin/boostdoc/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. 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'>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.3K bytes
    - Click Count (0)
Back to Top