- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 106 for matcher (0.06 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
/** * {@return whether the given matcher includes all files}. * This method may conservatively returns {@code false} if case of doubt. * A return value of {@code true} means that the pattern is certain to match all files. * * @param matcher the matcher to test */ default boolean isIncludesAll(@Nonnull PathMatcher matcher) { return Objects.requireNonNull(matcher) == includesAll(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Jul 21 19:37:56 GMT 2025 - 7.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java
RequirementMatcher matcher; matcher = RequirementMatcherFactory.createVersionMatcher("1.5.2"); assertFalse(matcher.matches("1.5")); assertTrue(matcher.matches("1.5.2")); assertFalse(matcher.matches("[1.4,1.5)")); assertFalse(matcher.matches("[1.5,1.5.2)")); assertFalse(matcher.matches("(1.5.2,1.6)")); assertTrue(matcher.matches("(1.4,1.5.2]"));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 2.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java
} RequirementMatcher matcher; if ("version".equals(key)) { matcher = RequirementMatcherFactory.createVersionMatcher(value); } else { matcher = RequirementMatcherFactory.createExactMatcher(value); } jtc.addProvideToken(key, matcher); } // populate the configuration sectionCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 12 13:13:28 GMT 2025 - 4.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.3K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt
private val excludePackagePatterns = listOf(Pattern.compile(".+\\.internal(\\..+)?")) fun isPublicApiPackage(packageName: String) = includePackagePatterns.any { it.matcher(packageName).matches() } && !excludePackagePatterns.any { it.matcher(packageName).matches() }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jun 12 23:20:08 GMT 2024 - 2.4K bytes - Click Count (0) -
internal/s3select/sql/stringfuncs.go
} return string(s) == text, nil } // matcher - Finds `pat` in `text`, and returns the part remainder of // `text`, after the match. If leadingPercent is false, `pat` must be // the prefix of `text`, otherwise it must be a substring. func matcher(text, pat string, leadingPercent bool) (res string, match bool) { if !leadingPercent { res = strings.TrimPrefix(text, pat)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 4.2K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
if (lastHyphen > 0) { int prevHyphen = version.lastIndexOf('-', lastHyphen - 1); if (prevHyphen > 0) { Matcher m = Artifact.VERSION_FILE_PATTERN.matcher(version); if (m.matches()) { return m.group(1) + "-" + Artifact.SNAPSHOT_VERSION; } } } return version; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.9K bytes - Click Count (0) -
internal/s3select/sql/stringfuncs_test.go
{"abcd", "bc", false, "", false}, {"abcd", "bc", true, "d", true}, } for i, tc := range matcherCases { res, ok := matcher(tc.iText, tc.iPat, tc.iHasLeadingPercent) if res != tc.resultExpected || ok != tc.matchExpected { t.Errorf("Matcher Case %d failed", i) } } evalCases := []struct { iText, iPat string iEsc rune matchExpected bool errExpected error }{Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 3.1K bytes - Click Count (0)