Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 179 for listafp (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        val wildcardRuleLabels = wildcardMatch?.split('.') ?: listOf()
    
        return if (exactRuleLabels.size > wildcardRuleLabels.size) {
          exactRuleLabels
        } else {
          wildcardRuleLabels
        }
      }
    
      companion object {
        private val WILDCARD_LABEL = ByteString.of('*'.code.toByte())
        private val PREVAILING_RULE = listOf("*")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/BuildLogicTest.kt

            }
    
            applyDefaults(
                model,
                this,
                ":build-logic:test -PskipBuildLogicTests=false",
                extraParameters =
                    listOf(
                        stage.getBuildScanCustomValueParam(),
                        buildScanTagParam("BuildLogitTest"),
                        "-Dorg.gradle.java.installations.auto-download=false",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          logFile = File("/tmp/key.log"),
          tlsVersions = tlsVersions,
          launch = launch,
        )
    
      val client =
        OkHttpClient
          .Builder()
          .connectionSpecs(listOf(connectionSpec))
          .eventListenerFactory(eventListenerFactory)
          .build()
    
      fun run() {
        // Launch wireshark in the background
        val process = eventListenerFactory.launchWireShark()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

      val handshakeServerNames: List<String>
        get() =
          (javaNetSocket as? SSLSocket)
            ?.let { Platform.Companion.get().getHandshakeServerNames(it) }
            ?: listOf()
    
      fun shutdownInput() {
        javaNetSocket.shutdownInput()
      }
    
      fun shutdownOutput() {
        javaNetSocket.shutdownOutput()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt

            .isInstanceOf<SSLSocketImpl>()
        }
      }
    
      @Test
      fun testSupportedProtocols() {
        val factory = SSLSocketFactoryImpl()
        val s = factory.createSocket() as SSLSocketImpl
    
        assertEquals(listOf("TLSv1.3", "TLSv1.2"), s.enabledProtocols.toList())
      }
    
      @Test
      @Disabled
      fun testMozilla() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt

      }
    
      @Test
      fun proxySelector() {
        server.enqueue(MockResponse.Builder().body("abc").build())
        val proxySelector: ProxySelector =
          object : ProxySelector() {
            override fun select(uri: URI) = listOf(socksProxy.proxy())
    
            override fun connectFailed(
              uri: URI,
              socketAddress: SocketAddress,
              e: IOException,
            ) = error("unexpected call")
          }
        val client =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/CompileAll.kt

            }
    
            applyDefaults(
                model,
                this,
                "compileAllBuild -PignoreIncomingBuildReceipt=true -DdisableLocalCache=true",
                extraParameters =
                    listOf(
                        stage.getBuildScanCustomValueParam(),
                        buildScanTagParam("CompileAll"),
                        "-Dorg.gradle.java.installations.auto-download=false",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        hpackWriter!!.writeHeaders(listOf(Header("far", "boo")))
        assertBytes(0x40, 3, 'f'.code, 'a'.code, 'r'.code, 3, 'b'.code, 'o'.code, 'o'.code)
      }
    
      @Test
      fun noDynamicTableSizeUpdateWhenSizeIsEqual() {
        val currentSize = hpackWriter!!.headerTableSizeSetting
        hpackWriter!!.resizeHeaderTable(currentSize)
        hpackWriter!!.writeHeaders(listOf(Header("foo", "bar")))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/BucketExtensions.kt

        canRunTogether: (T, T) -> Boolean = { _, _ -> true },
    ): List<R> {
        if (list.isEmpty()) {
            return noElementSplitFunction(expectedBucketNumber)
        }
        if (expectedBucketNumber == 1) {
            return listOf(smallElementAggregateFunction(list))
        }
    
        val roughSizeOfEachBucket = list.sumOf(toIntFunction) / expectedBucketNumber
        if (roughSizeOfEachBucket == 0) {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. build.gradle.kts

          toolVersion = rootProject.libs.versions.checkStyle.get()
          sourceSets = listOf(project.sourceSets["main"])
        }
    
        // Animal Sniffer confirms we generally don't use APIs not on Java 8.
        configure<AnimalSnifferExtension> {
          annotation = "okhttp3.internal.SuppressSignatureCheck"
          sourceSets = listOf(project.sourceSets["main"])
          signatures = androidSignature + jvmSignature
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top