Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,622 for targetOS (0.07 sec)

  1. docs/zh/docs/advanced/security/oauth2-scopes.md

    是否使用冒号 `:` 等符号,或是不是 URL 并不重要。
    
    这些细节只是特定的实现方式。
    
    对 OAuth2 来说,它们都只是字符串而已。
    
    ///
    
    ## 全局纵览
    
    首先,快速浏览一下以下代码与**用户指南**中 [OAuth2 实现密码哈希与 Bearer  JWT 令牌验证](../../tutorial/security/oauth2-jwt.md){.internal-link target=_blank}一章中代码的区别。以下代码使用 OAuth2 作用域:
    
    ```Python hl_lines="2  4  8  12  46  64  105  107-115  121-124  128-134  139  153"
    {!../../docs_src/security/tutorial005.py!}
    ```
    
    下面,我们逐步说明修改的代码内容。
    
    ## OAuth2 安全方案
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/security/http-basic-auth.md

    <img src="/img/tutorial/security/image12.png">
    
    ## 检查用户名
    
    以下是更完整的示例。
    
    使用依赖项检查用户名与密码是否正确。
    
    为此要使用 Python 标准模块 <a href="https://docs.python.org/3/library/secrets.html" class="external-link" target="_blank">`secrets`</a> 检查用户名与密码。
    
    `secrets.compare_digest()` 需要仅包含 ASCII 字符(英语字符)的 `bytes` 或 `str`,这意味着它不适用于像`á`一样的字符,如 `Sebastián`。
    
    为了解决这个问题,我们首先将 `username` 和 `password` 转换为使用 UTF-8 编码的 `bytes` 。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

          for (int index : indexes) {
            builder.put(index, singleQuantile(index, scale, dataset));
          }
          return builder.buildOrThrow();
        }
      },
    
      /** Uses {@link Quantiles}. */
      TARGET {
    
        @Override
        double singleQuantile(int index, int scale, double[] dataset) {
          return Quantiles.scale(scale).index(index).computeInPlace(dataset);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Com `Query`, `Path` (e outras que você ainda não viu) você pode declarar metadados e validações de texto do mesmo modo que com [Parâmetros de consulta e validações de texto](query-params-str-validations.md){.internal-link target=_blank}.
    
    E você também pode declarar validações numéricas:
    
    * `gt`: maior que (`g`reater `t`han)
    * `ge`: maior que ou igual (`g`reater than or `e`qual)
    * `lt`: menor que (`l`ess `t`han)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. ci/official/utilities/setup_macos.sh

    fi
    set -x
    
    # When cross-compiling with RBE, we need to copy the macOS sysroot to be
    # inside the TensorFlow root directory. We then define them as a filegroup
    # target inside "tensorflow/tools/toolchains/cross_compile/cc" so that Bazel
    # can register it as an input to compile/link actions and send it to the remote
    # VMs when needed.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Feb 15 15:23:28 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. docs/zh-hant/docs/benchmarks.md

    # 基準測試
    
    由第三方機構 TechEmpower 的基準測試表明在 Uvicorn 下運行的 **FastAPI** 應用程式是 <a href="https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l=zijzen-7" class="external-link" target="_blank">最快的 Python 可用框架之一</a>,僅次於 Starlette 和 Uvicorn 本身(於 FastAPI 內部使用)。
    
    但是在查看基準得分和對比時,請注意以下幾點。
    
    ## 基準測試和速度
    
    當你查看基準測試時,時常會見到幾個不同類型的工具被同時進行測試。
    
    具體來說,是將 Uvicorn、Starlette 和 FastAPI 同時進行比較(以及許多其他工具)。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/zh/docs/benchmarks.md

    # 基准测试
    
    第三方机构 TechEmpower 的基准测试表明在 Uvicorn 下运行的 **FastAPI** 应用程序是 <a href="https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l=zijzen-7" class="external-link" target="_blank">可用的最快的 Python 框架之一</a>,仅次于 Starlette 和 Uvicorn 本身 (由 FastAPI 内部使用)。(*)
    
    但是在查看基准得分和对比时,请注意以下几点。
    
    ## 基准测试和速度
    
    当你查看基准测试时,几个不同类型的工具被等效地做比较是很常见的情况。
    
    具体来说,是将 Uvicorn,Starlette 和 FastAPI 一起比较(在许多其它工具中)。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 14:33:29 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params.md

    * `skip`, an `int` with a default value of `0`.
    * `limit`, an optional `int`.
    
    /// tip
    
    You could also use `Enum`s the same way as with [Path Parameters](path-params.md#predefined-values){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. docs/de/README.md

    ### Paket erstellen
    
    Führen Sie das `package`-Ziel aus, und dann wird die Release-Datei im Verzeichnis target/releases erstellt.
    
        $ mvn package
        $ mvn rpm:rpm   # .rpm-Paket
        $ mvn jdeb:jdeb # .deb-Paket
    
    ### Quellcode generieren
    
        $ mvn dbflute:download # (einmaliger Befehl)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/path-params-numeric-validations.md

    ```Python hl_lines="11"
    {!../../docs_src/path_params_numeric_validations/tutorial006.py!}
    ```
    
    ## 요약
    
    `Query`, `Path`(아직 보지 못한 다른 것들도)를 사용하면 [쿼리 매개변수와 문자열 검증](query-params-str-validations.md){.internal-link target=_blank}에서와 마찬가지로 메타데이터와 문자열 검증을 선언할 수 있습니다.
    
    그리고 숫자 검증 또한 선언할 수 있습니다:
    
    * `gt`: 크거나(`g`reater `t`han)
    * `ge`: 크거나 같은(`g`reater than or `e`qual)
    * `lt`: 작거나(`l`ess `t`han)
    * `le`: 작거나 같은(`l`ess than or `e`qual)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top