Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 645 for consume (0.11 sec)

  1. docs/zh/docs/advanced/websockets.md

    # WebSockets
    
    您可以在 **FastAPI** 中使用 [WebSockets](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API)。
    
    ## 安装 `WebSockets`
    
    首先,您需要安装 `WebSockets`:
    
    ```console
    $ pip install websockets
    
    ---> 100%
    ```
    
    ## WebSockets 客户端
    
    ### 在生产环境中
    
    在您的生产系统中,您可能使用现代框架(如React、Vue.js或Angular)创建了一个前端。
    
    要使用 WebSockets 与后端进行通信,您可能会使用前端的工具。
    
    或者,您可能有一个原生移动应用程序,直接使用原生代码与 WebSocket 后端通信。
    
    或者,您可能有其他与 WebSocket 终端通信的方式。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Cut.java

        return false;
      }
    
      // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it
      @Override
      public abstract int hashCode();
    
      /*
       * The implementation neither produces nor consumes any non-null instance of type C, so
       * casting the type parameter is safe.
       */
      @SuppressWarnings("unchecked")
      static <C extends Comparable> Cut<C> belowAll() {
        return (Cut<C>) BelowAll.INSTANCE;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. docs/tuning/tuned.conf

    vm.swappiness=0
    vm.vfs_cache_pressure=50
    
    # Start writeback at 3% memory
    vm.dirty_background_ratio=3
    # Force writeback at 10% memory
    vm.dirty_ratio=10
    
    # Quite a few memory map
    # areas may be consumed
    vm.max_map_count=524288
    
    # Default is 500000 = 0.5ms
    kernel.sched_migration_cost_ns=5000000
    
    # stalled hdd io threads
    kernel.hung_task_timeout_secs=85
    
    # network tuning for bigger throughput
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 23:31:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/testing.md

    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    Ele detectará os arquivos e os testes automaticamente, os executará e informará os resultados para você.
    
    Execute os testes com:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. docs/vi/docs/tutorial/index.md

    Để chạy bất kì ví dụ nào, sao chép code tới tệp tin `main.py`, và bắt đầu `uvicorn` với:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/debugging.md

    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    but is not called when another file imports it, like in:
    
    ```Python
    from myapp import app
    ```
    
    #### More details
    
    Let's say your file is named `myapp.py`.
    
    If you run it with:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/testing.md

    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    It will detect the files and tests automatically, execute them, and report the results back to you.
    
    Run the tests with:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. helm-releases/minio-5.0.8.tgz

    inistration/identity-access-management/minio-user-management.html#service-accounts # - accessKey: console-svcacct # secretKey: console123 # user: console ## Or you can refer to specific secret # - accessKey: externalSecret # existingSecret: my-secret # existingSecretKey: password # user: console ## You also can pass custom policy # - accessKey: console-svcacct # secretKey: console123 # user: console # policy: # statements: # - resources: # - 'arn:aws:s3:::example*/*' # actions: # - "s3:AbortMultipartUpload"...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 13 21:49:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. helm-releases/minio-5.0.9.tgz

    inistration/identity-access-management/minio-user-management.html#service-accounts # - accessKey: console-svcacct # secretKey: console123 # user: console ## Or you can refer to specific secret # - accessKey: externalSecret # existingSecret: my-secret # existingSecretKey: password # user: console ## You also can pass custom policy # - accessKey: console-svcacct # secretKey: console123 # user: console # policy: # statements: # - resources: # - 'arn:aws:s3:::example*/*' # actions: # - "s3:AbortMultipartUpload"...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 06:23:26 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  10. helm-releases/minio-5.0.10.tgz

    inistration/identity-access-management/minio-user-management.html#service-accounts # - accessKey: console-svcacct # secretKey: console123 # user: console ## Or you can refer to specific secret # - accessKey: externalSecret # existingSecret: my-secret # existingSecretKey: password # user: console ## You also can pass custom policy # - accessKey: console-svcacct # secretKey: console123 # user: console # policy: # statements: # - resources: # - 'arn:aws:s3:::example*/*' # actions: # - "s3:AbortMultipartUpload"...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 27 00:05:49 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top