Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 985 for concurrent1 (0.57 sec)

  1. android/guava/src/com/google/common/cache/CacheStats.java

    import static java.lang.Math.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    import java.util.Objects;
    import java.util.concurrent.Callable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Statistics about the performance of a {@link Cache}. Instances of this class are immutable.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * LocalCache emulation for GWT.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/WitnessClientTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.net.InetAddress;
    import java.util.concurrent.CompletableFuture;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.StandardSystemProperty.JAVA_SPECIFICATION_VERSION;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.ImmutableSet;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.net.URLClassLoader;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

     */
    package okhttp3
    
    import java.io.File
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.UnknownHostException
    import java.util.Arrays
    import java.util.concurrent.ThreadFactory
    import okhttp3.internal.http2.Header
    import okio.Buffer
    import okio.FileSystem
    import org.junit.jupiter.api.Assumptions.assumeFalse
    import org.junit.jupiter.api.Assumptions.assumeTrue
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

    import assertk.assertions.contains
    import assertk.assertions.isEmpty
    import assertk.assertions.isNotEmpty
    import java.io.ByteArrayOutputStream
    import java.io.PrintStream
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import okhttp3.Dispatcher
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (1)
  7. 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)
  8. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

    import assertk.assertions.isTrue
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.HttpURLConnection
    import java.time.Duration
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicReference
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top