Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for thread_pool (0.06 sec)

  1. docs/de/docs/async.md

    ///
    
    ### Pfadoperation-Funktionen
    
    Wenn Sie eine *Pfadoperation-Funktion* mit normalem `def` anstelle von `async def` deklarieren, wird sie in einem externen Threadpool ausgeführt, der dann `await`et wird, anstatt direkt aufgerufen zu werden (da dies den Server blockieren würde).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | `async` Technical Details
    
    When you use the `async` methods, **FastAPI** runs the file methods in a threadpool and awaits for them.
    
    ///
    
    /// note | Starlette Technical Details
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/request-files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Detalhes Técnicos do `async`
    
    Quando você usa os métodos `async`, o **FastAPI** executa os métodos de arquivo em um threadpool e aguarda por eles.
    
    ///
    
    /// note | Detalhes Técnicos do Starlette
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlRequestTest.java

        @Test
        public void testThreadPoolMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            ForkJoinPool pool = new ForkJoinPool();
    
            CurlRequest result = request.threadPool(pool);
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testEncodingSpecialCharacters() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/request_files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Detalhes técnicos do `async`
    
    Quando você utiliza métodos assíncronos, o **FastAPI** executa os métodos do arquivo em uma threadpool e espera por eles.
    
    ///
    
    /// note | Detalhes técnicos do Starlette
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/request-files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Technische Details zu `async`
    
    Wenn Sie die `async`-Methoden verwenden, führt **FastAPI** die Datei-Methoden in einem <abbr title="Mehrere unabhängige Kindprozesse">Threadpool</abbr> aus und erwartet sie.
    
    ///
    
    /// note | Technische Details zu Starlette
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. .bazelrc

    # config to build OneDNN backend with a user specified threadpool.
    build:mkl_threadpool --define=build_with_mkl=true --define=enable_mkl=true
    build:mkl_threadpool --define=tensorflow_mkldnn_contraction_kernel=0
    build:mkl_threadpool --define=build_with_mkl_opensource=true
    build:mkl_threadpool -c opt
    
    # Config setting to build oneDNN with Compute Library for the Arm Architecture (ACL).
    # with Eigen threadpool support
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 22 21:03:34 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        // Fesen Client
        //
    
        /**
         * Gets the thread pool used by the client.
         *
         * @return the thread pool
         */
        @Override
        public ThreadPool threadPool() {
            return client.threadPool();
        }
    
        /**
         * Gets the admin client for cluster and index administration.
         *
         * @return the admin client
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  9. docs/ru/docs/async.md

    ///
    
    ### Функции обработки пути
    
    Когда вы объявляете *функцию обработки пути* обычным образом с ключевым словом `def`
    вместо `async def`, FastAPI ожидает её выполнения, запустив функцию во внешнем
    <abbr title="threadpool">пуле потоков</abbr>, а не напрямую (это бы заблокировало сервер).
    
    Если ранее вы использовали другой асинхронный фреймворк, который работает иначе,
    и привыкли объявлять простые вычислительные *функции* через `def` ради
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     *
     * {@snippet :
     * ListenableFuture<Boolean> adminIsLoggedIn =
     *     FluentFuture.from(usersDatabase.getAdminUser())
     *         .transform(User::getId, directExecutor())
     *         .transform(ActivityService::isLoggedIn, threadPool)
     *         .catching(RpcException.class, e -> false, directExecutor());
     * }
     *
     * <h3>Alternatives</h3>
     *
     * <h4>Frameworks</h4>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top