Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for toChar (0.23 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

      private fun largeHeaders(): List<Header> {
        val nameValues = arrayOfNulls<String>(32)
        val chars = CharArray(512)
        var i = 0
        while (i < nameValues.size) {
          Arrays.fill(chars, i.toChar())
          val string = String(chars)
          nameValues[i++] = string
          nameValues[i++] = string
        }
        return headerEntries(*nameValues)
      }
    
      private fun writeMedium(
        sink: BufferedSink,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            .body("ABCD")
            .build(),
        )
        val call = client.newCall(newRequest("/"))
        val response = call.execute()
        val inputStream = response.body.byteStream()
        assertThat(inputStream.read().toChar()).isEqualTo('A')
        call.cancel()
        assertFailsWith<IOException> {
          // Reading 'B' may succeed if it's buffered.
          inputStream.read()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        char[] dst = new char[12];
    
        // Put surrogate pairs at odd indices so they can be split easily
        dst[0] = 'x';
        Character.toChars(min, dst, 1);
        Character.toChars(s1, dst, 3);
        Character.toChars(s2, dst, 5);
        Character.toChars(s3, dst, 7);
        Character.toChars(max, dst, 9);
        dst[11] = 'x';
        String test = new String(dst);
    
        // Get the expected result string
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        char[] dst = new char[12];
    
        // Put surrogate pairs at odd indices so they can be split easily
        dst[0] = 'x';
        Character.toChars(min, dst, 1);
        Character.toChars(s1, dst, 3);
        Character.toChars(s2, dst, 5);
        Character.toChars(s3, dst, 7);
        Character.toChars(max, dst, 9);
        dst[11] = 'x';
        String test = new String(dst);
    
        // Get the expected result string
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. docs/pt/docs/help-fastapi.md

    Ajudando a responder as questões de varias pessoas, você pode se tornar um [Expert em FastAPI](fastapi-people.md#especialistas){.internal-link target=_blank} oficial. 🎉
    
    ## Acompanhe o repositório do GitHub
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/events.md

    Debido a que este código se ejecuta antes de que la aplicación **comience** a tomar requests, y justo después de que **termine** de manejarlos, cubre todo el **lifespan** de la aplicación (la palabra "lifespan" será importante en un momento 😉).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/index.md

    O podría ser que simplemente prefieras tomar otros cursos porque se adaptan mejor a tu estilo de aprendizaje.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/dependencies/index.md

    ### Crear una dependencia, o "dependable"
    
    Primero enfoquémonos en la dependencia.
    
    Es solo una función que puede tomar todos los mismos parámetros que una *path operation function* puede tomar:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8:9] *}
    
    Eso es todo.
    
    **2 líneas**.
    
    Y tiene la misma forma y estructura que todas tus *path operation functions*.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top