Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 106 for ConcurrentHashMap (0.75 seconds)

  1. 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
     */
    public final class MapMaker {
      private int initialCapacity = 16;
    
      public MapMaker() {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

        private static final ConcurrentMap<Class<?>, Map<String, MethodInfo>> METHOD_CACHE = new ConcurrentHashMap<>();
    
        // Cache for field lookups: Class -> FieldName -> Field
        private static final ConcurrentMap<Class<?>, Map<String, Field>> FIELD_CACHE = new ConcurrentHashMap<>();
    
        private final ConverterLookup lookup;
        private final ClassLoader loader;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

    import com.google.common.base.Function;
    import com.google.common.testing.NullPointerTester;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Charles Fry
     */
    @GwtCompatible
    @J2ktIncompatible // MapMaker
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

     */
    package org.apache.maven.artifact.handler.manager;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.handler.DefaultArtifactHandler;
    import org.apache.maven.eventspy.AbstractEventSpy;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    pluginContextsByProjectAndPluginKey.computeIfAbsent(projectKey, k -> new ConcurrentHashMap<>());
    
            String pluginKey = plugin.getPluginLookupKey();
    
            return pluginContextsByKey.computeIfAbsent(pluginKey, k -> new ConcurrentHashMap<>());
        }
    
        public ProjectDependencyGraph getProjectDependencyGraph() {
            return projectDependencyGraph;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        private static final Logger logger = LogManager.getLogger(ProcessHelper.class);
    
        /** Map of running processes indexed by session ID */
        protected final ConcurrentHashMap<String, JobProcess> runningProcessMap = new ConcurrentHashMap<>();
    
        /** Timeout in seconds for process destruction */
        protected int processDestroyTimeout = 10;
    
        /** Timeout in seconds for stream closing operations */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/MapMaker.java

     * }
     *
     * <p>These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent
     * map that behaves similarly to a {@link ConcurrentHashMap}.
     *
     * <p>The returned map is implemented as a hash table with similar performance characteristics to
     * {@link ConcurrentHashMap}. It supports all optional operations of the {@code ConcurrentMap}
     * interface. It does not permit null keys or values.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

            Map<Element, Element> map = new ConcurrentHashMap<>(keys.size(), 0.75f, 1);
            for (Element element : keys) {
              map.put(element, element);
            }
            return map;
          }
        },
        ConcurrentHM16 {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            Map<Element, Element> map = new ConcurrentHashMap<>(keys.size(), 0.75f, 16);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/MapMaker.java

     * }
     *
     * <p>These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent
     * map that behaves similarly to a {@link ConcurrentHashMap}.
     *
     * <p>The returned map is implemented as a hash table with similar performance characteristics to
     * {@link ConcurrentHashMap}. It supports all optional operations of the {@code ConcurrentMap}
     * interface. It does not permit null keys or values.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

                exchange.waitForProcessed();
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }
    
        private final ConcurrentHashMap<TransferResourceIdentifier, Boolean> ongoing = new ConcurrentHashMap<>();
    
        @Override
        public void transferInitiated(TransferEvent event) {
            ongoing.putIfAbsent(new TransferResourceIdentifier(event.getResource()), Boolean.TRUE);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
Back to Top