Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for mergeV1 (0.07 sec)

  1. cmd/data-usage-cache.go

    	}
    	for k, v := range d.Cache {
    		clone.Cache[k] = v.clone()
    	}
    	return clone
    }
    
    // merge root of other into d.
    // children of root will be flattened before being merged.
    // Last update time will be set to the last updated.
    func (d *dataUsageCache) merge(other dataUsageCache) {
    	existingRoot := d.root()
    	otherRoot := other.root()
    	if existingRoot == nil && otherRoot == nil {
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

        /**
         * Merges the specified source object into the given target object.
         *
         * @param target The target object whose existing contents should be merged with the source, must not be
         *            <code>null</code>.
         * @param source The (read-only) source object that should be merged into the target object, may be
         *            <code>null</code>.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                Map<String, String> merged = new HashMap<>();
                if (sourceDominant) {
                    merged.putAll(target.getProperties());
                    putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY);
                } else {
                    putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY);
                    merged.putAll(target.getProperties());
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                        PluginExecution existing = merged.get(key);
                        if (existing != null) {
                            element = mergePluginExecution(existing, element, sourceDominant, context);
                        }
                        merged.put(key, element);
                    }
    
                    builder.executions(merged.values());
                }
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

                        PluginExecution existing = merged.get(key);
                        if (existing != null) {
                            element = mergePluginExecution(element, existing, sourceDominant, context);
                        }
                        merged.put(key, element);
                    }
    
                    builder.executions(merged.values());
                }
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                        if (dependency != null) {
                            Dependency merged = mergeDependency(dependency, managedDependency, false, context);
                            if (merged != dependency) {
                                dependencies.put(key, merged);
                                modified = true;
                            }
                        }
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top