Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 61 for ConcurrentHashMap (0.14 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

    import java.util.Collections;
    import java.util.Deque;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.eventspy.EventSpy;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            private final Map<String, MavenProject> projectIndex = new ConcurrentHashMap<>(256);
    
            // Store computed repositories per project to avoid leakage between projects
            private final Map<String, List<ArtifactRepository>> projectRepositories = new ConcurrentHashMap<>();
    
            /**
             * Get the effective repositories for a project. If project-specific repositories
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  3. .idea/inspectionProfiles/Gradle.xml

            <constraint name="__context__" within="" contains="" />
          </replaceConfiguration>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 26 21:49:47 GMT 2024
    - 15.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

    import java.util.Collections;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executors;
    import java.util.concurrent.locks.ReadWriteLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       * @since 15.0
       */
      public static <E> Set<E> newConcurrentHashSet() {
        return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>());
      }
    
      /**
       * Creates a thread-safe set backed by a hash map and containing the given elements. The set is
       * backed by a {@link ConcurrentHashMap} instance, and thus carries the same concurrency
       * guarantees.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Joiner.java

               * go out of date (for a collection like CopyOnWriteArrayList, which may have been safely
               * modified concurrently), or it might have been only an estimate to begin with (for a
               * collection like ConcurrentHashMap, which sums up several counters that may not be in
               * sync with one another). We accommodate that by resizing as necessary.
               */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

    /**
     * The concurrent hash map implementation built by {@link MapMaker}.
     *
     * <p>This implementation is heavily derived from revision 1.96 of <a
     * href="http://tinyurl.com/ConcurrentHashMap">ConcurrentHashMap.java</a>.
     *
     * @param <K> the type of the keys in the map
     * @param <V> the type of the values in the map
     * @param <E> the type of the {@link InternalEntry} entry implementation used internally
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 89.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/util/concurrent/Striped.java

    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A striped {@code Lock/Semaphore/ReadWriteLock}. This offers the underlying lock striping similar
     * to that of {@code ConcurrentHashMap} in a reusable form, and extends it for semaphores and
     * read-write locks. Conceptually, lock striping is the technique of dividing a lock into many
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/cache/LocalCache.java

     *
     * <p>This implementation is heavily derived from revision 1.96 of <a
     * href="http://tinyurl.com/ConcurrentHashMap">ConcurrentHashMap.java</a>.
     *
     * @author Charles Fry
     * @author Bob Lee ({@code com.google.common.collect.MapMaker})
     * @author Doug Lea ({@code ConcurrentHashMap})
     */
    @SuppressWarnings({
      "GoodTime", // lots of violations (nanosecond math)
      "nullness", // too much trouble for the payoff
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Maps.java

        return new LinkedHashMap<>(capacity(expectedSize));
      }
    
      /**
       * Creates a new empty {@link ConcurrentHashMap} instance.
       *
       * @since 3.0
       */
      public static <K, V> ConcurrentMap<K, V> newConcurrentMap() {
        return new ConcurrentHashMap<>();
      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the natural ordering of its
       * elements.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
Back to Top