Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for parare (0.22 sec)

  1. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

    import okhttp3.internal.http2.hpackjson.Case
    import okhttp3.internal.http2.hpackjson.Story
    import okio.Buffer
    import org.junit.jupiter.api.Assumptions.assumeFalse
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    /**
     * Tests for round-tripping headers through hpack.
     *
     * TODO: update hpack-test-case with the output of our encoder.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. gradle/libs.versions.toml

    junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "org-junit-jupiter" }
    junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "org-junit-jupiter" }
    junit-platform-console = "org.junit.platform:junit-platform-console:1.10.2"
    junit-vintage-engine = "org.junit.vintage:junit-vintage-engine:5.10.2"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 22 19:34:32 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeInteropTest.kt

    import okhttp3.SimpleProvider
    import okhttp3.internal.http2.hpackjson.HpackJsonUtil
    import okhttp3.internal.http2.hpackjson.Story
    import org.junit.jupiter.api.Assumptions.assumeFalse
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    class HpackDecodeInteropTest : HpackDecodeTestBase() {
      @ParameterizedTest
      @ArgumentsSource(StoriesTestProvider::class)
      fun testGoodDecoderInterop(story: Story) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionLifecycleTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.TestInfo
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ValueSource
    
    class ExtensionLifecycleTest(
      server: MockWebServer,
    ) {
      init {
        assertThat(server).isSameInstanceAs(staticServer)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 11 12:12:36 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/TestTls13Request.kt

      try {
        for (url in urls) {
          sendRequest(client, url)
        }
      } finally {
        client.dispatcher.executorService.shutdownNow()
        client.connectionPool.evictAll()
      }
    }
    
    private fun buildClient(vararg specs: ConnectionSpec): OkHttpClient {
      return OkHttpClient.Builder()
        .connectionSpecs(listOf(*specs))
        .build()
    }
    
    private fun sendRequest(
      client: OkHttpClient,
      url: String,
    ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

    import okhttp3.HttpUrl.Companion.defaultPort
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okio.buffer
    import okio.source
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    /** Runs the web platform URL tests against Java URL models.  */
    class WebPlatformUrlTest {
      class TestDataParamProvider : SimpleProvider() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/build.gradle.kts

    }
    
    dependencies {
      api(libs.squareup.okio)
      api(libs.squareup.kotlinPoet)
      testImplementation(libs.assertk)
      testImplementation(libs.junit.jupiter.api)
      testImplementation(libs.junit.jupiter.params)
    }
    
    animalsniffer {
      isIgnoreFailures = true
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue May 02 11:21:58 GMT 2023
    - 309 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Headers.kt

         */
        @JvmStatic
        @JvmName("of")
        fun headersOf(vararg namesAndValues: String): Headers = commonHeadersOf(*namesAndValues)
    
        @JvmName("-deprecated_of")
        @Deprecated(
          message = "function name changed",
          replaceWith = ReplaceWith(expression = "headersOf(*namesAndValues)"),
          level = DeprecationLevel.ERROR,
        )
        fun of(vararg namesAndValues: String): Headers {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

         * Pins certificates for `pattern`.
         *
         * @param pattern lower-case host name or wildcard pattern such as `*.example.com`.
         * @param pins SHA-256 or SHA-1 hashes. Each pin is a hash of a certificate's Subject Public Key
         *     Info, base64-encoded and prefixed with either `sha256/` or `sha1/`.
         */
        fun add(
          pattern: String,
          vararg pins: String,
        ) = apply {
          for (pin in pins) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

    import okhttp3.internal.UTC
    
    /** The last four-digit year: "Fri, 31 Dec 9999 23:59:59 GMT". */
    internal const val MAX_DATE = 253402300799999L
    
    /**
     * Most websites serve cookies in the blessed format. Eagerly create the parser to ensure such
     * cookies are on the fast path.
     */
    private val STANDARD_DATE_FORMAT =
      object : ThreadLocal<DateFormat>() {
        override fun initialValue(): DateFormat {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top