Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 163 for concurrencia (0.19 seconds)

  1. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Sets.java

        return new HashSet<>(Maps.capacity(expectedSize));
      }
    
      /**
       * Creates a thread-safe set backed by a hash map. The set is backed by a {@link
       * ConcurrentHashMap} instance, and thus carries the same concurrency guarantees.
       *
       * <p>Unlike {@code HashSet}, this class does NOT allow {@code null} to be used as an element. The
       * set is serializable.
       *
       * @return a new, empty thread-safe {@code Set}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  3. 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
        assertThat(map.segments[0].table.length()).isEqualTo(4); // capacity / conc level
      }
    
      @J2ktIncompatible
      @GwtIncompatible // CountDownLatch
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  4. 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
        assertThat(map.segments[0].table.length()).isEqualTo(4); // capacity / conc level
      }
    
      @J2ktIncompatible
      @GwtIncompatible // CountDownLatch
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  5. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      int takeIndex;
    
      /** items index for next put, offer, or add. */
      int putIndex;
    
      /** Number of items in the queue */
      private int count;
    
      /*
       * Concurrency control uses the classic two-condition algorithm
       * found in any textbook.
       */
    
      /** Monitor guarding all access */
      final Monitor monitor;
    
      /** Guard for waiting takes */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(map.ticker).isSameInstanceAs(NULL_TICKER);
    
        assertThat(map.concurrencyLevel).isEqualTo(4);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertThat(map.segments[0].table.length()).isEqualTo(16 / map.segments.length);
    
        assertThat(map.evictsBySize()).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(map.ticker).isSameInstanceAs(NULL_TICKER);
    
        assertThat(map.concurrencyLevel).isEqualTo(4);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertThat(map.segments[0].table.length()).isEqualTo(16 / map.segments.length);
    
        assertThat(map.evictsBySize()).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
  9. cmd/admin-handlers.go

    }
    
    // ObjectSpeedTestHandler - reports maximum speed of a cluster by performing PUT and
    // GET operations on the server, supports auto tuning by default by automatically
    // increasing concurrency and stopping when we have reached the limits on the
    // system.
    func (a adminAPIHandlers) ObjectSpeedTestHandler(w http.ResponseWriter, r *http.Request) {
    	ctx, cancel := context.WithCancel(r.Context())
    	defer cancel()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          String error = errorMessage.get();
          assertWithMessage(error).that(error).isNull();
        }
        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()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
Back to Top