Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 989 for concurrents (6.25 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.CopyOnWriteArrayList;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtIncompatible // reflection
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

    import java.io.Flushable
    import java.io.IOException
    import okhttp3.internal.cache.DiskLruCache.Editor
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.concurrent.Lockable
    import okhttp3.internal.concurrent.Task
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.concurrent.assertLockHeld
    import okhttp3.internal.deleteContents
    import okhttp3.internal.deleteIfExists
    import okhttp3.internal.isCivilized
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  3. guava-testlib/src/module-info.java

      exports com.google.common.collect.testing.google;
      exports com.google.common.collect.testing.testers;
      exports com.google.common.escape.testing;
      exports com.google.common.testing;
      exports com.google.common.util.concurrent.testing;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 01 21:16:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

    import java.util.Map;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.stream.Collectors;
    
    import org.apache.commons.lang3.StringUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.concurrent.CommonPoolUtil;
    import org.codelibs.core.lang.StringUtil;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * or extended by Maven plugins or extensions and consumed by Maven itself.</li>
     * <li>{@link ThreadSafe}: Implies that implementations of this interface must
     * be safe to invoke from multiple threads concurrently.</li>
     * </ul>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    @ThreadSafe
    public interface Mojo {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            String directoryPath = "/test/concurrent";
    
            directoryLeaseManager.requestDirectoryLease(directoryPath, DirectoryLeaseState.DIRECTORY_READ_HANDLE,
                    DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath);
    
            // Test concurrent updates
            Thread[] updateThreads = new Thread[5];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.util.concurrent.TimeUnit;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class ConfigureTimeouts {
      private final OkHttpClient client;
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Sep 28 18:00:26 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // Test thread safety of utility methods
            final int threadCount = 10;
            final java.util.concurrent.CountDownLatch latch = new java.util.concurrent.CountDownLatch(threadCount);
            final java.util.concurrent.atomic.AtomicInteger errorCount = new java.util.concurrent.atomic.AtomicInteger(0);
    
            for (int i = 0; i < threadCount; i++) {
                final int threadId = i;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. 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. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import okhttp3.CacheControl.Companion.parse
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top