- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for toSet (0.06 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteDatabase.kt
* preferred. */ class RouteDatabase { private val _failedRoutes = mutableSetOf<Route>() val failedRoutes: Set<Route> @Synchronized get() = _failedRoutes.toSet() /** Records a failure connecting to [failedRoute]. */ @Synchronized fun failed(failedRoute: Route) { _failedRoutes.add(failedRoute) } /** Records success connecting to [route]. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
"math", "net", "primitives", "reflect", "util.concurrent", "xml") .transform("com.google.common."::concat) .toSet(); public void testClassesHaveOverrides() throws Exception { for (ClassInfo info : ClassPath.from(getClass().getClassLoader()).getAllClasses()) { if (!GUAVA_PACKAGES.contains(info.getPackageName())) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 03:07:54 UTC 2025 - 5.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
// in this case we have no historical test running time, so we simply add these subprojects into first available bucket val allSubprojectsInBucketJson = buckets.flatMap { it.subprojects.map { it.name } }.toSet() val allSubprojectsInModel = model.subprojects .getSubprojectsForFunctionalTest(testCoverage)
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 10 05:08:24 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
.build() val acceptedIssuers = handshakeCertificates.trustManager.acceptedIssuers val names = acceptedIssuers .map { it.subjectDN.name } .toSet() // It's safe to assume all platforms will have a major Internet certificate issuer. assertThat(names).matchesPredicate { strings -> strings.any { it.matches(Regex("[A-Z]+=Entrust.*")) } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt
Pin("example.com", CertificatePinnerTest.certA1Sha256Pin), Pin("www.example.com", CertificatePinnerTest.certA1Sha256Pin), ) assertEquals(expectedPins, builder.pins) assertEquals(expectedPins.toSet(), certificatePinner.pins) } companion object { internal var certA1: HeldCertificate = HeldCertificate .Builder() .serialNumber(100L) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java
public String toString() { return "JDK[" + getJavaHome() + "]"; } @Override public String findTool(String toolName) { Path toRet = findTool(toolName, Paths.get(getJavaHome()).normalize()); if (toRet != null) { return toRet.toAbsolutePath().toString(); } return null; } private static Path findTool(String toolName, Path installDir) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.6K bytes - Viewed (0)