Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 110 for ToSet (0.03 sec)

  1. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/fixtures/IdeaModuleFixture.groovy

                def sourceRoots = sources.collect {
                    it.url - 'file://$MODULE_DIR$/'
                } as Set
    
                def setDiff = CollectionUtils.diffSetsBy(sourceRoots, CollectionUtils.toSet(paths as List), InternalTransformers.noOpTransformer())
                assert setDiff.leftOnly.empty
                assert setDiff.rightOnly.empty
            }
    
            void assertContainsExcludes(String... paths) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/LocationListInstallationSupplier.java

            final Collection<String> property = buildOptions.getInstallationsFromPaths();
            return property.stream()
                .filter(path -> !path.trim().isEmpty())
                .map(this::asInstallations).collect(Collectors.toSet());
        }
    
        private InstallationLocation asInstallations(String candidate) {
            return InstallationLocation.userDefined(fileResolver.resolve(candidate), getSourceName());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 19:00:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/MavenScopeDependenciesValidator.java

                    .filter(a -> a.getVersion().startsWith("3."))
                    .map(a -> a.getGroupId() + ":" + a.getArtifactId() + ":" + a.getVersion())
                    .collect(Collectors.toSet());
    
            if (!mavenArtifacts.isEmpty()) {
                pluginValidationManager.reportPluginValidationIssue(
                        PluginValidationManager.IssueLocality.EXTERNAL,
                        session,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 09:51:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/LinuxInstallationSupplier.java

                    .map(root -> FileBasedInstallationFactory.fromDirectory(root, getSourceName(), InstallationLocation::autoDetected))
                    .flatMap(Set::stream)
                    .collect(Collectors.toSet());
            }
            return Collections.emptySet();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/MavenNormalizedPublication.java

        }
    
        public Set<MavenArtifact> getAdditionalArtifacts() {
            return allArtifacts.stream()
                    .filter(artifact -> artifact != pomArtifact && artifact != mainArtifact)
                    .collect(Collectors.toSet());
        }
    
        public Set<MavenArtifact> getAllArtifacts() {
            return allArtifacts;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/tasks/DeleteTest.groovy

            when:
            delete.delete("someFile")
            delete.delete(new File("someOtherFile"))
            delete.getTargetFiles()
    
            then:
            delete.getDelete() == WrapUtil.toSet("someFile", new File("someOtherFile"))
            delete.getTargetFiles().getFiles() == getProject().files(delete.getDelete()).getFiles()
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "can follow symlinks"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGParallelSuiteIntegrationTest.groovy

        }
    
        private static actualThreadIds(String stdout) {
            String pattern = /.*\d+ - foo \d+ - (\d+)/
            return stdout.readLines().grep(~pattern).collect { (it =~ pattern)[0][1] }.toSet()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

        val rootModuleComponents = rootDependencies.map { (it as ResolvedDependencyResult).selected.id }
        val candidateExternalComponents = (rootModuleComponents + externallyAccessible).filterIsInstance<ModuleComponentIdentifier>().toSet()
        return candidateExternalComponents - locallyAccessible
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 08:59:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy

            def threadRange = 1..100
    
            when:
            def hashes = threadRange.collect {
                supplyAsync({ Hashing.hashString(currentThread().name) }, newFixedThreadPool(threadRange.size()))
            }*.join().toSet()
    
            then:
            hashes.size() == threadRange.size()
        }
    
        def 'null does not collide with other values'() {
            expect:
            def hasher = Hashing.newHasher()
            hasher.putNull()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/WindowsInstallationSupplier.java

            return Stream.concat(openJdkInstallations, jvms)
                .map(javaHome -> InstallationLocation.autoDetected(new File(javaHome), getSourceName()))
                .collect(Collectors.toSet());
        }
    
        private List<String> find(String sdkSubkey, String path, String value) {
            try {
                List<String> versions = getVersions(sdkSubkey);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 22:14:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top