Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for xlarge (0.16 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          .isEqualTo(bytes)
        assertThat(CertificateAdapters.extension.fromDer(bytes))
          .isEqualTo(extension)
      }
    
      /** Tags larger than 30 are a special case. */
      @Test fun `large tag`() {
        val bytes = "df83fb6800".decodeHex()
    
        val adapter = Adapters.NULL.withTag(tagClass = DerHeader.TAG_CLASS_PRIVATE, tag = 65_000L)
        assertThat(adapter.toDer(null)).isEqualTo(bytes)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  2. docs/features/events.md

    Events
    ======
    
    Events allow you to capture metrics on your application’s HTTP calls. Use events to monitor:
    
     * The size and frequency of the HTTP calls your application makes. If you’re making too many calls, or your calls are too large, you should know about it!
     * The performance of these calls on the underlying network. If the network’s performance isn’t sufficient, you need to either improve the network or use less of it.
    
    ### EventListener
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

     *  New: Change `HeldCertificate.Builder` to use its own ASN.1 certificate encoder. This is part
        of our effort to remove the okhttp-tls module's dependency on Bouncy Castle. We think Bouncy
        Castle is great! But it's a large dependency (6.5 MiB) and its security provider feature
        impacts VM-wide behavior.
    
     *  New: Reduce contention for applications that make a very high number of concurrent requests.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            server.requestCount == 3 && server.takeRequest().sequenceNumber == 0,
        ).isTrue()
      }
    
      internal enum class WriteKind {
        BYTE_BY_BYTE,
        SMALL_BUFFERS,
        LARGE_BUFFERS,
      }
    
      @Test
      fun chunkedUpload_byteByByte() {
        doUpload(TransferKind.CHUNKED, WriteKind.BYTE_BY_BYTE)
      }
    
      @Test
      fun chunkedUpload_smallBuffers() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

     * body.
     *
     * ### The response body can be consumed only once.
     *
     * This class may be used to stream very large responses. For example, it is possible to use this
     * class to read a response that is larger than the entire memory allocated to the current process.
     * It can even stream a response larger than the total storage on the current device, which is a
     * common requirement for video streaming applications.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/UtilTest.kt

          assertThrows<IllegalArgumentException> {
            checkDuration(
              "timeout",
              1L + Int.MAX_VALUE.toLong(),
              TimeUnit.MILLISECONDS,
            )
          },
        ).hasMessage("timeout too large")
      }
    
      @Test
      fun testDurationDuration() {
        assertThat(checkDuration("timeout", 0.milliseconds)).isEqualTo(0)
        assertThat(checkDuration("timeout", 1.milliseconds)).isEqualTo(1)
    
        assertThat(
    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)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      require(millis <= Integer.MAX_VALUE) { "$name too large" }
      require(millis != 0L || duration <= 0L) { "$name too small" }
      return millis.toInt()
    }
    
    internal fun checkDuration(
      name: String,
      duration: Duration,
    ): Int {
      check(!duration.isNegative()) { "$name < 0" }
      val millis = duration.inWholeMilliseconds
      require(millis <= Integer.MAX_VALUE) { "$name too large" }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeShort(0xff00) // == Indexed - Add idx = 127
        assertFailsWith<IOException> {
          hpackReader!!.readHeaders()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Header index too large 127")
        }
      }
    
      // Example taken from twitter/hpack DecoderTest.testInsidiousIndex
      @Test
      fun readIndexedHeaderFieldInsidiousIndex() {
        bytesIn.writeByte(0xff) // == Indexed - Add ==
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

     *     process(part.headers, part.body)
     *   }
     * }
     * ```
     *
     * Note that [nextPart] will skip any unprocessed data from the preceding part. If the preceding
     * part is particularly large or if the underlying source is particularly slow, the [nextPart] call
     * may be slow!
     *
     * Closing a part **does not** close this multipart reader; callers must explicitly close this with
     * [close].
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  10. gradle/wrapper/gradle-wrapper.jar

    hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section)...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
Back to top