Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 208 for Pattern (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          hostname += "."
        }
        if (!pattern.endsWith(".")) {
          pattern += "."
        }
        // Hostname and pattern are now absolute domain names.
    
        pattern = pattern.asciiToLowercase()
        // Hostname and pattern are now in lower case -- domain names are case-insensitive.
    
        if ("*" !in pattern) {
          // Not a wildcard pattern -- hostname and pattern must match exactly.
          return hostname == pattern
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  2. src/main/webapp/WEB-INF/web.xml

        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
    
      <filter-mapping>
        <filter-name>webApiFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
    
      <filter-mapping>
        <filter-name>lastaShowbaseFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 09:08:35 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // Pattern with single backslash (14 chars): should match
            String singleBackslash = "image/svg" + "\\" + "+xml";
            assertEquals("Single backslash pattern should be 14 chars", 14, singleBackslash.length());
            assertTrue(svgMimetype.matches(singleBackslash));
    
            // Pattern with double backslash (15 chars): should NOT match
            String doubleBackslash = "image/svg" + "\\\\" + "+xml";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  4. fastapi/params.py

            le: float | None = None,
            min_length: int | None = None,
            max_length: int | None = None,
            pattern: str | None = None,
            regex: Annotated[
                str | None,
                deprecated(
                    "Deprecated in FastAPI 0.100.0 and Pydantic v2, use `pattern` instead."
                ),
            ] = None,
            discriminator: str | None = None,
            strict: bool | None = _Unset,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

            Pattern pattern = Pattern.compile(FS_FILE_RULE_PATTERN);
            assertTrue(pattern.matcher("text/html").matches());
        }
    
        @Test
        public void test_fsFileRulePattern_lhaTypes() {
            Pattern pattern = Pattern.compile(FS_FILE_RULE_PATTERN);
            assertTrue(pattern.matcher("application/lha").matches());
            assertTrue(pattern.matcher("application/x-lha").matches());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

        init {
          require(
            (pattern.startsWith("*.") && pattern.indexOf("*", 1) == -1) ||
              (pattern.startsWith("**.") && pattern.indexOf("*", 2) == -1) ||
              pattern.indexOf("*") == -1,
          ) {
            "Unexpected pattern: $pattern"
          }
    
          this.pattern =
            pattern.toCanonicalHost() ?: throw IllegalArgumentException("Invalid pattern: $pattern")
    
          when {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  7. fastapi/param_functions.py

                """
            ),
        ] = None,
        pattern: Annotated[
            str | None,
            Doc(
                """
                RegEx pattern for strings.
                """
            ),
        ] = None,
        regex: Annotated[
            str | None,
            Doc(
                """
                RegEx pattern for strings.
                """
            ),
            deprecated(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            LabelTypePattern pattern = new LabelTypePattern("test", "/test.*", "/exclude.*");
    
            // Should match included path
            assertTrue(pattern.match("/test/path"));
    
            // Should not match excluded path
            assertFalse(pattern.match("/exclude/path"));
    
            // Should not match non-included path
            assertFalse(pattern.match("/other/path"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

                return Constants.TRUE;
            }
    
            for (final Pattern pattern : includedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.TRUE;
                }
            }
    
            for (final Pattern pattern : excludedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

                    .getTotalHits()
                    .value() > 0);
    
            // Verify pattern can be retrieved
            final List<Pattern> patterns = urlFilterService.getIncludeUrlPatternList(sessionId);
            assertEquals(1, patterns.size());
            assertTrue(patterns.get(0).matcher("http://example.com/page1").matches());
            assertFalse(patterns.get(0).matcher("http://other.com/page1").matches());
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 11.5K bytes
    - Click Count (0)
Back to Top