- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 173 for matches2 (0.04 sec)
-
migrator/migrator.go
} else { // has size in data type and not equal // Since the following code is frequently called in the for loop, reg optimization is needed here matches2 := regFullDataType.FindAllStringSubmatch(fullDataType, -1) if !field.PrimaryKey && (len(matches2) == 1 && matches2[0][1] != fmt.Sprint(length) && ok) { alterColumn = true } } } } // check precisionRegistered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Oct 26 12:31:09 UTC 2025 - 29.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
if (excludedPaths != null && excludedPaths.matcher(path).matches()) { if (logger.isDebugEnabled()) { logger.debug("Path {} matches the include/exclude path expression {} on {} of label.", path, excludedPaths, value); } return false; } if (logger.isDebugEnabled()) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
return length; } /** * Checks if the given path matches this pattern. * @param path the path to check * @return true if the path matches, false otherwise */ public boolean matches(final String path) { return regexPattern.matcher(path).find(); } /** * Gets the original pattern string.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
dayOfMonth == -1 && matcher.usePattern(DAY_OF_MONTH_PATTERN).matches() -> { dayOfMonth = matcher.group(1).toInt() } month == -1 && matcher.usePattern(MONTH_PATTERN).matches() -> { val monthString = matcher.group(1).lowercase(Locale.US) month = MONTH_PATTERN.pattern().indexOf(monthString) / 4 // Sneaky! jan=1, dec=12. }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
// Verify patterns work correctly assertTrue(includePatterns.get(0).matcher("http://example.com/page").matches()); assertTrue(excludePatterns.get(0).matcher("http://example.com/admin/users").matches()); assertFalse(excludePatterns.get(0).matcher("http://example.com/page").matches()); urlFilterService.delete(sessionId); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
versionChecks.forEach { (versionMatcher, failureMatcher) -> if (versionMatcher.matches(PlatformVersion) && failureMatcher.matches(e)) { return } } throw e } fun failIfExpected() { versionChecks.forEach { (versionMatcher, failureMatcher) -> if (versionMatcher.matches(PlatformVersion)) { val description = StringDescription()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 15.4K bytes - Viewed (1) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
// Get rule after removal matched = ruleManager.getRule(responseData); assertNull(matched); // No matching rule now // Add rule4 which matches ruleManager.addRule(rule4); matched = ruleManager.getRule(responseData); assertEquals("rule4", matched.getRuleId()); } /** * Test rule replacement scenario */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
if (username.length() > MAX_USERNAME_LENGTH) { throw new IllegalArgumentException("Username exceeds maximum length: " + username.length()); } if (!username.isEmpty() && !VALID_USERNAME.matcher(username).matches()) { throw new IllegalArgumentException("Username contains invalid characters: " + username); } } /** * Validates domain name *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
* @return the extracted value, or null if no match */ protected String getValue(final Pattern pattern, final String line) { final Matcher m = pattern.matcher(line); if (m.matches() && m.groupCount() > 0) { return m.group(1); } return null; } /** * Strips comments from a line (everything after '#' character).Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
private static void checkTryParse(String input) { Double expected = referenceTryParse(input); assertThat(Doubles.tryParse(input)).isEqualTo(expected); if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) { // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava. StringBuilder escapedInput = new StringBuilder(); for (char c : input.toCharArray()) { if (c >= 0x20 && c <= 0x7E) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 30.9K bytes - Viewed (0)