Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 389 for comparison (0.2 sec)

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

          "f" -> fragment = value
          else -> throw IllegalArgumentException("unexpected attribute: $value")
        }
      }
    
      override fun toString(): String = format("Parsing: <%s> against <%s>", input!!, base!!)
    
      companion object {
        fun load(source: BufferedSource): List<WebPlatformUrlTestData> {
          val list = mutableListOf<WebPlatformUrlTestData>()
          while (true) {
            val line = source.readUtf8Line() ?: break
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

    import okhttp3.ConnectionListener
    import okhttp3.ConnectionPool
    import okhttp3.ConnectionSpec
    import okhttp3.Cookie
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.MediaType
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.RealConnection
    
    internal fun parseCookie(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

          val cause = e.cause
          when {
            cause is NullPointerException && cause.message == "ssl == null" -> null
            else -> throw AssertionError(e)
          }
        }
      }
    
      companion object {
        val playProviderFactory: DeferredSocketAdapter.Factory =
          factory("com.google.android.gms.org.conscrypt")
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

    import okhttp3.ConnectionListener
    import okhttp3.FakeDns
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.Route
    import okhttp3.TestValueFactory
    import okhttp3.internal.connection.RouteSelector.Companion.socketHost
    import okhttp3.internal.http.RealInterceptorChain
    import okhttp3.internal.http.RecordingProxySelector
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. docs/fr/docs/benchmarks.md

    Mais en prêtant attention aux tests de performance et aux comparaisons, il faut tenir compte de ce qu'il suit.
    
    ## Tests de performance et rapidité
    
    Lorsque vous vérifiez les tests de performance, il est commun de voir plusieurs outils de différents types comparés comme équivalents.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 27 18:49:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

    import okhttp3.tls.internal.der.ObjectIdentifiers.SUBJECT_ALTERNATIVE_NAME
    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    internal class DerTest {
      @Test fun `decode tag and length`() {
        val buffer =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

    import java.nio.file.SimpleFileVisitor
    import java.nio.file.attribute.BasicFileAttributes
    import java.util.jar.JarEntry
    import java.util.jar.JarOutputStream
    
    
    class PackageListGeneratorIntegrationTest {
    
        companion object {
            private
            val EXPECTED_PACKAGE_LIST = listOf(
                "com/acme",
                "com/foo/internal",
                "javax/servlet/http",
                "org/gradle/fileevents"
            )
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import okhttp3.internal.idn.MappedRange.InlineDelta
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.Test
    
    class MappingTablesTest {
      @Test fun simplifyCombinesMultipleMappings() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.net.URI
    import java.net.URL
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.Test
    
    @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://.
    open class HttpUrlJvmTest {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/SocksProxy.kt

                  }
                }
              }
            } catch (e: IOException) {
              logger.log(Level.WARNING, "$name failed", e)
            }
          }
        }
      }
    
      companion object {
        const val HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS = "onlyProxyCanResolveMe.org"
        private const val VERSION_5 = 5
        private const val METHOD_NONE = 0xff
        private const val METHOD_NO_AUTHENTICATION_REQUIRED = 0
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top