Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for sqrt (0.21 sec)

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

                        List<Binding<Q>> bindingList = new ArrayList<>(res);
                        Comparator<Binding<Q>> comparing = Comparator.comparing(Binding::getPriority);
                        bindingList.sort(comparing.reversed());
                        Binding<Q> binding = bindingList.get(0);
                        return compile(binding);
                    }
                    if (key.getRawType() == List.class) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. api/maven-api-model/src/main/mdo/maven.mdo

              <code>
                <![CDATA[
        public static final String SOURCE_POM = "pom";
    
        public static final String SOURCE_SETTINGS = "settings.xml";
    
        // We don't want this to be parseable...it's sort of 'hidden'
        // default source for this profile is in the pom itself.
        private String source = SOURCE_POM;
    
        public void setSource(String source) {
            this.source = source;
        }
    
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                if (exits != null && exits.size() > 0) {
                    MetadataGraphEdge[] sortedExits = exits.toArray(new MetadataGraphEdge[0]);
                    Arrays.sort(sortedExits, (e1, e2) -> {
                        if (e1.getDepth() == e2.getDepth()) {
                            if (e2.getPomOrder() == e1.getPomOrder()) {
                                return e1.getTarget()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                                artifact.setAvailableVersions(versions);
                                            }
    
                                            Collections.sort(versions);
    
                                            VersionRange versionRange = artifact.getVersionRange();
    
                                            version = versionRange.matchVersion(versions);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public synchronized class TopologicalSorter { private static final Integer NOT_VISTITED; private static final Integer VISITING; private static final Integer VISITED; public void TopologicalSorter(); public static java.util.List sort(DAG); public static java.util.List sort(Vertex); private static java.util.List dfs(DAG); private static boolean isNotVisited(Vertex, java.util.Map); private static void dfsVisit(Vertex, java.util.Map, java.util.LinkedList); static void <clinit>(); } org/codehaus/plex...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

    /**
     * ProjectSorter
     */
    public class ProjectSorter {
        private Graph graph;
    
        private List<MavenProject> sortedProjects;
    
        private Map<String, MavenProject> projectMap;
    
        /**
         * Sort a list of projects.
         * <ul>
         * <li>collect all the vertices for the projects that we want to build.</li>
         * <li>iterate through the deps of each project and if that dep is within
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

        //
        // 9) Execute AbstractLifecycleParticipant.afterProjectsRead(session)
        //
        // 10) Create ProjectDependencyGraph without trimming (as trimming was done in 7). A new topological sort is
        // required after the execution of 9) as the AbstractLifecycleParticipants are free to mutate the MavenProject
        // instances, which may change dependencies which can, in turn, affect the build order.
        //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                //  or QUALIFIERS.size and then resort to lexical ordering. Most comparisons are decided by the first
                // character,
                // so this is still fast. If more characters are needed then it requires a lexical sort anyway.
                return i == -1 ? (QUALIFIERS.size() + "-" + qualifier) : String.valueOf(i);
            }
    
            @Override
            public int compareTo(Item item) {
                if (item == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java

                            }
                        } catch (InvalidVersionSpecificationException e) {
                            result.addException(e);
                        }
                    }
    
                    Collections.sort(versions);
                    result.setVersions(versions);
                }
            }
    
            return result;
        }
    
        private Map<String, ArtifactRepository> getVersions(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
  10. api/maven-api-settings/src/main/mdo/settings.mdo

        <class>
          <name>Profile</name>
          <version>1.0.0+</version>
          <superClass>IdentifiableBase</superClass>
          <description>
            Modifications to the build process which is keyed on some sort of environmental parameter.
          </description>
          <fields>
            <field>
              <name>activation</name>
              <version>1.0.0+</version>
              <description>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 33.3K bytes
    - Viewed (0)
Back to top