- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 508 for pattern (0.06 sec)
-
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
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java
} /** * Adds an include URL pattern for the specified session. * @param sessionId the session ID * @param url the URL pattern to include */ public synchronized void addIncludeUrlPattern(final String sessionId, final String url) { final List<Pattern> patternList = getIncludeUrlPatternList(sessionId); patternList.add(Pattern.compile(url)); } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/PatternConcatenationFilterFactory.java
logger.debug("pattern1: {}, pattern2: {}", pattern1Str, pattern2Str); } if (pattern1Str != null) { pattern1 = Pattern.compile(pattern1Str); pattern2 = Pattern.compile(pattern2Str); } } @Override public TokenStream create(final TokenStream tokenStream) { return new PatternConcatenationFilter(tokenStream, pattern1, pattern2); }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 1.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
} int current = 0; boolean added = false; final Map<Pattern, CrawlerClient> newClientMap = new LinkedHashMap<>(); for (final Map.Entry<Pattern, CrawlerClient> entry : clientMap.entrySet()) { if (pos == current) { newClientMap.put(Pattern.compile(regex), client); added = true; }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java
final List<Pattern> includeList = getUrlFilterService().getIncludeUrlPatternList(sessionId); final List<Pattern> excludeList = getUrlFilterService().getExcludeUrlPatternList(sessionId); if (!includeList.isEmpty()) { boolean match = false; for (final Pattern pattern : includeList) { final Matcher matcher = pattern.matcher(url);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java
* @param regex the regular expression pattern */ public void addRule(final String key, final String regex) { regexMap.put(key, Pattern.compile(regex)); } /** * Adds a compiled regular expression rule for the specified field. * @param key the field name to match against * @param pattern the compiled regular expression pattern */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
} /** * Converts a pattern string to a plain pattern string without delimiters. * * @param pattern the pattern string * @return the plain pattern string without delimiters */ protected static String toPlainPattern(final String pattern) { final StringBuilder buf = new StringBuilder(pattern.length()); for (int i = 0; i < pattern.length(); ++i) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 19.6K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java
} /** * Gets the list of include URL patterns for the specified session. * * @param sessionId The session ID. * @return The list of compiled include patterns. * @throws CrawlerSystemException if the patterns cannot be loaded. */ @Override public List<Pattern> getIncludeUrlPatternList(final String sessionId) { try {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 9.2K bytes - Viewed (0) -
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 {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
* The user-agent pattern in the directive is converted to a regular expression pattern, * where '*' is replaced with '.*' for pattern matching, and stored case-insensitively. * * @param directive The directive to add to the robots.txt rules */ public void addDirective(final Directive directive) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10K bytes - Viewed (0)