Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for Kappen (0.35 sec)

  1. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

          Mapping(0x0233, 0x0239, TYPE_VALID, ByteString.EMPTY),
          Mapping(0x023a, 0x023a, TYPE_MAPPED, "b".encodeUtf8()),
        )
      }
    
      @Test fun simplifyDoesNotCombineWhenMappedTargetsAreDifferent() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0041, 0x0041, TYPE_MAPPED, "a".encodeUtf8()),
              Mapping(0x0042, 0x0042, TYPE_MAPPED, "b".encodeUtf8()),
            ),
          ),
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *    119 : Ignored.
     *    120 : Valid.
     *    121 : Disallowed
     *    122 : Mapped inline to the sequence: [b2].
     *    123 : Mapped inline to the sequence: [b2a].
     *    124 : Mapped inline to the sequence: [b2, b3].
     *    125 : Mapped inline to the sequence: [b2a, b3].
     *    126 : Mapped inline to the sequence: [b2, b3a].
     *    127 : Mapped inline to the sequence: [b2a, b3a].
     *
     * The range goes until the beginning of the next range.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

      return buildString {
        append("-----BEGIN CERTIFICATE-----\n")
        encodeBase64Lines(encoded.toByteString())
        append("-----END CERTIFICATE-----\n")
      }
    }
    
    internal fun StringBuilder.encodeBase64Lines(data: ByteString) {
      val base64 = data.base64()
      for (i in 0 until base64.length step 64) {
        append(base64, i, minOf(i + 64, base64.length)).append('\n')
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (2)
  4. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

      fun escapeForUri(vararg codePoints: Int) =
        apply {
          uriEscapedCodePoints.append(String(*codePoints))
        }
    
      /**
       * Configure code points to be stripped in conversion to `java.net.URI`. That class is more
       * strict than the others.
       */
      fun stripForUri(vararg codePoints: Int) =
        apply {
          uriStrippedCodePoints.append(String(*codePoints))
        }
    
      override fun test(
        codePoint: Int,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          // The names are repetitive so re-use the same builder to avoid allocations.
          val fileBuilder = StringBuilder(key).append('.')
          val truncateTo = fileBuilder.length
          for (i in 0 until valueCount) {
            fileBuilder.append(i)
            cleanFiles += directory / fileBuilder.toString()
            fileBuilder.append(".tmp")
            dirtyFiles += directory / fileBuilder.toString()
            fileBuilder.setLength(truncateTo)
          }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    0046          ; mapped                 ; 0066          # 1.1  LATIN CAPITAL LETTER F
    0047          ; mapped                 ; 0067          # 1.1  LATIN CAPITAL LETTER G
    0048          ; mapped                 ; 0068          # 1.1  LATIN CAPITAL LETTER H
    0049          ; mapped                 ; 0069          # 1.1  LATIN CAPITAL LETTER I
    004A          ; mapped                 ; 006A          # 1.1  LATIN CAPITAL LETTER J
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

      private fun cookieHeader(cookies: List<Cookie>): String =
        buildString {
          cookies.forEachIndexed { index, cookie ->
            if (index > 0) append("; ")
            append(cookie.name).append('=').append(cookie.value)
          }
        }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (2)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      @Throws(IOException::class)
      fun trailers(): Headers
    
      /**
       * Cancel this stream. Resources held by this stream will be cleaned up, though not synchronously.
       * That may happen later by the connection pool thread.
       */
      fun cancel()
    
      /**
       * Carries an exchange. This is usually a connection, but it could also be a connect plan for
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

        assertThat(client.connectionPool.connectionCount()).isEqualTo(1)
      }
    
      /**
       * This is an extraordinary test case. Here's what it's trying to simulate.
       * - 2 requests happen concurrently to a host that can be coalesced onto a single connection.
       * - Both request discover no existing connection. They both make a connection.
       * - The first request "wins the race".
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        // 2.
        "disallowed_STD3_mapped ".encodeUtf8(),
        // 3.
        "disallowed_STD3_valid ".encodeUtf8(),
        // 4.
        "ignored ".encodeUtf8(),
        // 5.
        "mapped ".encodeUtf8(),
        // 6.
        "valid ".encodeUtf8(),
      )
    
    internal const val TYPE_DEVIATION = 0
    internal const val TYPE_DISALLOWED = 1
    internal const val TYPE_DISALLOWED_STD3_MAPPED = 2
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top