Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 303 for deduplicated (0.2 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/DefaultUniqueProjectNameProvider.java

            if (deduplicated == null) {
                HierarchicalElementDeduplicator<ProjectState> deduplicator = new HierarchicalElementDeduplicator<ProjectState>(new ProjectPathDeduplicationAdapter());
                this.deduplicated = deduplicator.deduplicate(projectRegistry.getAllProjects());
            }
            return deduplicated;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/EclipseModelAwareUniqueProjectNameProvider.java

                List<ProjectStateWrapper> allElements = new ArrayList<>();
                allElements.addAll(reservedNames);
                allElements.addAll(projectToInformationMap.values());
    
                this.deduplicated = deduplicator.deduplicate(allElements).entrySet().stream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r55/ReservedProjectNamesCrossVersionSpec.groovy

                }
            }
            """
            settingsFile << """
            rootProject.name = 'root'
            include ':a', ':b'
            """
        }
    
        def "externally used project names can be supplied and are deduplicated"() {
            when:
            EclipseProject model = withConnection { connection ->
                return connection.action(new LoadEclipseModel(eclipseWorkspace([
                    gradleProject("a"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/configurer/HierarchicalElementDeduplicatorTest.groovy

     */
    package org.gradle.plugins.ide.internal.configurer
    
    import spock.lang.Specification
    
    class HierarchicalElementDeduplicatorTest extends Specification {
    
        def "unique element names are not deduplicated"() {
            given:
            element("root") {
                element("foo") {
                    element("bar") {}
                }
                element("foobar") {
                    element("app") {}
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/AbstractIdeDeduplicationIntegrationTest.groovy

    abstract class AbstractIdeDeduplicationIntegrationTest extends AbstractIdeProjectIntegrationTest {
    
        @ToBeFixedForConfigurationCache
        def "unique project names are not deduplicated"() {
            given:
            project("root") {
                project("foo") {
                    project("bar") {}
                }
                project("foobar") {
                    project("app") {}
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r55/CompositeDeduplicationCrossVersionSpec.groovy

                }
            }
            """
            settingsFile << """
            rootProject.name = 'root'
            include ':a', ':b'
            """
        }
    
        def "Included builds are deduplicated"() {
            given:
            settingsFile << """
                    includeBuild 'includedBuild1'
                    includeBuild 'includedBuild2'
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager.go

    		})
    	} else {
    		m.normalizationCache.RemoveAll(func(key any) bool {
    			return key.(cacheKeyType).ctbName == ctb.ObjectMeta.Name
    		})
    	}
    }
    
    // GetTrustAnchorsByName returns normalized and deduplicated trust anchors from
    // a single named ClusterTrustBundle.
    func (m *InformerManager) GetTrustAnchorsByName(name string, allowMissing bool) ([]byte, error) {
    	if !m.ctbInformer.HasSynced() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/eclipse/RunBuildDependenciesTaskBuilderTest.groovy

            then:
            project.tasks.findByName("eclipseClosedDependencies") == null
            project.getGradle().getStartParameter().getTaskNames().isEmpty()
        }
    
        def "task name is deduplicated"() {
            setup:
            def eclipseRuntime = eclipseRuntime([gradleProject(child1, false), gradleProject(child2)])
            project.tasks.create("eclipseClosedDependencies")
            def modelBuilder = createBuilder()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/context.go

    // identical type instances across type-checked packages or calls to
    // Instantiate. Contexts are safe for concurrent use.
    //
    // The use of a shared context does not guarantee that identical instances are
    // deduplicated in all cases.
    type Context struct {
    	mu        sync.Mutex
    	typeMap   map[string][]ctxtEntry // type hash -> instances entries
    	nextID    int                    // next unique ID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/DependencyState.java

                || !reasons.contains(reason);
        }
    
        @Override
        public boolean equals(Object o) {
            return this == o;
            // This is a performance optimization, dependency states are deduplicated
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top