Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 174 for 27 (0.13 sec)

  1. docs/en/docs/advanced/testing-websockets.md

    # Testing WebSockets
    
    You can use the same `TestClient` to test WebSockets.
    
    For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket:
    
    ```Python hl_lines="27-31"
    {!../../../docs_src/app_testing/tutorial002.py!}
    ```
    
    !!! note
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 449 bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/custom-response.md

    例如,如果你需要压榨性能,你可以安装并使用 <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a> 并将响应设置为 `ORJSONResponse`。
    
    导入你想要使用的 `Response` 类(子类)然后在 *路径操作装饰器* 中声明它。
    
    ```Python hl_lines="2 7"
    {!../../../docs_src/custom_response/tutorial001b.py!}
    ```
    
    !!! info "提示"
        参数 `response_class` 也会用来定义响应的「媒体类型」。
    
        在这个例子中,HTTP 头的 `Content-Type` 会被设置成 `application/json`。
    
        并且在 OpenAPI 文档中也会这样记录。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 7.8K bytes
    - Viewed (1)
  3. cmd/rebalstatus_string.go

    	_ = x[rebalStarted-1]
    	_ = x[rebalCompleted-2]
    	_ = x[rebalStopped-3]
    	_ = x[rebalFailed-4]
    }
    
    const _rebalStatus_name = "NoneStartedCompletedStoppedFailed"
    
    var _rebalStatus_index = [...]uint8{0, 4, 11, 20, 27, 33}
    
    func (i rebalStatus) String() string {
    	if i >= rebalStatus(len(_rebalStatus_index)-1) {
    		return "rebalStatus(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 19:36:57 GMT 2022
    - 795 bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/get-current-user.md

    === "Python 3.10+"
    
        ```Python hl_lines="19-22  26-27"
        {!> ../../../docs_src/security/tutorial002_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="19-22  26-27"
        {!> ../../../docs_src/security/tutorial002_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="20-23  27-28"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        }
        for (int i = 0; i < 17; i++) {
          counter.recordLoadException(i);
        }
        for (int i = 0; i < 23; i++) {
          counter.recordMisses(1);
        }
        for (int i = 0; i < 27; i++) {
          counter.recordEviction();
        }
        CacheStats stats = counter.snapshot();
        int requestCount = 11 + 23;
        assertEquals(requestCount, stats.requestCount());
        assertEquals(11, stats.hitCount());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  6. maven-compat/src/test/remote-repo/org/apache/maven/its/a/0.1/a-0.1.jar

    META-INF/maven/org.apache.maven.its/a/pom.xml 4.0.0 org.apache.maven.its a 0.1 jar Maven Integration Test :: Dummy Artifact maven-core-it file:///${basedir}/repo META-INF/maven/org.apache.maven.its/a/pom.properties #Generated by Maven #Sat Oct 24 00:27:56 CEST 2009 version=0.1 groupId=org.apache.maven.its artifactId=a...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Oct 26 20:16:00 GMT 2009
    - 1.9K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/response-model.md

    * 等等。
    
    === "Python 3.10+"
    
        ```Python hl_lines="17  22  24-27"
        {!> ../../../docs_src/response_model/tutorial001_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="17  22  24-27"
        {!> ../../../docs_src/response_model/tutorial001_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="17  22  24-27"
        {!> ../../../docs_src/response_model/tutorial001.py!}
        ```
    
    !!! note
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/testing-websockets.md

    # WebSockets testen
    
    Sie können den schon bekannten `TestClient` zum Testen von WebSockets verwenden.
    
    Dazu verwenden Sie den `TestClient` in einer `with`-Anweisung, eine Verbindung zum WebSocket herstellend:
    
    ```Python hl_lines="27-31"
    {!../../../docs_src/app_testing/tutorial002.py!}
    ```
    
    !!! note "Hinweis"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:17:48 GMT 2024
    - 522 bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-multiple-params.md

    ```Python
    q: str | None = None
    ```
    
    For example:
    
    === "Python 3.10+"
    
        ```Python hl_lines="27"
        {!> ../../../docs_src/body_multiple_params/tutorial004_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="27"
        {!> ../../../docs_src/body_multiple_params/tutorial004_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="28"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  10. maven-core/src/site/resources/design/2.1-lifecycle-refactor.graffle

    \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural \f0\fs24 \cf0 binding, project}AllowLabelDropfalseC{398, 209.12}{550.5, 210.592}StylestrokeHeadArrow.4285709857940674Tail.5TailID79Bounds{{550.5, 203.842}, {17, 27}}ClassShapedGraphicHF{1, 0.5}{1, -0.5}{-1, 0.5}{-1, -0.5}{0.5, 1}{-0.5, 1}{0.5, -1}{-0.5, -1}ShapeRectangleTextAl{{521.5, 114.705}, {75, 14}}ClassShapedGraphicFi{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 {\fonttbl\f0\fswiss\fcharset77 Helvetica;}...
    Others
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Mar 11 17:19:02 GMT 2017
    - 96.7K bytes
    - Viewed (0)
Back to top