Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for Hummer (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/FormBody.kt

      encodedValues: List<String>,
    ) : RequestBody() {
      private val encodedNames: List<String> = encodedNames.toImmutableList()
      private val encodedValues: List<String> = encodedValues.toImmutableList()
    
      /** The number of key-value pairs in this form-encoded body. */
      @get:JvmName("size")
      val size: Int
        get() = encodedNames.size
    
      @JvmName("-deprecated_size")
      @Deprecated(
        message = "moved to val",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      /** The bytes consumed and acknowledged by the application. */
      val readBytes: WindowCounter = WindowCounter(streamId = 0)
    
      /** The total number of bytes produced by the application. */
      var writeBytesTotal = 0L
        private set
    
      /** The total number of bytes permitted to be produced according to `WINDOW_UPDATE` frames. */
      var writeBytesMaximum: Long = peerSettings.initialWindowSize.toLong()
        private set
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

        throw SSLPeerUnverifiedException("Certificate chain too long: $result")
      }
    
      /**
       * Returns true if [toVerify] was signed by [signingCert]'s public key.
       *
       * @param minIntermediates the minimum number of intermediate certificates in [signingCert]. This
       *     is -1 if signing cert is a lone self-signed certificate.
       */
      private fun verifySignature(
        toVerify: X509Certificate,
        signingCert: X509Certificate,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. gradlew

            fi
            # Roll the args list around exactly as many times as the number of
            # args, so each arg winds up back in the position where it started, but
            # possibly modified.
            #
            # NB: a `for` loop captures its iteration list before it begins, so
            # changing the positional parameters here affects neither the number of
            # iterations, nor the values presented in `arg`.
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

    import okio.Path
    import okio.buffer
    import okio.source
    
    abstract class RequestBody {
      /** Returns the Content-Type header for this body. */
      abstract fun contentType(): MediaType?
    
      /**
       * Returns the number of bytes that will be written to sink in a call to [writeTo],
       * or -1 if that count is unknown.
       */
      @Throws(IOException::class)
      open fun contentLength(): Long = commonContentLength()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 25 14:41:37 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

      private val contentType: MediaType = "$type; boundary=$boundary".toMediaType()
      private var contentLength = -1L
    
      @get:JvmName("boundary")
      val boundary: String
        get() = boundaryByteString.utf8()
    
      /** The number of parts in this multipart body. */
      @get:JvmName("size")
      val size: Int
        get() = parts.size
    
      fun part(index: Int): Part = parts[index]
    
      override fun isOneShot(): Boolean {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

          <version>1.3.0</version>
        </dependency>
        ```
    
     *  **Fix: improve parallelism of async requests.** OkHttp's Dispatcher had a
        misconfigured `ExecutorService` that limited the number of worker threads.
        If you're using `Call.enqueue()` this update should significantly improve
        request concurrency.
    
     *  **Fix: Lazily initialize the response cache.** This avoids strict mode
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/AutobahnTester.kt

      }
    
      fun run() {
        try {
          val count = getTestCount()
          println("Test count: $count")
          for (number in 1..count) {
            runTest(number, count)
          }
          updateReports()
        } finally {
          client.dispatcher.executorService.shutdown()
        }
      }
    
      private fun runTest(
        number: Long,
        count: Long,
      ) {
        val latch = CountDownLatch(1)
        val startNanos = AtomicLong()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * @param valueCount the number of values per cache entry. Must be positive.
     * @param maxSize the maximum number of bytes this cache should use to store.
     */
    class DiskLruCache(
      fileSystem: FileSystem,
      /** Returns the directory where this cache stores its data. */
      val directory: Path,
      private val appVersion: Int,
      internal val valueCount: Int,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2.flowcontrol
    
    class WindowCounter(
      val streamId: Int,
    ) {
      /** The total number of bytes consumed. */
      var total: Long = 0L
        private set
    
      /** The total number of bytes acknowledged by outgoing `WINDOW_UPDATE` frames. */
      var acknowledged: Long = 0L
        private set
    
      val unacknowledged: Long
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top