Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Concurrency (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      // methods is identical, save for method being invoked.
    
      /** Invokes {@code latch.}{@link CountDownLatch#await() await()} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static void awaitUninterruptibly(CountDownLatch latch) {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              latch.await();
              return;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  2. mkdocs.yml

            # Redirect all contributing pages to contribute/*
            'contributing.md': 'contribute/contributing.md'
            'code_of_conduct.md': 'contribute/code_of_conduct.md'
            'concurrency.md': 'contribute/concurrency.md'
            'debug_logging.md': 'contribute/debug_logging.md'
    
    nav:
      - 'Overview':
        - 'Overview': index.md
        - 'Stack Overflow': https://stackoverflow.com/questions/tagged/okhttp?sort=active
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Nov 21 07:19:31 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMaker.java

      }
    
      /**
       * Guides the allowed concurrency among update operations. Used as a hint for internal sizing. The
       * table is internally partitioned to try to permit the indicated number of concurrent updates
       * without contention. Because assignment of entries to these partitions is not necessarily
       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        FakeTicker ticker = new FakeTicker();
        assertThrows(
            IllegalArgumentException.class, () -> ticker.setAutoIncrementStep(-1, NANOSECONDS));
      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      /**
       * Guides the allowed concurrency among update operations. Used as a hint for internal sizing. The
       * table is internally partitioned to try to permit the indicated number of concurrent updates
       * without contention. Because assignment of entries to these partitions is not necessarily
       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
     * are choreographed via the various methods on this class.
     *
     * <p>A "lock-like object" is really any object that may be used for concurrency control. If the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/EditForm.java

        public String updatedBy;
    
        /**
         * The timestamp when this duplicate host configuration was last updated.
         * Stored as a long value representing milliseconds since epoch.
         * Used for audit trail and concurrency control.
         */
        @ValidateTypeFailure
        public Long updatedTime;
    
        /**
         * The version number of the duplicate host configuration for optimistic locking.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        FakeTicker ticker = new FakeTicker();
        assertThrows(
            IllegalArgumentException.class, () -> ticker.setAutoIncrementStep(-1, NANOSECONDS));
      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * {@linkplain EventBus Discouraged} in favor of dependency injection and concurrency frameworks,
     * EventBus allows publish-subscribe-style communication.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/EventBusExplained">{@code EventBus}</a>.
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jan 03 19:02:39 UTC 2025
    - 1K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java

        }
        this.initialCapacity = initialCapacity;
        return this;
      }
    
      @CanIgnoreReturnValue
      public MapMaker concurrencyLevel(int concurrencyLevel) {
        checkArgument(
            concurrencyLevel >= 1, "concurrency level (%s) must be at least 1", concurrencyLevel);
        // GWT technically only supports concurrencyLevel == 1, but we silently
        // ignore other positive values.
        return this;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top