Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for toTable (0.22 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

     * permissive and permits the `_` character.
     *
     * [mapping table]: https://www.unicode.org/reports/tr46/#IDNA_Mapping_Table
     * [mapping step]: https://www.unicode.org/reports/tr46/#ProcessingStepMap
     */
    class SimpleIdnaMappingTable internal constructor(
      internal val mappings: List<Mapping>,
    ) {
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

     * limitations under the License.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import okhttp3.internal.idn.IDNA_MAPPING_TABLE
    import okhttp3.internal.idn.Punycode
    import okio.Buffer
    
    /**
     * Quick and dirty pattern to differentiate IP addresses from hostnames. This is an approximation
     * of Android's private InetAddress#isNumeric API.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

      /** Flag values. */
      private val values = IntArray(COUNT)
    
      /** Returns -1 if unset. */
      val headerTableSize: Int
        get() {
          val bit = 1 shl HEADER_TABLE_SIZE
          return if (bit and set != 0) values[HEADER_TABLE_SIZE] else -1
        }
    
      val initialWindowSize: Int
        get() {
          val bit = 1 shl INITIAL_WINDOW_SIZE
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        // Simulate receiving a small dynamic table size update, that implies eviction.
        bytesIn.writeByte(0x3F) // Dynamic table size update (size = 55).
        bytesIn.writeByte(0x18)
        hpackReader!!.readHeaders()
        assertThat(hpackReader!!.headerCount).isEqualTo(1)
      }
    
      /** Header table backing array is initially 8 long, let's ensure it grows.  */
      @Test
    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)
  5. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

     * [RFC 3491]: https://datatracker.ietf.org/doc/html/rfc3491
     */
    class Stringprep(
      /** Unassigned code points. */
      val unassigned: CodePointSet,
      /** Mappings. Note table B.3 is not used in RFC 3491. */
      val mapping: CodePointMapping,
      /** Prohibited code points. */
      val prohibitSet: CodePointSet,
      /** RandALCat code points; bidi category is "R" or "AL". */
      val randalcatSet: CodePointSet,
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

     * peer. Hence, we expect all frames to have a max length of [Http2.INITIAL_MAX_FRAME_SIZE].
     */
    class Http2Reader(
      /** Creates a frame reader with max header table size of 4096. */
      private val source: BufferedSource,
      private val client: Boolean,
    ) : Closeable {
      private val continuation: ContinuationSource = ContinuationSource(this.source)
      private val hpackReader: Hpack.Reader =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. kotlin-js-store/yarn.lock

      integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
    
    tapable@^2.1.1, tapable@^2.2.0:
      version "2.2.1"
      resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0"
      integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

        who is using OkHttp 3.4.0 or 3.4.0-RC1 should upgrade for this bug fix.
    
    
    ## Version 3.4.0
    
    _2016-07-08_
    
     *  New: Support dynamic table size changes to HPACK Encoder.
     *  Fix: Use `TreeMap` in `Headers.toMultimap()`. This makes string lookups on
        the returned map case-insensitive.
     *  Fix: Don't share the OkHttpClient's `Dispatcher` in `HttpURLConnection`.
    
    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)
  9. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

      val path = "/okhttp3/internal/idna/IdnaMappingTable.txt".toPath()
      val table =
        FileSystem.RESOURCES.read(path) {
          readPlainTextIdnaMappingTable()
        }
      return buildIdnaMappingTableData(table)
    }
    
    /**
     * Generate a file containing the mapping table's string literals, like this:
     *
     * ```
     * internal val IDNA_MAPPING_TABLE: IdnaMappingTable = IdnaMappingTable(
     *   sections = "...",
     *   ranges = "...",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

     */
    package okhttp3.internal.idn
    
    import kotlin.math.abs
    import kotlin.streams.toList
    import okio.Buffer
    
    /** Index [table] for compactness as specified by `IdnaMappingTable`. */
    fun buildIdnaMappingTableData(table: SimpleIdnaMappingTable): IdnaMappingTableData {
      val simplified = mergeAdjacentRanges(table.mappings)
      val withoutSectionSpans = withoutSectionSpans(simplified)
      val sections = sections(withoutSectionSpans)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top