Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for IdnaMappingTableData (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    /** Recipe to build an `IdnaMappingTable`. */
    class IdnaMappingTableData(
      val sections: String,
      val ranges: String,
      val mappings: String,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 02 11:21:58 GMT 2023
    - 777 bytes
    - Click Count (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

    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)
    
      val rangesBuffer = Buffer()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top