Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Low (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

          result +=
            when {
              c.isSurrogate() -> {
                val low = (if (i + 1 < limit) this[i + 1] else '\u0000')
                if (c.isLowSurrogate() || !low.isLowSurrogate()) {
                  '?'.code
                } else {
                  i++
                  0x010000 + (c.code and 0x03ff shl 10 or (low.code and 0x03ff))
                }
              }
    
              else -> c.code
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

     * by holding a lock on the connection.
     */
    class RealConnection(
      val taskRunner: TaskRunner,
      val connectionPool: RealConnectionPool,
      override val route: Route,
      /** The low-level TCP socket. */
      private var rawSocket: Socket?,
      /**
       * The application layer socket. Either an [SSLSocket] layered over [rawSocket], or [rawSocket]
       * itself if this connection does not use SSL.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

    ): Int {
      // Do the binary searching bit.
      var low = position
      var high = limit - 1
      while (low <= high) {
        val mid = (low + high) / 2
        val compareResult = compare(mid)
        when {
          compareResult < 0 -> high = mid - 1
          compareResult > 0 -> low = mid + 1
          else -> return mid // Match!
        }
      }
    
      return -low - 1 // insertionPoint is before the first element.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        }
    
        private fun ByteArray.binarySearch(
          labels: Array<ByteArray>,
          labelIndex: Int,
        ): String? {
          var low = 0
          var high = size
          var match: String? = null
          while (low < high) {
            var mid = (low + high) / 2
            // Search for a '\n' that marks the start of a value. Don't go back past the start of the
            // array.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    02EE          ; valid                                  # 3.0  MODIFIER LETTER DOUBLE APOSTROPHE
    02EF..02FF    ; valid                  ;      ; NV8    # 4.0  MODIFIER LETTER LOW DOWN ARROWHEAD..MODIFIER LETTER LOW LEFT ARROW
    0300..033F    ; valid                                  # 1.1  COMBINING GRAVE ACCENT..COMBINING DOUBLE OVERLINE
    0340          ; mapped                 ; 0300          # 1.1  COMBINING GRAVE TONE MARK
    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/test/java/okhttp3/CacheTest.kt

      fun clientPrematureDisconnectWithNoLengthHeaders() {
        testClientPrematureDisconnect(TransferKind.END_OF_STREAM)
      }
    
      private fun testClientPrematureDisconnect(transferKind: TransferKind) {
        // Setting a low transfer speed ensures that stream discarding will time out.
        val builder =
          MockResponse.Builder()
            .throttleBody(6, 1, TimeUnit.SECONDS)
        transferKind.setBody(builder, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 1024)
    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)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

      /** True if this connect was canceled; typically because it lost a race. */
      @Volatile private var canceled = false
    
      // These properties are initialized by connect() and never reassigned.
    
      /** The low-level TCP socket. */
      private var rawSocket: Socket? = null
    
      /**
       * The application layer socket. Either an [SSLSocket] layered over [rawSocket], or [rawSocket]
       * itself if this connection does not use SSL.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cache.kt

        }
    
        if (requestMethod != "GET") {
          // Don't cache non-GET responses. We're technically allowed to cache HEAD requests and some
          // POST requests, but the complexity of doing so is high and the benefit is low.
          return null
        }
    
        if (response.hasVaryAll()) {
          return null
        }
    
        val entry = Entry(response)
        var editor: DiskLruCache.Editor? = null
        try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top