Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 221 for Keping (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        val settings1 = Settings()
        settings1[Settings.MAX_CONCURRENT_STREAMS] = maxConcurrentStreams
        peer.sendFrame().settings(settings1)
        peer.acceptFrame() // ACK
        peer.sendFrame().ping(false, 2, 0)
        peer.acceptFrame() // PING
        peer.play()
    
        // Play it back.
        val connection =
          Http2Connection.Builder(true, TaskRunner.INSTANCE)
            .socket(peer.openSocket())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. docs/en/docs/help-fastapi.md

    * If you are feeling too generous, you can try to **create an example** like that yourself, just based on the description of the problem. Just keep in mind that this might take a lot of time and it might be better to ask them to clarify the problem first.
    
    ### Suggest solutions
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/extra-models.md

    Isso será definido no OpenAPI com `anyOf`.
    
    Para fazer isso, use a dica de tipo padrão do Python <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>:
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/extra-models.md

        ```
    
    ## `Union` ⚖️ `anyOf`
    
    👆 💪 📣 📨 `Union` 2️⃣ 🆎, 👈 ⛓, 👈 📨 🔜 🙆 2️⃣.
    
    ⚫️ 🔜 🔬 🗄 ⏮️ `anyOf`.
    
    👈, ⚙️ 🐩 🐍 🆎 🔑 <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>:
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/extra-models.md

    It will be defined in OpenAPI with `anyOf`.
    
    To do that, use the standard Python type hint <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>:
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  6. common-protos/k8s.io/api/admission/v1/generated.proto

      // Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
      optional k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;
    
      // Resource is the fully-qualified resource being requested (for example, v1.pods)
      optional k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
    
      // SubResource is the subresource being requested, if any (for example, "status" or "scale")
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/body-nested-models.md

    しかし、Pythonには型や「タイプパラメータ」を使ってリストを宣言する方法があります:
    
    ### typingの`List`をインポート
    
    まず、Pythonの標準の`typing`モジュールから`List`をインポートします:
    
    ```Python hl_lines="1"
    {!../../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    ### タイプパラメータを持つ`List`の宣言
    
    `list`や`dict`、`tuple`のようなタイプパラメータ(内部の型)を持つ型を宣言するには:
    
    * `typing`モジュールからそれらをインストールします。
    * 角括弧(`[`と`]`)を使って「タイプパラメータ」として内部の型を渡します:
    
    ```Python
    from typing import List
    
    my_list: List[str]
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/body-nested-models.md

    ## 具有子类型的 List 字段
    
    但是 Python 有一种特定的方法来声明具有子类型的列表:
    
    ### 从 typing 导入 `List`
    
    首先,从 Python 的标准库 `typing` 模块中导入 `List`:
    
    ```Python hl_lines="1"
    {!> ../../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    ### 声明具有子类型的 List
    
    要声明具有子类型的类型,例如 `list`、`dict`、`tuple`:
    
    * 从 `typing` 模块导入它们
    * 使用方括号 `[` 和 `]` 将子类型作为「类型参数」传入
    
    ```Python
    from typing import List
    
    my_list: List[str]
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

       * responding to pings. The client should give up when attempting to send its 2nd ping, at about
       * 1000 ms.
       */
      @Test
      fun unacknowledgedPingFailsConnection() {
        assumeNotWindows()
        client =
          client.newBuilder()
            .pingInterval(Duration.ofMillis(500))
            .build()
    
        // Stall in onOpen to prevent pongs from being sent.
        val latch = CountDownLatch(1)
        webServer.enqueue(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  10. docs/en/docs/tutorial/body-nested-models.md

    But Python has a specific way to declare lists with internal types, or "type parameters":
    
    ### Import typing's `List`
    
    In Python 3.9 and above you can use the standard `list` to declare these type annotations as we'll see below. 💡
    
    But in Python versions before 3.9 (3.6 and above), you first need to import `List` from standard Python's `typing` module:
    
    ```Python hl_lines="1"
    {!> ../../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top