Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for threadPool (0.05 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

        int deltaRange = 10000;
        String key = "key";
    
        AtomicLongMap<String> map = AtomicLongMap.create();
    
        ExecutorService threadPool = newFixedThreadPool(nThreads);
        ArrayList<Future<Long>> futures = new ArrayList<>();
        for (int i = 0; i < nTasks; i++) {
          futures.add(
              threadPool.submit(
                  new Callable<Long>() {
                    @Override
                    public Long call() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

            this.analyzer = analyzer;
            return this;
        }
    
        /**
         * Sets the thread pool.
         * @param threadPool The thread pool.
         * @return This builder instance.
         */
        public SuggesterBuilder threadPool(final ExecutorService threadPool) {
            this.threadPool = threadPool;
            return this;
        }
    
        /**
         * Sets the thread pool size.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/request-files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Detalles Técnicos de `async`
    
    Cuando usas los métodos `async`, **FastAPI** ejecuta los métodos del archivo en un threadpool y los espera.
    
    ///
    
    /// note | Detalles Técnicos de Starlette
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. .github/workflows/CheckBadMerge.groovy

     * Usage: groovy CheckBadMerge.groovy <commit1> <commit2> ...
     * If any "bad" merge commit is found, it will print the details and exit with non-zero code.
     */
    class CheckBadMerge {
        private static final THREAD_POOL = Executors.newCachedThreadPool()
    
        private static final List<String> MONITORED_PATHS = [
            "subprojects/docs/src/docs/release/notes.md",
            "platforms/documentation/docs/src/docs/release/notes.md",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Fri Jan 24 10:03:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResourceException.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Resource type that caused the error
         */
        public enum ResourceType {
            FILE_HANDLE, CONNECTION, MEMORY, DISK_SPACE, QUOTA, LOCK, BUFFER, THREAD_POOL
        }
    
        private final ResourceType resourceType;
        private final long availableResources;
        private final long requestedResources;
    
        /**
         * Creates a resource exception
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top