Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for downstream (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java

        private long calculateWeight(MavenProject project) {
            // Calculate maximum weight of downstream dependencies
            long maxDownstreamWeight = dependencyGraph.getDownstreamProjects(project, false).stream()
                    .mapToLong(this::getProjectWeight)
                    .max()
                    .orElse(0L);
    
            // Weight = 1 + max downstream weight (similar to Takari Smart Builder)
            return 1L + maxDownstreamWeight;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 12:03:40 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java

        //
        // When getting the non-transitive, downstream projects of aProject with a whitelist of aProject, dProject,
        // and eProject, we expect to get dProject, and eProject with no duplicates.
        // Before the fix, this would return dProject and eProject twice, once from bProject and once from cProject. As
        // aProject is whitelisted, it should not be returned as a downstream project for itself. bProject and cProject
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

            comparator = new SmartProjectComparator(dependencyGraph);
        }
    
        @Test
        void testProjectWeightCalculation() {
            // Test that projects with longer downstream chains get higher weights
            // Graph: A -> B,C; B -> X,Y; C -> X,Z
            MavenProject projectA = ProjectDependencyGraphStub.A;
            MavenProject projectB = ProjectDependencyGraphStub.B;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 12:03:40 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

    import org.eclipse.aether.RepositorySystemSession;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Builds consumer POMs from project models, transforming them into a format suitable for downstream consumers.
     * <p>
     * A consumer POM is a simplified version of a project's POM that is published for consumption by other projects.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeResolver.java

            throw new IllegalArgumentException("No type mapping from " + fromClass + " to " + to);
          }
        }.visit(from);
      }
    
      /**
       * Resolves all type variables in {@code type} and all downstream types and returns a
       * corresponding type with type variables resolved.
       */
      public Type resolveType(Type type) {
        checkNotNull(type);
        if (type instanceof TypeVariable) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

            throw new IllegalArgumentException("No type mapping from " + fromClass + " to " + to);
          }
        }.visit(from);
      }
    
      /**
       * Resolves all type variables in {@code type} and all downstream types and returns a
       * corresponding type with type variables resolved.
       */
      public Type resolveType(Type type) {
        checkNotNull(type);
        if (type instanceof TypeVariable) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                            .makeBehavior(REACTOR_MAKE_UPSTREAM)
                            .expectResult(PARENT_MODULE, MODULE_C, MODULE_A, MODULE_C_2, INDEPENDENT_MODULE),
                    scenario("Resume from exclude project downstream")
                            .resumeFrom(MODULE_A)
                            .inactiveRequiredProjects(MODULE_B)
                            .expectResult(MODULE_A, MODULE_C_2, INDEPENDENT_MODULE),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 20:39:03 UTC 2025
    - 28K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    	})
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    
    	// Process until remote disconnects.
    	// Blocks on upstream (out) congestion.
    	// We have however a dynamic downstream buffer (ch).
    	buf := bytes.NewBuffer(grid.GetByteBuffer())
    	enc := json.NewEncoder(buf)
    	tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    	for {
    		select {
    		case <-ctx.Done():
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 53.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

              // Use a different task queue for each stream because they should be handled in parallel.
              taskRunner.newQueue().execute("$connectionName[$streamId] onStream") {
                try {
                  listener.onStream(newStream)
                } catch (e: IOException) {
                  Platform.get().log("Http2Connection.Listener failure for $connectionName", INFO, e)
                  ignoreIoExceptions {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

          ) as SSLSocket
        sslSocket.useClientMode = false
        Platform.get().configureTlsExtensions(sslSocket, null, listOf(Protocol.HTTP_2))
        sslSocket.startHandshake()
        return sslSocket
      }
    
      override fun onStream(stream: Http2Stream) {
        try {
          val requestHeaders = stream.takeHeaders()
          var path: String? = null
          var i = 0
          val size = requestHeaders.size
          while (i < size) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top