- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 528 for Matcher (1.63 sec)
-
android/guava/src/com/google/common/net/MediaType.java
checkState(position != startPosition); return token; } char consumeCharacter(CharMatcher matcher) { checkState(hasMore()); char c = previewChar(); checkState(matcher.matches(c)); position++; return c; } @CanIgnoreReturnValue char consumeCharacter(char c) { checkState(hasMore());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 02 01:46:40 UTC 2025 - 48K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt
require(!fileContent.contains("'''")) { "The class with class='autoTested' can't contains triple quotes: $relativePath" } if (!sampleStart.matcher(fileContent).find()) { return } val className = relativePath.substringAfterLast("/").replace(".groovy", "AutoTestedSamplesTest").replace(".java", "AutoTestedSamplesTest")
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Dec 19 06:44:41 UTC 2025 - 3.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java
metadata.merge(new Metadata()); String dateAfter = gregorianDate(); String ts = metadata.metadata.getVersioning().getSnapshot().getTimestamp(); String datePart = DATE_FILTER.matcher(ts).replaceAll(""); /* Allow for this test running across midnight */ Set<String> expected = new HashSet<>(Arrays.asList(dateBefore, dateAfter));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java
scriptType = ComponentUtil.getFessConfig().getCrawlerDefaultScript(); } /** * Determines if the given document data matches the configured match expression. * * @param map the document data as a map of field names to values * @return true if the document matches the expression, false otherwise */ public boolean match(final Map<String, Object> map) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
* Returns a predicate that evaluates to {@code true} if the {@code CharSequence} being tested * contains any match for the given regular expression pattern. The test used is equivalent to * {@code Pattern.compile(pattern).matcher(arg).find()} * * @throws IllegalArgumentException if the pattern is invalid * @since 3.0 */ @GwtIncompatible // Only used by other GWT-incompatible code.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java
* The default implementation returns an empty list. */ default List<String> excludes() { return List.of(); } /** * {@return a matcher combining the include and exclude patterns} * If the user did not specify any includes, the given {@code defaultIncludes} are used. * These defaults depend on the plugin.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 14.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
} } private static String parseSourceLang(String lineTrimmed) { var m = SOURCE_LANG_PATTERN.matcher(lineTrimmed); if (m.matches()) { return m.group(1).toLowerCase(Locale.ROOT); } return null; } private static Language deduceLanguage(String sourceLang) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Aug 29 10:12:17 UTC 2025 - 7.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
String line = currentColor + lines[i]; // look for last ANSI escape sequence to check if nextColor Matcher matcher = LAST_ANSI_SEQUENCE.matcher(line); String nextColor = ""; if (matcher.find()) { nextColor = matcher.group(1); if (ANSI_RESET.equals(nextColor)) { // last ANSI escape code is reset: no next color
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 78.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
KerberosAuthData mockAuthData2 = mock(KerberosAuthData.class); // Mock the parse method to return two different objects based on input // Must use matchers for all arguments when using any matcher mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(1), eq(new byte[] { 0x01 }), any(Map.class))) .thenReturn(Collections.singletonList(mockAuthData1));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
private static int getRelationOrder(String value, RangeValue rangeValue, boolean isLeft) { if (rangeValue.value.length() <= 0) { return isLeft ? 1 : -1; } value = FILTER_1.matcher(value).replaceAll(""); List<String> valueTokens = new ArrayList<>(Arrays.asList(FILTER_2.split(value))); List<String> rangeValueTokens = new ArrayList<>(Arrays.asList(FILTER_3.split(rangeValue.value)));Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 6.6K bytes - Viewed (0)