Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 541 for Platform (0.68 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    
    /** Runs the web platform ToAscii tests. */
    class WebPlatformToAsciiTest {
      @Suppress("ktlint:standard:max-line-length")
      val knownFailures =
        setOf(
          // OkHttp rejects empty labels.
          "x..xn--zca",
          "x..ß",
          // OkHttp rejects labels longer than 63 code points, the web platform tests don't.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/ConscryptTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isTrue
    import okhttp3.TestUtil.assumeNetwork
    import okhttp3.internal.platform.ConscryptPlatform
    import okhttp3.internal.platform.Platform
    import okhttp3.testing.PlatformRule
    import org.conscrypt.Conscrypt
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertTrue
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  3. build-logic/kotlin-dsl-shared-runtime/build.gradle.kts

    plugins {
        id("gradlebuild.kotlin-shared-runtime")
    }
    
    description = "Provides Kotlin DSL code that is shared between build-logic and runtime"
    
    dependencies {
        compileOnly(platform("gradlebuild:build-platform"))
        compileOnly(kotlin("stdlib"))
        compileOnly("org.ow2.asm:asm-tree")
        compileOnly("com.google.code.findbugs:jsr305")
        compileOnly("org.jspecify:jspecify")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 385 bytes
    - Click Count (0)
  4. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import android.content.Context
    import android.os.Build
    import java.lang.IllegalStateException
    import okhttp3.internal.platform.android.AndroidLog
    
    actual object PlatformRegistry {
      actual fun findPlatform(): Platform {
        AndroidLog.enable()
    
        val androidPlatform =
          Android10Platform.buildIfSupported()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformInitializer.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import android.content.Context
    import androidx.startup.Initializer
    
    /**
     * Androidx Startup initializer to ensure that the AndroidPlatform has access to the application context.
     */
    class PlatformInitializer : Initializer<Platform> {
      override fun create(context: Context): Platform {
        PlatformRegistry.applicationContext = context
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Dec 31 14:50:53 GMT 2024
    - 1K bytes
    - Click Count (1)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.java-shared-runtime.gradle.kts

    }
    
    testing {
        suites {
            val test by getting(JvmTestSuite::class) {
                useSpock()
                dependencies {
                    implementation(platform("gradlebuild:build-platform"))
                }
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jan 22 14:28:13 GMT 2025
    - 699 bytes
    - Click Count (0)
  7. ci/official/envs/rbe

    # Enables RBE as long as RBE is available for the selected platform.
    # The "selected" platform is considered to be
    # TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX. "Available" means there is
    # an entry in tensorflow/.bazelrc for build:rbe_TFCI_BAZEL_TARGET...
    #                                           ^^^^
    # This env is only valid when RBE is available on the selected platform, since
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Aug 09 16:05:18 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  8. gradle/libs.versions.toml

    #noinspection UnusedVersionCatalogEntry
    junit-platform-console = { module = "org.junit.platform:junit-platform-console", version.ref = "junit-platform" }
    #noinspection UnusedVersionCatalogEntry
    junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher", version.ref = "junit-platform" }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 19 22:05:50 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

    import java.util.concurrent.CountDownLatch
    import javax.net.ssl.SSLSocket
    import okhttp3.Handshake
    import okhttp3.Handshake.Companion.handshake
    import okhttp3.internal.connection.BufferedSocket
    import okhttp3.internal.platform.Platform
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.ForwardingSink
    import okio.ForwardingSource
    import okio.asOkioSocket
    import okio.buffer
    
    /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt

    class OpenJSSETest {
      @JvmField @RegisterExtension
      var platform = PlatformRule()
    
      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      var client = clientTestRule.newClient()
    
      @StartStop
      private val server = MockWebServer()
    
      @BeforeEach
      fun setUp() {
        platform.assumeOpenJSSE()
      }
    
      @Test
      fun testTlsv13Works() {
        enableTls()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top