Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 103 for Concurrency (0.11 sec)

  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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/api/main_test.go

    }
    
    var listCache sync.Map // map[string]listImports, keyed by contextName
    
    // listSem is a semaphore restricting concurrent invocations of 'go list'. 'go
    // list' has its own internal concurrency, so we use a hard-coded constant (to
    // allow the I/O-intensive phases of 'go list' to overlap) instead of scaling
    // all the way up to GOMAXPROCS.
    var listSem = make(chan semToken, 2)
    
    type semToken struct{}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                        }
                    }
                    assertTrue(hasNonZero, "Each array should have a signature");
                }
            }
    
            @Test
            @DisplayName("Should handle high concurrency without deadlock")
            void testHighConcurrencyNoDeadlock() throws InterruptedException {
                int threadCount = 100;
                int operationsPerThread = 50;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  10. cmd/peer-rest-client.go

    	values := make(url.Values)
    	values.Set(peerRESTSize, strconv.Itoa(opts.objectSize))
    	values.Set(peerRESTConcurrent, strconv.Itoa(opts.concurrency))
    	values.Set(peerRESTDuration, opts.duration.String())
    	values.Set(peerRESTStorageClass, opts.storageClass)
    	values.Set(peerRESTBucket, opts.bucketName)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top