Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for idn (0.04 sec)

  1. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/README.md

    OkHttp IDNA Mapping Table
    =========================
    
    This module contains supporting tools for building the IDNA mapping table.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 02 11:21:58 UTC 2023
    - 174 bytes
    - Viewed (0)
  4. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. okhttp/build.gradle.kts

      from("src/main/kotlinTemplates")
      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)
  6. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 02 11:21:58 UTC 2023
    - 777 bytes
    - Viewed (0)
  7. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.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 java.io.IOException
    import okio.Buffer
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.Options
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.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 okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * An [RFC 3492] punycode decoder for converting ASCII to Unicode domain name labels. This is
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top