Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,176 for CONCURRENT (0.21 seconds)

  1. guava/src/com/google/common/collect/MoreCollectors.java

     * with a {@code com.google.common} type.
     *
     * @author Louis Wasserman
     * @since 21.0
     */
    @GwtCompatible
    public final class MoreCollectors {
    
      /*
       * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based
       * collector without breaking j2cl?
       */
      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
              () -> new ToOptionalState<>(null),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        }
    
        @Test
        void testConcurrentFailureHandling() throws InterruptedException {
            IOException error = new IOException("Connection failed");
    
            // Simulate concurrent failures
            Thread[] threads = new Thread[5];
            for (int i = 0; i < threads.length; i++) {
                threads[i] = new Thread(() -> failover.handleFailure(failedChannel, error));
                threads[i].start();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/StandardTable.java

           *   to iterate it to exhaustion. Then we can apply the logic above about an empty
           *   columnIterator. (This assumes no concurrent modification, but behavior under concurrent
           *   modification is undefined, anyway.)
           */
          requireNonNull(rowEntry);
          Entry<C, V> columnEntry = columnIterator.next();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A multiset that supports concurrent modifications and that provides atomic versions of most
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  5. cmd/speedtest.go

    			for _, localDiskCount := range globalEndpoints.NLocalDisksPathsPerPool() {
    				if localDiskCount < concurrency {
    					concurrency = localDiskCount
    				}
    			}
    
    			// Any concurrency less than '4' just stick to '4' concurrent
    			// operations for now to begin with.
    			if concurrency < 4 {
    				concurrency = 4
    			}
    
    			// if GOMAXPROCS is set to a lower value then choose to use
    			// concurrency == GOMAXPROCS instead.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Should not match with different attributes
            assertFalse(fileInfo.matches(1024L, 1000L, 0x10));
        }
    
        @Test
        public void testThreadSafety() throws InterruptedException {
            // Test concurrent updates from multiple threads
            Thread[] threads = new Thread[10];
    
            for (int i = 0; i < threads.length; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. docs/bigdata/README.md

    fs.s3a.connection.timeout=200000
    fs.s3a.endpoint=http://minio:9000
    fs.s3a.impl=org.apache.hadoop.fs.s3a.S3AFileSystem
    
    fs.s3a.committer.threads=2048 # Number of threads writing to MinIO
    fs.s3a.connection.maximum=8192 # Maximum number of concurrent conns
    fs.s3a.fast.upload.active.blocks=2048 # Number of parallel uploads
    fs.s3a.fast.upload.buffer=disk # Use disk as the buffer for uploads
    fs.s3a.fast.upload=true # Turn on fast upload mode
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

    import java.lang.reflect.InvocationTargetException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.function.Consumer;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

        /** Whether to use SMB2/SMB3 leases for caching */
        protected boolean useLease = true;
        /** Lease timeout in milliseconds */
        protected int leaseTimeout = 30000;
        /** Maximum number of concurrent leases */
        protected int maxLeases = 1000;
        /** Preferred lease version (1 or 2) */
        protected int leaseVersion = 2;
        /** Lease break timeout in seconds (per MS-SMB2 spec) */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.ds.callback;
    
    import java.util.HashMap;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
Back to Top