Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toChars (0.09 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

          writeUtf8(if (alreadyEncoded) "+" else "%2B")
        } else if (codePoint < 0x20 ||
          codePoint == 0x7f ||
          codePoint >= 0x80 &&
          !unicodeAllowed ||
          codePoint.toChar() in encodeSet ||
          codePoint == '%'.code &&
          (!alreadyEncoded || strict && !input.isPercentEncoded(i, limit))
        ) {
          // Percent encode this character.
          if (encodedCharBuffer == null) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

        CharEscaper deletingEscaper =
            new ArrayBasedCharEscaper(NO_REPLACEMENTS, ' ', '~') {
              private final char[] noChars = new char[0];
    
              @Override
              protected char[] escapeUnsafe(char c) {
                return noChars;
              }
            };
        EscaperAsserts.assertBasic(deletingEscaper);
        assertThat(
                deletingEscaper.escape(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

          buildString {
            val buffer = Buffer().writeUtf8(s)
            while (!buffer.exhausted()) {
              val c = buffer.readUtf8CodePoint()
              if (c != '\\'.code) {
                append(c.toChar())
                continue
              }
              when (buffer.readUtf8CodePoint()) {
                '\\'.code -> append('\\')
                '#'.code -> append('#')
                'n'.code -> append('\n')
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top