Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 4764 (0.04 sec)

  1. guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

    public class UnsignedBytesBenchmark {
    
      private byte[] ba1;
      private byte[] ba2;
      private byte[] ba3;
      private byte[] ba4;
      private Comparator<byte[]> javaImpl;
      private Comparator<byte[]> unsafeImpl;
    
      // 4, 8, 64, 1K, 1M, 1M (unaligned), 64M, 64M (unaligned)
      // @Param({"4", "8", "64", "1024", "1048576", "1048577", "6710884", "6710883"})
      @Param({"4", "8", "64", "1024"})
      private int length;
    
      @BeforeExperiment
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

    public class UnsignedBytesBenchmark {
    
      private byte[] ba1;
      private byte[] ba2;
      private byte[] ba3;
      private byte[] ba4;
      private Comparator<byte[]> javaImpl;
      private Comparator<byte[]> unsafeImpl;
    
      // 4, 8, 64, 1K, 1M, 1M (unaligned), 64M, 64M (unaligned)
      // @Param({"4", "8", "64", "1024", "1048576", "1048577", "6710884", "6710883"})
      @Param({"4", "8", "64", "1024"})
      private int length;
    
      @BeforeExperiment
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

       *         .<City, Distance>immutable()
       *         .putEdgeValue(PARIS, BERLIN, kilometers(1060))
       *         .putEdgeValue(PARIS, BRUSSELS, kilometers(317))
       *         .putEdgeValue(BERLIN, BRUSSELS, kilometers(764))
       *         .addNode(REYKJAVIK)
       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/security/simple-oauth2.md

    🔜 ➡️ ⚙️ 🚙 🚚 **FastAPI** 🍵 👉.
    
    ### `OAuth2PasswordRequestForm`
    
    🥇, 🗄 `OAuth2PasswordRequestForm`, &amp; ⚙️ ⚫️ 🔗 ⏮️ `Depends` *➡ 🛠️* `/token`:
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; 🔛
    
    ```Python hl_lines="4  76"
    {!> ../../docs_src/security/tutorial003.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ &amp; 🔛
    
    ```Python hl_lines="2  74"
    {!> ../../docs_src/security/tutorial003_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/security/simple-oauth2.md

    ///
    
    ## 获取 `username` 和 `password` 的代码
    
    接下来,使用 **FastAPI** 工具获取用户名与密码。
    
    ### `OAuth2PasswordRequestForm`
    
    首先,导入 `OAuth2PasswordRequestForm`,然后,在 `/token` *路径操作* 中,用 `Depends` 把该类作为依赖项。
    
    ```Python hl_lines="4  76"
    {!../../docs_src/security/tutorial003.py!}
    ```
    
    `OAuth2PasswordRequestForm` 是用以下几项内容声明表单请求体的类依赖项:
    
    * `username`
    * `password`
    * 可选的 `scope` 字段,由多个空格分隔的字符串组成的长字符串
    * 可选的 `grant_type`
    
    /// tip | "提示"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top