- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for idn (0.01 sec)
-
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
* See the License for the specific language governing permissions and * limitations under the License. */ @file:JvmName("GenerateIdnaMappingTableCode") package okhttp3.internal.idn import com.squareup.kotlinpoet.ClassName import com.squareup.kotlinpoet.FileSpec import com.squareup.kotlinpoet.KModifier import com.squareup.kotlinpoet.PropertySpec import java.io.File import okio.FileSystem
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.idn import kotlin.math.abs import okio.ByteString internal sealed interface MappedRange { val rangeStart: Int data class Constant( override val rangeStart: Int, val type: Int,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.5K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt
sslSocket.sslParameters = sslParameters } catch (iae: IllegalArgumentException) { // probably java.lang.IllegalArgumentException: Invalid input to toASCII from IDN.toASCII throw IOException("Android internal error", iae) } } @SuppressSignatureCheck companion object { fun buildIfSupported(): SocketAdapter? = if (isSupported()) Android10SocketAdapter() else null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
* ``` * * @param domain A canonicalized domain. An International Domain Name (IDN) should be punycode * encoded. */ fun getEffectiveTldPlusOne(domain: String): String? { // We use UTF-8 in the list so we need to convert to Unicode. val unicodeDomain = IDN.toUnicode(domain) val domainLabels = splitDomain(unicodeDomain) val rule = findMatchingRule(domainLabels)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.5K bytes - Viewed (0) -
okhttp-idna-mapping-table/README.md
OkHttp IDNA Mapping Table ========================= This module contains supporting tools for building the IDNA mapping table.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 02 11:21:58 UTC 2023 - 174 bytes - Viewed (0) -
android-test-app/proguard-rules.pro
# no rules should be needed -whyareyoukeeping class okhttp3.internal.idn.IdnaMappingTable { *;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 19:38:06 UTC 2025 - 100 bytes - Viewed (0) -
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.idn import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import okhttp3.internal.idn.MappedRange.InlineDelta import okio.Buffer import okio.ByteString import okio.ByteString.Companion.encodeUtf8 import org.junit.jupiter.api.Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTableData.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 02 11:21:58 UTC 2023 - 777 bytes - Viewed (0) -
okhttp/build.gradle.kts
filteringCharset = Charsets.UTF_8.toString() expand( // Build & use okhttp3/internal/-InternalVersion.kt "projectVersion" to project.version, ) } // Build & use okhttp3/internal/idn/IdnaMappingTableInstance.kt val generateIdnaMappingTableConfiguration: Configuration by configurations.creating dependencies { generateIdnaMappingTableConfiguration(projects.okhttpIdnaMappingTable) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 03:59:03 UTC 2025 - 9.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.idn import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertNull class PunycodeTest { /** https://datatracker.ietf.org/doc/html/rfc3492#section-7.1 */ @Test fun rfc3492Samples() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0)