Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isLowSurrogate (0.06 sec)

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

        while (i < limit) {
          val c = this[i]
          result +=
            when {
              c.isSurrogate() -> {
                val low = (if (i + 1 < limit) this[i + 1] else '\u0000')
                if (c.isLowSurrogate() || !low.isLowSurrogate()) {
                  '?'.code
                } else {
                  i++
                  0x010000 + (c.code and 0x03ff shl 10 or (low.code and 0x03ff))
                }
              }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/Escaper.java

     * splitting an existing long string into short strings adaptively around {@linkplain
     * Character#isHighSurrogate surrogate} {@linkplain Character#isLowSurrogate pairs}, or by starting
     * with short strings already known to be free of unpaired surrogates.
     *
     * <p>The two primary implementations of this interface are {@link CharEscaper} and {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top