Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 670 for samples (0.05 seconds)

  1. docs/zh-hant/docs/deployment/concepts.md

    當然,同一台機器上除了你的應用之外,通常也會有「其他行程」在執行。
    
    有個有趣的細節是,每個行程的「CPU 使用率」百分比會隨時間大幅「變動」,但「記憶體(RAM)」通常維持相對「穩定」。
    
    如果你的 API 每次做的計算量相近,且客戶很多,那「CPU 使用率」也可能「相對穩定」(而不是快速上下起伏)。
    
    ### 複本與擴展的工具與策略範例 { #examples-of-replication-tools-and-strategies }
    
    要達成這些有很多種作法。我會在後續章節(例如談到 Docker 與容器時)介紹更具體的策略。
    
    主要的限制是:必須有「單一」元件負責處理「公開 IP」上的「連接埠」。接著它必須能把通信「轉發」到被複製的「行程/workers」。
    
    以下是一些可能的組合與策略:
    
    - Uvicorn 搭配 `--workers`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  2. fastapi/routing.py

                Doc(
                    """
                    Configuration passed to Pydantic to define if the response data should
                    exclude fields set to `None`.
    
                    This is much simpler (less smart) than `response_model_exclude_unset`
                    and `response_model_exclude_defaults`. You probably want to use one of
                    those two instead of this one, as those allow returning `None` values
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  3. cmd/xl-storage-format_test.go

    func getXLMetaBytes(totalParts int) []byte {
    	xlSampleMeta := getSampleXLMeta(totalParts)
    	xlMetaBytes, err := json.Marshal(xlSampleMeta)
    	if err != nil {
    		panic(err)
    	}
    	return xlMetaBytes
    }
    
    // Returns sample xlMetaV1Object{} for number of parts.
    func getSampleXLMeta(totalParts int) xlMetaV1Object {
    	xlMeta := newTestXLMetaV1()
    	// Number of checksum info == total parts.
    	xlMeta.Erasure.Checksums = make([]ChecksumInfo, totalParts)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. docs/fr/docs/python-types.md

    Vous venez de voir l'endroit principal pour déclarer des annotations de type : dans les paramètres des fonctions.
    
    C'est aussi l'endroit principal où vous les utiliserez avec **FastAPI**.
    
    ### Types simples { #simple-types }
    
    Vous pouvez déclarer tous les types standards de Python, pas seulement `str`.
    
    Vous pouvez utiliser, par exemple :
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  5. docs/sts/keycloak.md

    For a quick installation, docker-compose reference configs are also available on the [Keycloak GitHub](https://github.com/keycloak/keycloak-containers/tree/main/docker-compose-examples).
    
    ### Configure Keycloak Realm
    
    - Go to Clients
      - Click on account
        - Settings
        - Change `Access Type` to `confidential`.
        - Save
      - Click on credentials tab
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     *
     * <p>When chaining together a graph of asynchronous operations, you will often find it easier to
     * use a framework. Frameworks automate the process, often adding features like monitoring,
     * debugging, and cancellation. Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
     * <h4>{@link java.util.concurrent.CompletableFuture} / {@link java.util.concurrent.CompletionStage}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  7. docs/zh/docs/deployment/concepts.md

    当然,除了您的应用程序之外,同一台机器可能还运行**其他进程**。
    
    一个有趣的细节是,随着时间的推移,每个进程使用的 **CPU 百分比**可能会发生很大变化,但**内存 (RAM)** 通常会或多或少保持**稳定**。
    
    如果您有一个每次执行相当数量的计算的 API,并且您有很多客户端,那么 **CPU 利用率** 可能也会保持稳定(而不是不断快速上升和下降)。
    
    ### 复制工具和策略示例 { #examples-of-replication-tools-and-strategies }
    
    可以通过多种方法来实现这一目标,我将在接下来的章节中向您详细介绍具体策略,例如在谈论 Docker 和容器时。
    
    要考虑的主要限制是必须有一个**单个**组件来处理**公共IP**中的**端口**。 然后它必须有一种方法将通信**传输**到复制的**进程/worker**。
    
    以下是一些可能的组合和策略:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 16.8K bytes
    - Click Count (0)
  8. cmd/erasure-metadata_test.go

    		parities []int
    		parity   int
    	}{
    		// More than simple majority consensus
    		mkTest(15, 3, 11),
    		// No simple majority consensus
    		mkTest(15, 3, 7),
    		// Exact simple majority consensus
    		mkTest(15, 3, 8),
    		// More than simple majority consensus
    		mkTest(16, 4, 11),
    		// No simple majority consensus
    		mkTest(16, 4, 8),
    		// Exact simple majority consensus
    		mkTest(16, 4, 9),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  9. docs/tr/docs/_llm-test.md

    //// tab | Test
    
    `pip install "foo[bar]"`
    
    Code snippet'lerde string literal örnekleri: `"this"`, `'that'`.
    
    Code snippet'lerde string literal için zor bir örnek: `f"I like {'oranges' if orange else "apples"}"`
    
    Hardcore: `Yesterday, my friend wrote: "If you spell incorrectly correctly, you have spelled it incorrectly". To which I answered: "Correct, but 'incorrectly' is incorrectly not '"incorrectly"'"`
    
    ////
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  10. fastapi/applications.py

                ),
                deprecated(
                    """
                    "openapi_prefix" has been deprecated in favor of "root_path", which
                    follows more closely the ASGI standard, is simpler, and more
                    automatic.
                    """
                ),
            ] = "",
            root_path: Annotated[
                str,
                Doc(
                    """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
Back to Top