Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for ConcurrentHashMap (0.16 sec)

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

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.testing.NullPointerTester;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import junit.framework.TestCase;
    
    /**
     * @author Charles Fry
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // MapMaker
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

     * under the License.
     */
    package org.apache.maven.cli.transfer;
    
    import java.io.File;
    import java.io.PrintWriter;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    
    import org.apache.maven.jline.JLineMessageBuilderFactory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapMakerTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.testing.NullPointerTester;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import junit.framework.TestCase;
    
    /**
     * @author Charles Fry
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // MapMaker
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.interval.impl;
    
    import java.net.URL;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.codelibs.core.exception.InterruptedRuntimeException;
    import org.codelibs.core.lang.StringUtil;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

        private final Logger logger = LoggerFactory.getLogger(StandardCrawlerContainer.class);
    
        private final Map<String, ComponentHolder<?>> singletonMap = new ConcurrentHashMap<>();
    
        private final Map<String, ComponentDef<?>> prototypeMap = new ConcurrentHashMap<>();
    
        private boolean available = true;
    
        public StandardCrawlerContainer() {
            initialize();
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    
    /**
     * MapMaker emulation.
     *
     * @author Charles Fry
     */
    @ElementTypesAreNonnullByDefault
    public final class MapMaker {
      private int initialCapacity = 16;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

    import javax.inject.Inject;
    import javax.inject.Named;
    
    import java.nio.file.Path;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.ProducedArtifact;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.di.SessionScoped;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

                shadow.maven = maven;
    
                return shadow;
            }
        }
    
        private final ConcurrentHashMap<String, LocalContext> residentContext;
    
        public DefaultResidentMavenInvoker(ProtoLookup protoLookup) {
            super(protoLookup);
            this.residentContext = new ConcurrentHashMap<>();
        }
    
        @Override
        public void close() throws InvokerException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

      private static final String TEST_KEY = "test key";
      private static final String TEST_VALUE = "test value";
    
      // Non-loading versions:
      private final Map<Object, Object> map = new MapMaker().makeMap(); // Returns ConcurrentHashMap
      private final Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build();
      private final Cache<Object, Object> cacheNoStats = CacheBuilder.newBuilder().build();
    
      @BeforeExperiment
      void setUp() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

    import com.google.common.base.Function;
    import com.google.common.primitives.Ints;
    import java.util.List;
    import java.util.Random;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ExecutorService;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top