Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for allRequired (0.05 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java

     *
     */
    public class RegexRuleTest extends PlainTestCase {
    
        public void test_match_default() {
            final RegexRule regexRule = new RegexRule();
            regexRule.defaultRule = true;
            regexRule.allRequired = true;
            regexRule.addRule("url", Pattern.compile("http:.*"));
            regexRule.addRule("mimeType", Pattern.compile("text/html"));
    
            assertTrue(regexRule.match(getTestData1()));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

        }
    
        public boolean isAllRequired() {
            return allRequired;
        }
    
        public void setAllRequired(final boolean allRequired) {
            this.allRequired = allRequired;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final RegexRule rule && allRequired == rule.isAllRequired() && defaultRule == rule.isDefaultRule()
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

            low = mid;
          } else {
            return mid; // allRequired[mid] = centerFloor, so we can't get closer than that
          }
        }
    
        // Now pick the closest of the two candidates. Note that there is no rounding here.
        if (from + to - allRequired[low] - allRequired[high] > 0) {
          return high;
        } else {
          return low;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
Back to top