Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,222 for rval (0.03 seconds)

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

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class InsecureForHostTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @RegisterExtension @JvmField
      val clientTestRule = OkHttpClientTestRule()
    
      @StartStop
      private val server = MockWebServer()
    
      @BeforeEach
      fun setup() {
        // BCX509ExtendedTrustManager not supported in TlsUtil.newTrustManager
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

    }
    
    object Standard : SocketMode() {
      override fun toString(): String = "Standard"
    }
    
    data class TlsInstance(
      val provider: Provider,
      val protocol: Protocol,
      val tlsVersion: TlsVersion,
      val socketMode: SocketMode,
      val tlsExtensionMode: TlsExtensionMode,
    ) : SocketMode() {
      override fun toString(): String = "$provider/$protocol/$tlsVersion/$socketMode/$tlsExtensionMode"
    }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

        rootVariant: ResolvedVariantResult
    ): Set<ComponentIdentifier> {
        val locallyAccessible = mutableSetOf<ComponentIdentifier>()
        val externallyAccessible = mutableSetOf<ComponentIdentifier>()
    
        val seen = mutableSetOf<ResolvedVariantResult>()
        val queue = ArrayDeque<DependencyResult>()
    
        val rootDependencies = rootComponent.getDependenciesForVariant(rootVariant)
        seen.add(rootVariant)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri May 16 18:26:52 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

        fun minify(artifact: File, keepClasses: Set<String>, jarFile: File): File {
            val tempDirectory = java.nio.file.Files.createTempDirectory(jarFile.name).toFile()
            val classesDir = tempDirectory.resolve("classes")
            val manifestFile = tempDirectory.resolve("MANIFEST.MF")
            val buildReceiptFile = tempDirectory.resolve("build-receipt.properties")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 11:46:45 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

     * IP address, and TLS mode. Connections may also be recycled.
     */
    class RouteSelector internal constructor(
      private val address: Address,
      private val routeDatabase: RouteDatabase,
      private val call: RealCall,
      private val fastFallback: Boolean,
    ) {
      // State for negotiating the next proxy to use.
      private var proxies = emptyList<Proxy>()
      private var nextProxyIndex: Int = 0
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

    class CallHandshakeTest {
      private lateinit var client: OkHttpClient
    
      @StartStop
      private val server = MockWebServer()
    
      @RegisterExtension
      @JvmField
      val clientTestRule = OkHttpClientTestRule()
    
      @RegisterExtension
      @JvmField
      var platform = PlatformRule()
    
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Sep 16 07:21:43 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt

          )
      }
    
      @Test
      fun chainMaxLength() {
        val heldCertificates = chainOfLength(10)
        val certificates: MutableList<Certificate> = ArrayList()
        for (heldCertificate in heldCertificates) {
          certificates.add(heldCertificate.certificate)
        }
        val root = heldCertificates[heldCertificates.size - 1].certificate
        val cleaner = get(root)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 9.5K bytes
    - Click Count (1)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        }
        val jvm = org.gradle.internal.jvm.Jvm.current()
        val javaVersion = JavaVersion.current()
        val isWindows = OperatingSystem.current().isWindows
        val isLinux = OperatingSystem.current().isLinux
        val isMacOsX = OperatingSystem.current().isMacOsX
        val isIntel: Boolean = architecture == "x86_64" || architecture == "x86"
        val isSlowInternetConnection
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Dec 21 08:58:33 GMT 2024
    - 4.7K bytes
    - Click Count (1)
  9. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

       */
      public val target: String,
      /** A string like `HTTP/1.1` or `HTTP/2`. */
      public val version: String,
      /** The request URL built using the request line, headers, and local host name. */
      public val url: HttpUrl,
      /** All headers. */
      public val headers: Headers,
      /** The body of this request, or null if it has none. This may be truncated. */
      public val body: ByteString?,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 3.2K bytes
    - Click Count (1)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

        ).isEqualTo(20L)
      }
    
      @Test fun addDate() {
        val expected = Date(0L)
        val headers =
          Headers
            .Builder()
            .add("testDate", expected)
            .build()
        assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT")
        assertThat(headers.getDate("testDate")).isEqualTo(Date(0L))
      }
    
      @Test fun addInstant() {
        val expected = Instant.ofEpochMilli(0L)
        val headers =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top