- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 541 for Platform (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
import okhttp3.internal.applyConnectionSpec import okhttp3.internal.platform.Platform.Companion.isAndroid import okhttp3.testing.PlatformRule import okhttp3.testing.PlatformVersion.majorVersion import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension class ConnectionSpecTest { @RegisterExtension val platform = PlatformRule() @Test fun noTlsVersions() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 14.9K bytes - Click Count (0) -
misc/ios/clangwrap.sh
# build for real iOS devices, change SDK to "iphoneos" and PLATFORM to "ios". # This uses the latest available iOS SDK, which is recommended. To select a # specific SDK, run 'xcodebuild -showsdks' to see the available SDKs and replace # iphonesimulator with one of them. SDK=iphonesimulator PLATFORM=ios-simulator if [ "$GOARCH" == "arm64" ]; then CLANGARCH="arm64" else CLANGARCH="x86_64"
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jun 18 16:32:49 GMT 2024 - 724 bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
@RegisterExtension val clientTestRule = OkHttpClientTestRule() @RegisterExtension val platform = PlatformRule() @StartStop private val server = MockWebServer() @Test fun clientSendsServerNameAndServerReceivesIt() { // java.net.ConnectException: Connection refused platform.assumeNotConscrypt() val handshakeCertificates = localhost()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 6.3K bytes - Click Count (0) -
architecture/standards/0005-introduce-core-ui-architecture-module.md
# ADR-0005 - Introduce a UI architecture module to the core platform ## Date 2024-02-07 ## Context The Gradle core platform provides many services to the Gradle platforms and builds logic. One such group of services allows logic to interact with the build user, to provide diagnostics, progress information, prompt for questions, and so on. Currently, these services are part of the core platform runtime architecture module.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jan 07 08:43:32 GMT 2025 - 1.3K bytes - Click Count (0) -
README.md
With this in place Java builds should fail if apps attempt to use internal packages. ``` error: package okhttp3.internal.platform is not visible okhttp3.internal.platform.Platform.get(); ^ (package okhttp3.internal.platform is declared in module okhttp3, which does not export it to module com.bigco.sdk) ``` The stable public API is based on the list of defined modules:Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 9.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt
* limitations under the License. */ package okhttp3 import java.net.InetAddress import java.net.InetSocketAddress import java.net.Socket import java.net.SocketAddress import okhttp3.internal.platform.Platform /** * A [SocketFactory] that redirects connections to [defaultAddress] or specific overridden address via [set]. */ class SpecificHostSocketFactory( val defaultAddress: InetSocketAddress?,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/PlatformTest.kt
} /** Guard against the default value changing by accident. */ @Test fun defaultPrefix() { assertThat(Platform().getPrefix()).isEqualTo("OkHttp") } @Test fun testToStringIsClassname() { assertThat(Platform().toString()).isEqualTo("Platform") } @Test fun testNotAndroid() { platform.assumeNotAndroid() // This is tautological so just confirms that it runs.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt
import org.junit.jupiter.api.extension.RegisterExtension class Jdk9PlatformTest { @RegisterExtension val platform = PlatformRule() @Test fun buildsWhenJdk9() { platform.assumeJdk9() assertThat(buildIfSupported()).isNotNull() } @Test fun buildsWhenJdk8() { platform.assumeJdk8() try { SSLSocket::class.java.getMethod("getApplicationProtocol")Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0) -
container-tests/build.gradle.kts
} val platform = System.getProperty("okhttp.platform", "jdk9") val testJavaVersion = System.getProperty("test.java.version", "21").toInt() tasks.withType<Test> { useJUnitPlatform() onlyIf("By default not in CI") { System.getenv("CI") == null || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean()) } jvmArgs( "-Dokhttp.platform=$platform", )
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Mar 17 14:46:34 GMT 2024 - 1.1K bytes - Click Count (1) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts
} dependencies { api(platform("gradlebuild:build-platform")) implementation("gradlebuild:gradle-plugin") implementation(localGroovy()) testImplementation("org.spockframework:spock-core") testImplementation("net.bytebuddy:byte-buddy") testImplementation("org.objenesis:objenesis") testRuntimeOnly("org.junit.platform:junit-platform-launcher") }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Apr 11 20:15:47 GMT 2025 - 2.2K bytes - Click Count (0)