Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IdnaMappingTableInstance (0.1 sec)

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

    fun generateMappingTableFile(data: IdnaMappingTableData): FileSpec {
      val packageName = "okhttp3.internal.idn"
      val idnaMappingTable = ClassName(packageName, "IdnaMappingTable")
    
      return FileSpec.builder(packageName, "IdnaMappingTableInstance")
        .addProperty(
          PropertySpec.builder("IDNA_MAPPING_TABLE", idnaMappingTable)
            .addModifiers(KModifier.INTERNAL)
            .initializer(
              """
              |%T(⇥
              |sections = "%L",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. okhttp/build.gradle.kts

      into("$buildDir/generated/sources/kotlinTemplates")
      expand("projectVersion" to project.version)
      filteringCharset = Charsets.UTF_8.toString()
    }
    
    // Build & use okhttp3/internal/idn/IdnaMappingTableInstance.kt
    val generateIdnaMappingTableConfiguration: Configuration by configurations.creating
    dependencies {
      generateIdnaMappingTableConfiguration(projects.okhttpIdnaMappingTable)
    }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top