Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 60 for Concurrency (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.StrongKeyStrongValueEntry.Helper.class);
    
        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.StrongKeyStrongValueEntry.Helper.class);
    
        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

      //    definitely observe all earlier writes, but we still have no guarantee that done() would see
      //    the initial write (just stronger guarantees if it does).
      //
      // See: http://cs.oswego.edu/pipermail/concurrency-interest/2015-January/013800.html
      // For a (long) discussion about this specific issue and the general futility of life.
      //
      // For the time being we are OK with the problem discussed above since it requires a caller to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(DISCARDING_QUEUE, map.removalNotificationQueue);
        assertSame(NULL_TICKER, map.ticker);
    
        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
    
        assertFalse(map.evictsBySize());
        assertFalse(map.expires());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testSizingDefaults() {
        LoadingCache<?, ?> cache = CacheBuilder.newBuilder().build(identityLoader());
        LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
        assertThat(map.segments).hasLength(4); // concurrency level
        assertEquals(4, map.segments[0].table.length()); // capacity / conc level
      }
    
      @GwtIncompatible // CountDownLatch
      static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testSizingDefaults() {
        LoadingCache<?, ?> cache = CacheBuilder.newBuilder().build(identityLoader());
        LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
        assertThat(map.segments).hasLength(4); // concurrency level
        assertEquals(4, map.segments[0].table.length()); // capacity / conc level
      }
    
      @GwtIncompatible // CountDownLatch
      static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

        misconfigured `ExecutorService` that limited the number of worker threads.
        If you're using `Call.enqueue()` this update should significantly improve
        request concurrency.
    
     *  **Fix: Lazily initialize the response cache.** This avoids strict mode
        warnings when initializing OkHttp on Android‘s main thread.
    
     *  **Fix: Disable ALPN on Android 4.4.** That release of the feature was
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Monitor.java

       *
       * <p>We manage calls to this method carefully, to signal only when necessary, but never losing a
       * signal, which is the classic problem of this kind of concurrency construct. We must signal if
       * the current thread is about to relinquish the lock and may have changed the state protected by
       * the monitor, thereby causing some guard to be satisfied.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          }
          String error = errorMessage.get();
          assertNull(error, error);
        }
        executor.shutdown();
      }
    
      /**
       * He did the bash, he did the future bash The future bash, it was a concurrency smash He did the
       * bash, it caught on in a flash He did the bash, he did the future bash
       */
    
      public void testFutureBash() {
        if (isWindows()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        }
    
        /**
         * Deletes a document from the specified index with optimistic concurrency control.
         *
         * @param index       the index name
         * @param id          the document ID
         * @param seqNo       the sequence number for optimistic concurrency control
         * @param primaryTerm the primary term for optimistic concurrency control
         * @return true if the document was deleted successfully, false otherwise
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
Back to top