Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for val (0.01 sec)

  1. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        headers = mapOf("" to "").toHeaders()
        val get: String? = headers[""]
        val date: Date? = headers.getDate("")
        val instant: Instant? = headers.getInstant("")
        val size: Int = headers.size
        val name: String = headers.name(0)
        val value: String = headers.value(0)
        val names: Set<String> = headers.names()
        val values: List<String> = headers.values("")
        val byteCount: Long = headers.byteCount()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    }
    
    
    object BuildParams {
        const val BUILD_BRANCH = "BUILD_BRANCH"
        const val BUILD_COMMIT_ID = "BUILD_COMMIT_ID"
        const val BUILD_COMMIT_DISTRIBUTION = "buildCommitDistribution"
        const val BUILD_FINAL_RELEASE = "finalRelease"
        const val BUILD_ID = "BUILD_ID"
        const val BUILD_IGNORE_INCOMING_BUILD_RECEIPT = "ignoreIncomingBuildReceipt"
        const val BUILD_MILESTONE_NUMBER = "milestoneNumber"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val agp = "com.android.tools.build:gradle"
        val ansiControlSequenceUtil = "net.rubygrapefruit:ansi-control-sequence-util"
        val ant = "org.apache.ant:ant"
        val antJunit = "org.apache.ant:ant-junit"
        val antLauncher = "org.apache.ant:ant-launcher"
        val asm = "org.ow2.asm:asm"
        val asmAnalysis = "org.ow2.asm:asm-analysis"
        val asmCommons = "org.ow2.asm:asm-commons"
        val asmTree = "org.ow2.asm:asm-tree"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 08:06:17 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        val keystoreType = if (platform.isJdk9()) "JKS" else null
        val x509KeyManager = newKeyManager(keystoreType, heldCertificate, *intermediates)
        val trustManager =
          newTrustManager(
            keystoreType,
            emptyList(),
            emptyList(),
          )
        val sslContext = get().newSSLContext()
        sslContext.init(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

    class ConnectionPoolTest {
      private val routePlanner = FakeRoutePlanner()
      private val factory = routePlanner.factory
      private val taskFaker = routePlanner.taskFaker
      private val peer = MockHttp2Peer()
    
      /** The fake task runner prevents the cleanup runnable from being started.  */
      private val addressA = factory.newAddress("a")
      private val routeA1 = factory.newRoute(addressA)
      private val addressB = factory.newAddress("b")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

      private val organizationName = "2.5.4.10"
      private val businessCategory = "2.5.4.15"
      private val subjectKeyIdentifier = "2.5.29.14"
      private val keyUsage = "2.5.29.15"
      private val crlDistributionPoints = "2.5.29.31"
      private val certificatePolicies = "2.5.29.32"
      private val authorityKeyIdentifier = "2.5.29.35"
      private val extendedKeyUsage = "2.5.29.37"
    
      @Test
      fun `decode simple certificate`() {
        val certificateBase64 =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

    import okhttp3.RequestBody.Companion.toRequestBody
    
    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
        val request = Request(server.url("/"))
        val response = client.newCall(request).execute()
        response.body.close()
    
        // This client shares a connection pool but has a different SSL socket factory.
        val handshakeCertificates2 = HandshakeCertificates.Builder().build()
        val anotherClient =
          client.newBuilder()
            .sslSocketFactory(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        server!!.enqueue(MockResponse(body = "abc"))
        ProxySelector.setDefault(null)
        val client = clientTestRule.newClient()
        val request = Request(server!!.url("/"))
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("abc")
      }
    
      @Test fun sslSocketFactorySetAsSocketFactory() {
        val builder = OkHttpClient.Builder()
        assertFailsWith<IllegalArgumentException> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        val tls_compression_supported: Boolean,
        val ephemeral_keys_supported: Boolean,
        val rating: String,
        val tls_version: String,
        val able_to_detect_n_minus_one_splitting: Boolean,
        val insecure_cipher_suites: Map<String, List<String>>,
        val given_cipher_suites: List<String>?,
      )
    
      @Test
      @Disabled
      fun testSSLFeatures() {
        assumeNetwork()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top