Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 974 for concurrent1 (0.4 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            // Test thread safety with concurrent operations
            final int threadCount = 10;
            Thread[] threads = new Thread[threadCount];
            final boolean[] results = new boolean[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    String thumbnailId = "concurrent-" + index;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

    import java.io.IOException
    import java.net.SocketTimeoutException
    import java.time.Duration
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.SynchronousQueue
    import java.util.concurrent.ThreadPoolExecutor
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicReference
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Map.Entry;
    import java.util.concurrent.ConcurrentMap;
    import org.jspecify.annotations.NullMarked;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code putIfAbsent} operations on a concurrent map. Can't be
     * invoked directly; please see {@link
     * com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.io.IOException;
    import java.util.concurrent.CompletableFuture;
    import java.util.concurrent.ExecutionException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Map.Entry;
    import java.util.concurrent.ConcurrentMap;
    import org.jspecify.annotations.NullMarked;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code putIfAbsent} operations on a concurrent map. Can't be
     * invoked directly; please see {@link
     * com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TestLocking.java

    import java.io.IOException;
    import java.io.InputStream;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Test class for SMB file locking operations.
     * This class is used to test concurrent file access and locking behavior.
     */
    public class TestLocking implements Runnable {
    
        private static final Logger logger = LoggerFactory.getLogger(TestLocking.class);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import static com.google.common.cache.CacheBuilderSpec.parse;
    import static com.google.common.cache.TestingWeighers.constantWeigher;
    import static java.util.concurrent.TimeUnit.DAYS;
    import static java.util.concurrent.TimeUnit.HOURS;
    import static java.util.concurrent.TimeUnit.MINUTES;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Suppliers;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.concurrent.ConcurrentMap;
    import org.jspecify.annotations.NullMarked;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code replace(K, V)} operations on a concurrent map. Can't be
     * invoked directly; please see {@link
     * com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Serialization.java

      static int readCount(ObjectInputStream stream) throws IOException {
        return stream.readInt();
      }
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (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;
    
    public class IndexUpdateCallbackTest extends UnitFessTestCase {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top