Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 738 for eval (0.04 sec)

  1. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

    fun conscrypt(ianaSuites: IanaSuites): Client {
      val version = Conscrypt.version()
      return systemDefault(
        name = "Conscrypt",
        version = "${version.major()}.${version.minor()}",
        ianaSuites = ianaSuites,
      )
    }
    
    fun systemDefault(
      name: String,
      version: String,
      ianaSuites: IanaSuites,
    ): Client {
      val socketFactory = SSLSocketFactory.getDefault() as SSLSocketFactory
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. container-tests/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    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",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. okhttp-sse/src/test/java/okhttp3/sse/internal/Event.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sse.internal
    
    internal data class Event(
      val id: String?,
      val type: String?,
      val data: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 720 bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTableData.kt

     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    /** Recipe to build an `IdnaMappingTable`. */
    class IdnaMappingTableData(
      val sections: String,
      val ranges: String,
      val mappings: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 02 11:21:58 UTC 2023
    - 777 bytes
    - Viewed (0)
  5. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersions.kt

     * limitations under the License.
     */
    
    package gradlebuild.identity.model
    
    
    data class ReleasedVersions(
        val latestReleaseSnapshot: ReleasedVersion,
        val latestRc: ReleasedVersion,
        val finalReleases: List<ReleasedVersion>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 813 bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/ReleasedVersions.kt

     * limitations under the License.
     */
    
    package gradlebuild.buildutils.model
    
    
    data class ReleasedVersions(
        val latestReleaseSnapshot: ReleasedVersion,
        val latestRc: ReleasedVersion,
        val finalReleases: List<ReleasedVersion>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 815 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

        if (matchesSocket(sslSocket)) {
          val bcSocket = sslSocket as BCSSLSocket
    
          val sslParameters = bcSocket.parameters
    
          // Enable ALPN.
          sslParameters.applicationProtocols = Platform.alpnProtocolNames(protocols).toTypedArray()
    
          bcSocket.parameters = sslParameters
        }
      }
    
      companion object {
        val factory =
          object : DeferredSocketAdapter.Factory {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

     */
    open class DelegatingServerSocketFactory(private val delegate: ServerSocketFactory) : ServerSocketFactory() {
      @Throws(IOException::class)
      override fun createServerSocket(): ServerSocket {
        val serverSocket = delegate.createServerSocket()
        return configureServerSocket(serverSocket)
      }
    
      @Throws(IOException::class)
      override fun createServerSocket(port: Int): ServerSocket {
        val serverSocket = delegate.createServerSocket(port)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        }
    
        val sessionIds = mutableListOf<String>()
    
        enableTls()
    
        val tlsVersion = TlsVersion.forJavaName(tlsVersion)
        val spec =
          ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
            .tlsVersions(tlsVersion)
            .build()
    
        var reuseSession = false
    
        val sslContext = handshakeCertificates.sslContext()
        val systemSslSocketFactory = sslContext.socketFactory
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

        }
    }
    
    // publish plugin to local repository for integration testing -----------------
    // See AbstractPluginTest
    val localRepository = layout.buildDirectory.dir("repository")
    
    val publishPluginsToTestRepository by tasks.registering {
        dependsOn("publishPluginMavenPublicationToTestRepository")
        val repoDir = localRepository // Prevent capturing the Gradle script instance for configuration cache compatibility
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 08 14:54:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top