Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 223 for nThreads (0.04 sec)

  1. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        return (existingCounter == null) ? 0 : existingCounter.get();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>If the data in the multiset is modified by any other threads during this method, it is
       * undefined which (if any) of these modifications will be reflected in the result.
       */
      @Override
      public int size() {
        long sum = 0L;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertThrows(RejectedExecutionException.class, () -> executor.submit(() -> {}));
        assertTrue(executor.isTerminated());
    
        otherTask.get();
      }
    
      /**
       * Test for a bug where threads weren't getting signaled when shutdown was called, only when tasks
       * completed.
       */
      public void testDirectExecutorService_awaitTermination_missedSignal() {
        ExecutorService service = newDirectExecutorService();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted.
     *   <li><b>Thread safety.</b> It is safe to access this collection concurrently from multiple
     *       threads.
     *   <li><b>Integrity.</b> This type cannot be subclassed outside this package (which would allow
     *       these guarantees to be violated).
     * </ul>
     *
     * <h4>"Interfaces", not implementations</h4>
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

        permitted. For example, a listener may receive `responseHeadersStart()` followed by
        `requestBodyEnd()`, both on the same call. Such events may be triggered by different threads
        even for a single call.
    
        Interceptors that rewrite or replace the request body may now inadvertently interfere with
        duplex request bodies. Such interceptors should check `RequestBody.isDuplex()` and avoid
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * Get the value for the key 'crawler.hotthread.threads'. <br>
         * The value is, e.g. 3 <br>
         * comment: Number of threads for hot thread monitoring.
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getCrawlerHotthreadThreads();
    
        /**
         * Get the value for the key 'crawler.hotthread.threads' as {@link Integer}. <br>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 525.7K bytes
    - Viewed (2)
  6. guava/src/com/google/common/util/concurrent/Striped.java

      public abstract int size();
    
      /**
       * Returns the stripes that correspond to the passed objects, in ascending (as per {@link
       * #getAt(int)}) order. Thus, threads that use the stripes in the order returned by this method
       * are guaranteed to not deadlock each other.
       *
       * <p>It should be noted that using a {@code Striped<L>} with relatively few stripes, and {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[14:18] hl[14:15,17:18] *}
    
    Using `check_same_thread=False` allows FastAPI to use the same SQLite database in different threads. This is necessary as **one single request** could use **more than one thread** (for example in dependencies).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 05:06:56 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[14:18] hl[14:15,17:18] *}
    
    Die Verwendung von `check_same_thread=False` erlaubt FastAPI, dieselbe SQLite-Datenbank in verschiedenen Threads zu verwenden. Dies ist notwendig, da **ein einzelner <abbr title="Request – Anfrage: Daten, die der Client zum Server sendet">Request</abbr>** **mehr als einen Thread** verwenden könnte (zum Beispiel in Abhängigkeiten).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:32:56 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            }, "ThumbnailGenerator");
            thumbnailQueueThread.start();
        }
    
        /**
         * Cleans up resources when the thumbnail manager is destroyed.
         * Stops background processing and waits for threads to complete.
         */
        @PreDestroy
        public void destroy() {
            generating = false;
            thumbnailQueueThread.interrupt();
            try {
                thumbnailQueueThread.join(10000);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            if (to == FAILED) {
              enqueueFailedEvent(service);
            }
    
            if (states.count(RUNNING) == numberOfServices) {
              // This means that the manager is currently healthy. N.B. If other threads call isHealthy
              // they are not guaranteed to get 'true', because any service could fail right now.
              enqueueHealthyEvent();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 33.2K bytes
    - Viewed (1)
Back to top