- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 227 for matches2 (0.09 seconds)
-
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 precisionCreated: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:31:09 GMT 2025 - 29.7K bytes - Click Count (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()) {
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.8K bytes - Click Count (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.Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 18.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
inline fun <reified T> inAnyOrder(items: List<T>): Matcher<Iterable<T>> = inAnyOrder(items.toTypedArray()) /** * Matcher checking each item is present exactly once in a given iterable, but an any position, * and that there are no unexpected items. */ private fun <T> inAnyOrder(items: Array<out T>): Matcher<Iterable<T>> = Matchers.containsInAnyOrder(*items)
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 18K bytes - Click Count (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); }Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 11.4K bytes - Click Count (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. }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 23.1K bytes - Click Count (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()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 15.4K bytes - Click Count (1) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
findAnnotations(methodDeclaration, methodMetaData); extractParameters(methodDeclaration, methodMetaData); Matcher matcher = GETTER_METHOD_NAME.matcher(name); if (matcher.matches()) { int startName = matcher.start(2); String propName = name.substring(startName, startName + 1).toLowerCase(Locale.ROOT) + name.substring(startName + 1);Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 19 15:07:24 GMT 2024 - 11.8K bytes - Click Count (0) -
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 */Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 23.8K bytes - Click Count (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 *
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0)