Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for counter (0.2 sec)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

            .build(),
        )
        val asyncRequestBody: RequestBody =
          object : RequestBody() {
            var counter = 0
    
            override fun contentType() = null
    
            override fun writeTo(sink: BufferedSink) {
              counter++
              assertThat(counter).isLessThanOrEqualTo(1)
              sink.writeUtf8("Hello request!")
              sink.close()
            }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

          val buffer = cursor.data
          var i = cursor.start
          val end = cursor.end
          if (buffer != null) {
            while (i < end) {
              keyIndex %= keyLength // Reassign to prevent overflow breaking counter.
    
              // Byte xor is experimental in Kotlin so we coerce bytes to int, xor them
              // and convert back to byte.
              val bufferInt: Int = buffer[i].toInt()
    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)
  3. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    coop.in coop.km coop.mv coop.mw coop.py coop.rw coop.tt cooperativa.bo copenhagen.museum copro.uk corporation.museum correios-e-telecomunicações.museum corsica corvette.museum cosenza.it costume.museum couchpotatofries.org council.aero country countryestate.museum county.museum coupon coupons courses coz.br cpa cpa.pro cq.cn cr cr.it cr.ua crafting.xyz crafts.museum cranbrook.museum cranky.jp crd.co creation.museum credit creditcard creditunion cremona.it crew.aero cri.br cri.nz cricket crimea.ua crotone.it...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    cookingchannel
    
    // cool : 2013-11-14 Binky Moon, LLC
    cool
    
    // corsica : 2014-09-25 Collectivité de Corse
    corsica
    
    // country : 2013-12-19 Internet Naming Company LLC
    country
    
    // coupon : 2015-02-26 Amazon Registry Services, Inc.
    coupon
    
    // coupons : 2015-03-26 Binky Moon, LLC
    coupons
    
    // courses : 2014-12-04 Registry Services, LLC
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  5. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    FE42          ; mapped                 ; 300D          # 1.1  PRESENTATION FORM FOR VERTICAL RIGHT CORNER BRACKET
    FE43          ; mapped                 ; 300E          # 1.1  PRESENTATION FORM FOR VERTICAL LEFT WHITE CORNER BRACKET
    FE44          ; mapped                 ; 300F          # 1.1  PRESENTATION FORM FOR VERTICAL RIGHT WHITE CORNER BRACKET
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  6. okhttp/src/main/kotlin/okhttp3/internal/http1/HeadersReader.kt

     */
    class HeadersReader(val source: BufferedSource) {
      private var headerLimit = HEADER_LIMIT.toLong()
    
      /** Read a single line counted against the header size limit. */
      fun readLine(): String {
        val line = source.readUtf8LineStrict(headerLimit)
        headerLimit -= line.length.toLong()
        return line
      }
    
      /** Reads headers or trailers. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        canceling calls would cause the shared HTTP/2 connection to be unnecessarily released. This
        harmed connection reuse.
     *  Fix: Ensure canceled and discarded HTTP/2 data is not permanently counted against the limited
        flow control window. We had a few bugs where window size accounting was broken when streams
        were canceled or reset.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K 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)
    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/test/java/okhttp3/CacheTest.kt

          }
        }
        server.enqueue(builder.build())
        if (responseCode == HttpURLConnection.HTTP_CLIENT_TIMEOUT) {
          // 408's are a bit of an outlier because we may repeat the request if we encounter this
          // response code. In this scenario, there are 2 responses: the initial 408 and then the 200
          // because of the retry. We just want to ensure the initial 408 isn't cached.
          expectedResponseCode = 200
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top