Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 405 for mergeV1 (0.13 sec)

  1. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java

    class MavenToolchainMergerTest {
        private MavenToolchainMerger merger = new MavenToolchainMerger();
    
        private DefaultToolchainsReader reader = new DefaultToolchainsReader();
    
        @Test
        void testMergeNulls() {
            merger.merge(null, null, null);
    
            PersistedToolchains pt = new PersistedToolchains();
            merger.merge(pt, null, null);
            merger.merge(null, pt, null);
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            Model source = Model.newBuilder().artifactId("SOURCE").build();
    
            Model merged = mavenMerger.merge(target, source, true, null);
            assertThat(merged.getArtifactId(), is("SOURCE"));
    
            merged = mavenMerger.merge(target, source, false, null);
            assertThat(merged.getArtifactId(), is("TARGET"));
        }
    
        @Test
        void mergeSameContributors() {
            Contributor contributor =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. cmd/bucket-stats.go

    	Totals  [60]AccElem
    	LastMin int64
    }
    
    // Merge data of two ReplicationLastHour structure
    func (l ReplicationLastHour) merge(o ReplicationLastHour) (merged ReplicationLastHour) {
    	if l.LastMin > o.LastMin {
    		o.forwardTo(l.LastMin)
    		merged.LastMin = l.LastMin
    	} else {
    		l.forwardTo(o.LastMin)
    		merged.LastMin = o.LastMin
    	}
    
    	for i := range merged.Totals {
    		merged.Totals[i] = AccElem{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            return path;
        }
    
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    
        @Override
        public void merge(Path existing, Path result) throws RepositoryException {
            Metadata recessive = read(existing);
    
            merge(recessive);
    
            write(result, metadata);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nullable
        Object getInputLocation();
    
        default XmlNode merge(@Nullable XmlNode source) {
            return merge(source, (Boolean) null);
        }
    
        XmlNode merge(@Nullable XmlNode source, @Nullable Boolean childMergeOverride);
    
        /**
         * Merge recessive into dominant and return either {@code dominant}
         * with merged information or a clone of {@code recessive} if
         * {@code dominant} is {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. cmd/tier-last-day-stats.go

    	return clone
    }
    
    func (l lastDayTierStats) merge(m lastDayTierStats) (merged lastDayTierStats) {
    	cl := l.clone()
    	cm := m.clone()
    
    	if cl.UpdatedAt.After(cm.UpdatedAt) {
    		cm.forwardTo(cl.UpdatedAt)
    		merged.UpdatedAt = cl.UpdatedAt
    	} else {
    		cl.forwardTo(cm.UpdatedAt)
    		merged.UpdatedAt = cm.UpdatedAt
    	}
    
    	for i := range cl.Bins {
    		merged.Bins[i] = cl.Bins[i].add(cm.Bins[i])
    	}
    
    	return merged
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java

    @Deprecated(since = "4.0.0")
    public interface ProfileInjector {
    
        /**
         * Merges values from the specified profile into the given model. Implementations are expected to keep the profile
         * and model completely decoupled by injecting deep copies rather than the original objects from the profile.
         *
         * @param model The model into which to merge the values defined by the profile, must not be <code>null</code>.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. cmd/metacache-entries.go

    			// Same, discard one.
    			merged = append(merged, a[0])
    			a = a[1:]
    			b = b[1:]
    		case a[0].name < b[0].name:
    			merged = append(merged, a[0])
    			a = a[1:]
    		default:
    			merged = append(merged, b[0])
    			b = b[1:]
    		}
    		if limit > 0 && len(merged) >= limit {
    			break
    		}
    	}
    	// Append anything left.
    	if limit < 0 || len(merged) < limit {
    		merged = append(merged, a...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/merge/package-info.java

    // CHECKSTYLE_OFF: RegexpHeader
    /**
     * POM merger.
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 93 bytes
    - Viewed (0)
  10. .github/workflows/CheckBadMerge.groovy

     * but sometimes changes on release notes.md was brought to master and merged unnoticed,
     * e.g https://github.com/gradle/gradle/pull/25825
     *
     * This script is to check if there is any merge commit that brings changes from release branch to master.
     * Usage: groovy CheckBadMerge.groovy <commit1> <commit2> ...
     * If any "bad" merge commit is found, it will print the details and exit with non-zero code.
     */
    class CheckBadMerge {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top