Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 863 for Val (0.02 sec)

  1. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

    import org.testcontainers.utility.DockerImageName
    
    @Testcontainers
    class SocksProxyTest {
      val network: Network = Network.newNetwork()
    
      @Container
      val mockServer: MockServerContainer =
        MockServerContainer(MOCKSERVER_IMAGE)
          .withNetwork(network)
          .withNetworkAliases("mockserver")
    
      @Container
      val socks5Proxy =
        GenericContainer(SOCKS5_PROXY)
          .withNetwork(network)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt

        return result
      }
    
      override fun toString(): String = "$tagClass/$tag"
    
      companion object {
        const val TAG_CLASS_UNIVERSAL = 0b0000_0000
        const val TAG_CLASS_APPLICATION = 0b0100_0000
        const val TAG_CLASS_CONTEXT_SPECIFIC = 0b1000_0000
        const val TAG_CLASS_PRIVATE = 0b1100_0000
    
        const val TAG_END_OF_CONTENTS = 0L
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt

    internal
    val JApiClass.simpleName: String
        get() = fullyQualifiedName.substringAfterLast(".")
    
    
    internal
    val JApiClass.packagePath: String
        get() = packageName.replace(".", "/")
    
    
    internal
    val JApiClass.packageName: String
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       */
      @get:JvmName("encodedPathSegments")
      val encodedPathSegments: List<String>
        get() {
          val pathStart = url.indexOf('/', scheme.length + 3)
          val pathEnd = url.delimiterOffset("?#", pathStart, url.length)
          val result = mutableListOf<String>()
          var i = pathStart
          while (i < pathEnd) {
            i++ // Skip the '/'.
            val segmentEnd = url.delimiterOffset('/', i, pathEnd)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         *
         * @param val The string to be interpolated.
         * @param callback The function to resolve variable values.
         * @return The interpolated string, or null if the input was null.
         */
        @Nullable
        default String interpolate(@Nullable String val, @Nullable Function<String, String> callback) {
            return interpolate(val, callback, false);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

      @Test fun comparePlainAndCompactTables() {
        val buffer = Buffer()
        for (codePoint in 0..0x10ffff) {
          val allowedByTable = table.map(codePoint, buffer)
          val tableMappedTo = buffer.readUtf8()
    
          val allowedByCompactTable = compactTable.map(codePoint, buffer)
          val compactTableMappedTo = buffer.readUtf8()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

     * [tls_history]: https://square.github.io/okhttp/tls_configuration_history/
     */
    class ConnectionSpec internal constructor(
      @get:JvmName("isTls") val isTls: Boolean,
      @get:JvmName("supportsTlsExtensions") val supportsTlsExtensions: Boolean,
      internal val cipherSuitesAsString: Array<String>?,
      private val tlsVersionsAsString: Array<String>?,
    ) {
      /**
       * Returns the cipher suites to use for a connection. Returns null if all of the SSL socket's
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

    internal class SequentialExchangeFinder(
      override val routePlanner: RoutePlanner,
    ) : ExchangeFinder {
      override fun find(): RealConnection {
        var firstException: IOException? = null
        while (true) {
          if (routePlanner.isCanceled()) throw IOException("Canceled")
    
          try {
            val plan = routePlanner.plan()
    
            if (!plan.isReady) {
              val tcpConnectResult = plan.connectTcp()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

     */
    class JettyHttpClientTest {
      private val client = HttpClient()
    
      @BeforeEach fun setUp() {
        client.start()
      }
    
      @AfterEach fun tearDown() {
        client.stop()
      }
    
      @Test fun get(server: MockWebServer) {
        server.enqueue(MockResponse(body = "hello, Jetty HTTP Client"))
    
        val request =
          client.newRequest(server.url("/").toUri())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          }
        }
    
        val isAndroid: Boolean
          get() = Platform.Companion.isAndroid
    
        companion object {
          const val PROPERTY_NAME = "okhttp.platform"
          const val CONSCRYPT_PROPERTY = "conscrypt"
          const val CORRETTO_PROPERTY = "corretto"
          const val JDK9_PROPERTY = "jdk9"
          const val JDK8_ALPN_PROPERTY = "jdk8alpn"
          const val JDK8_PROPERTY = "jdk8"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
Back to top