Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for multithreaded (0.26 sec)

  1. compat/maven-embedder/src/test/projects/config/.mvn/maven.config

    -T8
    --builder
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 28 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        Uninterruptibles.awaitUninterruptibly(latch);
    
        // See Dispatcher.LegacyAsyncDispatcher for an explanation of why there aren't really any
        // useful testable guarantees about the behavior of that dispatcher in a multithreaded
        // environment. Here we simply test that all the expected dispatches happened in some order.
        assertThat(dispatchedSubscribers).containsExactly(i1, i2, i3, s1, s1, s1, s1, s2, s2, s2, s2);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        Uninterruptibles.awaitUninterruptibly(latch);
    
        // See Dispatcher.LegacyAsyncDispatcher for an explanation of why there aren't really any
        // useful testable guarantees about the behavior of that dispatcher in a multithreaded
        // environment. Here we simply test that all the expected dispatches happened in some order.
        assertThat(dispatchedSubscribers).containsExactly(i1, i2, i3, s1, s1, s1, s1, s2, s2, s2, s2);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/eventbus/Dispatcher.java

        // This dispatcher matches the original dispatch behavior of AsyncEventBus.
        //
        // We can't really make any guarantees about the overall dispatch order for this dispatcher in
        // a multithreaded environment for a couple of reasons:
        //
        // 1. Subscribers to events posted on different threads can be interleaved with each other
        //    freely. (A event on one thread, B event on another could yield any of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                int degreeOfConcurrency = calculateDegreeOfConcurrency(
                        context.invokerRequest.options().threads().get());
                if (degreeOfConcurrency > 1) {
                    request.setBuilderId("multithreaded");
                    request.setDegreeOfConcurrency(degreeOfConcurrency);
                }
            }
    
            //
            // Allow the builder to be overridden by the user if requested. The builders are now pluggable.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            CliRequest request = new CliRequest(new String[0], null);
    
            // read .mvn/maven.config
            cli.initialize(request);
            cli.cli(request);
            assertEquals("multithreaded", request.commandLine.getOptionValue(CLIManager.BUILDER));
            assertEquals("8", request.commandLine.getOptionValue(CLIManager.THREADS));
    
            // override from command line
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            if (threadConfiguration != null) {
                int degreeOfConcurrency = calculateDegreeOfConcurrency(threadConfiguration);
                if (degreeOfConcurrency > 1) {
                    request.setBuilderId("multithreaded");
                    request.setDegreeOfConcurrency(degreeOfConcurrency);
                }
            }
    
            //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top