Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lastIndexOf (0.22 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

        val codePoints = mutableListOf<Int>()
    
        // consume all code points before the last delimiter (if there is one)
        //  and copy them to output, fail on any non-basic code point
        val lastDelimiter = string.lastIndexOf('-', limit)
        if (lastDelimiter >= pos) {
          while (pos < lastDelimiter) {
            when (val codePoint = string[pos++]) {
              in 'a'..'z', in 'A'..'Z', in '0'..'9', '-' -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top