Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 117 for Concurrency (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

         * We also lock on a given project to forbid a forked lifecycle to be executed concurrently with the project.
         * TODO: ideally, the builder should take care of the ordering in a smarter way
         * TODO: and concurrency issues fixed with MNG-7157
         */
        protected class ProjectLock implements NoExceptionCloseable {
            final Lock acquiredAggregatorLock;
            final OwnerReentrantLock acquiredProjectLock;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        private final transient ConcurrentMap<E, Integer> countMap;
    
        /**
         * Creates a new, empty {@code OldConcurrentHashMultiset} using the default initial capacity,
         * load factor, and concurrency settings.
         */
        static <E> OldConcurrentHashMultiset<E> create() {
          return new OldConcurrentHashMultiset<E>(new ConcurrentHashMap<E, Integer>());
        }
    
        @VisibleForTesting
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         */
        @Nonnull
        Map<String, String> getEffectiveProperties(@Nullable Project project);
    
        /**
         * Returns the degree of concurrency for the build.
         *
         * @return  the degree of concurrency
         */
        int getDegreeOfConcurrency();
    
        /**
         * Retrieves a list of projects associated with the session.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  4. doc/go_mem.html

    <p>
    The following formal definition of Go's memory model closely follows
    the approach presented by Hans-J. Boehm and Sarita V. Adve in
    “<a href="https://dl.acm.org/doi/10.1145/1375581.1375591">Foundations of the C++ Concurrency Memory Model</a>”,
    published in PLDI 2008.
    The definition of data-race-free programs and the guarantee of sequential consistency
    for race-free programs are equivalent to the ones in that work.
    </p>
    
    <p>
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 05 15:41:37 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

        @Override
        void parseInteger(CacheBuilderSpec spec, int value) {
          checkArgument(
              spec.concurrencyLevel == null,
              "concurrency level was already set to %s",
              spec.concurrencyLevel);
          spec.concurrencyLevel = value;
        }
      }
    
      /** Parse weakKeys */
      private static final class KeyStrengthParser implements ValueParser {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/cache/CacheBuilderSpec.java

        @Override
        void parseInteger(CacheBuilderSpec spec, int value) {
          checkArgument(
              spec.concurrencyLevel == null,
              "concurrency level was already set to %s",
              spec.concurrencyLevel);
          spec.concurrencyLevel = value;
        }
      }
    
      /** Parse weakKeys */
      private static final class KeyStrengthParser implements ValueParser {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      int takeIndex;
    
      /** items index for next put, offer, or add. */
      int putIndex;
    
      /** Number of items in the queue */
      private int count;
    
      /*
       * Concurrency control uses the classic two-condition algorithm
       * found in any textbook.
       */
    
      /** Monitor guarding all access */
      final Monitor monitor;
    
      /** Guard for waiting takes */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            performProjectActivation(context, request.getProjectActivation());
            performProfileActivation(context, request.getProfileActivation());
    
            //
            // Builder, concurrency and parallelism
            //
            // We preserve the existing methods for builder selection which is to look for various inputs in the threading
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Sets.java

        return new HashSet<>(Maps.capacity(expectedSize));
      }
    
      /**
       * Creates a thread-safe set backed by a hash map. The set is backed by a {@link
       * ConcurrentHashMap} instance, and thus carries the same concurrency guarantees.
       *
       * <p>Unlike {@code HashSet}, this class does NOT allow {@code null} to be used as an element. The
       * set is serializable.
       *
       * @return a new, empty thread-safe {@code Set}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * is accessed. This is in contrast to {@link java.util.concurrent.Semaphore} which restricts the
     * number of concurrent accesses instead of the rate (note though that concurrency and rate are
     * closely related, e.g. see <a href="http://en.wikipedia.org/wiki/Little%27s_law">Little's
     * Law</a>).
     *
     * <p>A {@code RateLimiter} is defined primarily by the rate at which permits are issued. Absent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
Back to Top