- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 272 for watcher (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
.findFirst() .orElseThrow(() -> new IOException("Can't find package definition in file " + file)); Matcher matcher = pattern.matcher(packageLine); if (matcher.find()) { return matcher.group(1); } else { throw new IOException("Can't extract package name from file " + file); } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sun Mar 01 05:52:34 GMT 2026 - 11.6K 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 Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/CommonMatcher.java
import com.google.common.annotations.GwtCompatible; /** * The subset of the {@link java.util.regex.Matcher} API which is used by this package, and also * shared with the {@code re2j} library. For internal use only. Please refer to the {@code Matcher} * javadoc for details. */ @GwtCompatible abstract class CommonMatcher { public abstract boolean matches(); public abstract boolean find(); public abstract boolean find(int index);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.2K bytes - Click Count (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
Pattern pidPattern = isWindows() ? WINDOWS_PID_PATTERN : UNIX_PID_PATTERN; psOutput.forEach(line -> { Matcher commandLineArgsMatcher = commandLineArgsPattern.matcher(line); Matcher pidMatcher = pidPattern.matcher(line); if (commandLineArgsMatcher.find() && pidMatcher.find()) { String pid = pidMatcher.group(1); if (!MY_PID.equals(pid)) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
android/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.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
return null; } final Matcher matcher = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE).matcher(value); final StringBuffer buf = new StringBuffer(value.length() + 100); while (matcher.find()) { matcher.appendReplacement(buf, Matcher.quoteReplacement(highlightTagPre + matcher.group(0) + highlightTagPost)); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* https://cs.android.com/android/platform/superproject/+/android-2.3.7_r1:libcore/luni/src/main/java/java/util/regex/Matcher.java;l=550;drc=5850271b4ab93ebc27c1d49169a348c6be3c7f04 */ private static MatchResult createMatchResult() { Matcher matcher = Pattern.compile(".").matcher("X"); matcher.find(); return matcher.toMatchResult(); } private static final ClassToInstanceMap<Object> DEFAULTS =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
CallEnd::class, ) } private fun assertBytesReadWritten( listener: EventRecorder, requestHeaderLength: Matcher<Long?>?, requestBodyBytes: Matcher<Long?>?, responseHeaderLength: Matcher<Long?>?, responseBodyBytes: Matcher<Long?>?, ) { if (requestHeaderLength != null) { val responseHeadersEnd = listener.removeUpToEvent<RequestHeadersEnd>()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (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));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
checkArgument( !separatorPattern.matcher("").matches(), "The pattern may not match the empty string: %s", separatorPattern); return new Splitter( (splitter, toSplit) -> { CommonMatcher matcher = separatorPattern.matcher(toSplit); return new SplittingIterator(splitter, toSplit) { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0)