- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 366 for matched (0.08 seconds)
-
okhttp/src/commonTest/kotlin/okhttp3/OkHttpTest.kt
package okhttp3 import assertk.assertThat import assertk.assertions.matches import org.junit.jupiter.api.Test class OkHttpTest { @Test fun testVersion() { assertThat(OkHttp.VERSION).matches(Regex("[0-9]+\\.[0-9]+\\.[0-9]+(-.+)?")) }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 247 bytes - Click Count (0) -
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 Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 02 14:18:24 GMT 2025 - 10.4K bytes - Click Count (0) -
misc/ios/detect.go
for _, line := range lines { if len(line) == 0 { continue } xmlLines := getLines(parseMobileProvision(string(line))) matches := 0 for _, udid := range udids { for _, xmlLine := range xmlLines { if bytes.Contains(xmlLine, udid) { matches++ } } } if matches == len(udids) { files = append(files, string(line)) } } return files }Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.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 Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
// Remove child groupId if it matches parent groupId if (childGroupId != null && Objects.equals(childGroupId, parentGroupId)) { Element childGroupIdElement = root.child(GROUP_ID).orElse(null); if (childGroupIdElement != null) { DomUtils.removeElement(childGroupIdElement); context.detail("Removed: child groupId (matches parent)"); hasChanges = true;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.6K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
override fun matches(header: DerHeader): Boolean = true override fun fromDer(reader: DerReader): Pair<DerAdapter<*>, Any?> { val peekedHeader = reader.peekHeader() ?: throw ProtocolException("expected a value at $reader") val choice = choices.firstOrNull { it.matches(peekedHeader) } ?: throw ProtocolException(Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15K bytes - Click Count (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt
ianaSuites.suites.sortedBy { ianaSuite -> val index = orderBy.indexOfFirst { it.matches(ianaSuite) } if (index == -1) Integer.MAX_VALUE else index } for (suiteId in sortedSuites) { print(suiteId.name) for (client in clients) { print("\t") val index = client.enabled.indexOfFirst { it.matches(suiteId) } if (index != -1) { print(index + 1) } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Apr 02 01:44:15 GMT 2024 - 1.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* in Android) requires a successful match in order to generate a {@code MatchResult}: * 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");Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java
* Determines if the OS on which Maven is executing matches the * given OS family. * * @param family the family to check for * @return true if the OS matches * */ public static boolean isFamily(String family) { return isFamily(family, OS_NAME); } /** * Determines if the OS on which Maven is executing matches the * given OS family derived from the given OS nameCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 7.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcherFactory.java
private String provides; private ExactMatcher(String provides) { this.provides = provides; } @Override public boolean matches(String requirement) { return provides.equalsIgnoreCase(requirement); } @Override public String toString() { return provides; } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 12 13:13:28 GMT 2025 - 2.7K bytes - Click Count (0)