Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 541 for platforms (0.05 seconds)

  1. okhttp/src/jvmMain/kotlin/okhttp3/internal/graal/GraalSvm.kt

    import com.oracle.svm.core.annotate.TargetClass
    import okhttp3.internal.platform.BouncyCastlePlatform
    import okhttp3.internal.platform.ConscryptPlatform
    import okhttp3.internal.platform.Jdk8WithJettyBootPlatform
    import okhttp3.internal.platform.Jdk9Platform
    import okhttp3.internal.platform.OpenJSSEPlatform
    import okhttp3.internal.platform.Platform
    
    @TargetClass(BouncyCastlePlatform::class)
    @Delete
    class TargetBouncyCastlePlatform
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

    import okhttp3.internal.connection.asBufferedSocket
    import okhttp3.internal.http2.Header
    import okhttp3.internal.http2.Http2Connection
    import okhttp3.internal.http2.Http2Stream
    import okhttp3.internal.platform.Platform
    import okhttp3.tls.internal.TlsUtil.localhost
    import okio.buffer
    import okio.source
    
    /** A basic HTTP/2 server that serves the contents of a local directory.  */
    class Http2Server(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top