Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 362 for Kata (0.18 sec)

  1. docs/en/docs/tutorial/extra-data-types.md

    # Extra Data Types
    
    Up to now, you have been using common data types, like:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    But you can also use more complex data types.
    
    And you will still have the same features as seen up to now:
    
    * Great editor support.
    * Data conversion from incoming requests.
    * Data conversion for response data.
    * Data validation.
    * Automatic annotation and documentation.
    
    ## Other data types
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/extra-data-types.md

        ```Python hl_lines="1  3  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="1  3  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  3  13-17"
        {!> ../../../docs_src/extra_data_types/tutorial001_an.py!}
        ```
    
    === "Python 3.10+ non-Annotated"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/extra-data-types.md

    === "Python 3.8 и выше"
    
        ```Python hl_lines="1  3  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001.py!}
        ```
    
    === "Python 3.10 и выше"
    
        ```Python hl_lines="1  2  11-15"
        {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/extra-data-types.md

    ```Python hl_lines="1  3  12-16"
    {!../../../docs_src/extra_data_types/tutorial001.py!}
    ```
    
    Note que os parâmetros dentro da função tem seu tipo de dados natural, e você pode, por exemplo, realizar manipulações normais de data, como:
    
    ```Python hl_lines="18-19"
    {!../../../docs_src/extra_data_types/tutorial001.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        callback.assertTextMessage("Hello")
      }
    
      @Test fun clientTwoFrameHelloWithPongs() {
        data.write("010348656c".decodeHex()) // Hel
        data.write("8a00".decodeHex()) // Pong
        data.write("8a00".decodeHex()) // Pong
        data.write("8a00".decodeHex()) // Pong
        data.write("8a00".decodeHex()) // Pong
        data.write("80026c6f".decodeHex()) // lo
        clientReader.processNextFrame()
        callback.assertPong(EMPTY)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt

      @Test
      fun largeRead() {
        val data = randomByteString(1000000)
        write(data)
        val operator =
          FileOperator(
            randomAccessFile!!.getChannel(),
          )
        val buffer = Buffer()
        operator.read(0, buffer, data.size.toLong())
        assertThat(buffer.readByteString()).isEqualTo(data)
      }
    
      @Test
      fun largeWrite() {
        val data = randomByteString(1000000)
        val operator =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        drainCancelQueue(eventSource)
      }
    
      override fun onEvent(
        eventSource: EventSource,
        id: String?,
        type: String?,
        data: String,
      ) {
        get().log("[ES] onEvent", Platform.INFO, null)
        events.add(Event(id, type, data))
        drainCancelQueue(eventSource)
      }
    
      override fun onClosed(eventSource: EventSource) {
        get().log("[ES] onClosed", Platform.INFO, null)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

          """
          |--AaB03x
          |Content-Disposition: form-data; name="field with spaces"; filename="filename with spaces.txt"
          |Content-Type: text/plain; charset=utf-8
          |
          |okay
          |--AaB03x
          |Content-Disposition: form-data; name="field with %22"
          |
          |"
          |--AaB03x
          |Content-Disposition: form-data; name="field with %22"
          |
          |%22
          |--AaB03x
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          sink.writeInt(errorCode.httpCode)
          sink.flush()
        }
      }
    
      /** The maximum size of bytes that may be sent in a single call to [data]. */
      fun maxDataLength(): Int = maxFrameSize
    
      /**
       * `source.length` may be longer than the max length of the variant's data frame. Implementations
       * must send multiple frames as necessary.
       *
       * @param source the buffer to draw bytes from. May be null if byteCount is 0.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

      ) {
        if (streamId == 0) throw IOException("PROTOCOL_ERROR: TYPE_DATA streamId == 0")
    
        // TODO: checkState open or half-closed (local) or raise STREAM_CLOSED
        val inFinished = flags and FLAG_END_STREAM != 0
        val gzipped = flags and FLAG_COMPRESSED != 0
        if (gzipped) {
          throw IOException("PROTOCOL_ERROR: FLAG_COMPRESSED without SETTINGS_COMPRESS_DATA")
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top