Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 261 for executor (0.07 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        @Inject
        private LegacySupport legacySupport;
    
        private final Executor executor;
    
        public DefaultArtifactResolver() {
            int threads = Integer.getInteger("maven.artifact.threads", 5);
            if (threads <= 1) {
                executor = Runnable::run;
            } else {
                executor = new ThreadPoolExecutor(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

            for (ProjectSegment segment : projectBuilds) {
                segment.getSession().setParallel(parallel);
            }
            ExecutorService executor = Executors.newFixedThreadPool(nThreads, new BuildThreadFactory());
            CompletionService<ProjectSegment> service = new ExecutorCompletionService<>(executor);
    
            for (TaskSegment taskSegment : taskSegments) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 16 03:42:09 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

    import org.apache.maven.api.xml.XmlService;
    import org.apache.maven.execution.BuildFailure;
    import org.apache.maven.execution.BuildSuccess;
    import org.apache.maven.execution.ExecutionEvent;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.execution.ProjectExecutionEvent;
    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)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

            int numThreads = 10;
            int numIterations = 100;
            ExecutorService executor = Executors.newFixedThreadPool(numThreads);
            CountDownLatch latch = new CountDownLatch(numThreads);
            AtomicReference<Exception> exception = new AtomicReference<>();
    
            for (int i = 0; i < numThreads; i++) {
                executor.submit(() -> {
                    try {
                        for (int j = 0; j < numIterations; j++) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

    import org.apache.maven.api.xml.XmlNode;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.MojoExecutionEvent;
    import org.apache.maven.execution.MojoExecutionListener;
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.execution.ProjectExecutionEvent;
    import org.apache.maven.execution.ProjectExecutionListener;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

            this.eventCatapult = eventCatapult;
            this.defaultLifeCycles = defaultLifeCycles;
            this.executor = executor;
            this.lifecyclePluginResolver = lifecyclePluginResolver;
            this.mojoDescriptorCreator = mojoDescriptorCreator;
        }
    
        @Override
        public void execute(MavenSession session) {
            eventCatapult.fire(ExecutionEvent.Type.SessionStarted, session, null);
    
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. impl/maven-core/pom.xml

                  <revisionOnScmFailure>NON_CANONICAL</revisionOnScmFailure>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-failsafe-plugin</artifactId>
            <executions>
              <execution>
                <!--  <phase></phase> -->
                <goals>
                  <goal>integration-test</goal>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 10:37:56 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  8. docs/bigdata/README.md

    ```
    ./bin/spark-submit --class org.apache.spark.examples.SparkPi \
        --master yarn-client \
        --num-executors 1 \
        --driver-memory 512m \
        --executor-memory 512m \
        --executor-cores 1 \
        examples/jars/spark-examples*.jar 10
    ```
    
    The job should produce an output as shown below. Note the value of pi in the output.
    
    ```
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  9. .bazelrc

    # END TF TEST SUITE OPTIONS
    
    # START CROSS-COMPILE CONFIGS
    # Set execution platform to Linux x86
    # Note: Lot of the "host_" flags such as "host_cpu" and "host_crosstool_top"
    # flags seem to be actually used to specify the execution platform details. It
    # seems it is this way because these flags are old and predate the distinction
    # between host and execution platform.
    common:cross_compile_base --config=clang_local
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 26 23:20:26 GMT 2025
    - 56.8K bytes
    - Click Count (0)
  10. tensorflow/BUILD

        visibility = ["//visibility:public"],
        win_def_file = ":tensorflow_filtered_def_file",
    )
    
    # To avoid duplication, check that the C++ or python library does not depend on
    # the stream executor cuda plugins. Targets that want to use cuda APIs should
    # instead depend on the dummy plugins in //tensorflow/compiler/xla/tsl/platform/default/build_config
    # and use header only targets.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Nov 12 19:21:56 GMT 2025
    - 53.1K bytes
    - Click Count (0)
Back to Top