Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for parallelize (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        BlockingQueue<Future<T>> futureQueue = Queues.newLinkedBlockingQueue();
        long timeoutNanos = unit.toNanos(timeout);
    
        // For efficiency, especially in executors with limited
        // parallelism, check to see if previously submitted tasks are
        // done before submitting more of them. This interleaving
        // plus the exception mechanics account for messiness of main
        // loop.
    
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                int parallelism = DEFAULT_BUILDER_PARALLELISM;
                try {
                    String str = request.getUserProperties().getProperty(BUILDER_PARALLELISM);
                    if (str == null) {
                        str = request.getSystemProperties().getProperty(BUILDER_PARALLELISM);
                    }
                    if (str != null) {
                        parallelism = Integer.parseInt(str);
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CollectSpliterators.java

       *
       * <p>To avoid having this type, we could use {@code FlatMapSpliterator} directly. The main
       * advantages to having the type are the ability to use its constructor reference below and the
       * parallelism with the primitive version. In short, it makes its caller ({@code flatMap})
       * simpler.
       *
       * @param <InElementT> the element type of the input spliterator
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 15:21:23 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top