Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,192 for tolist (0.27 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransaction.java

            }
        }
    
        private static void rollbackStashedFiles(List<StashedFile> stashedFiles) {
            stashedFiles.forEach(StashedFile::unstash);
            if (LOG.isDebugEnabled()) {
                LOG.debug("Restoring stashed files: {}", stashedFiles.stream().map(f -> f.sourceFile.getAbsolutePath()).sorted().collect(Collectors.toList()));
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/files/fileCollections/kotlin/build.gradle.kts

        val projectLayout = layout
        doLast {
            val collection = projectLayout.files("src/file1.txt")
    
            // tag::usage[]
            // Iterate over the files in the collection
            collection.forEach { file: File ->
                println(file.name)
            }
    
            // Convert the collection to various types
            val set: Set<File> = collection.files
            val list: List<File> = collection.toList()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationTreeFixture.groovy

            return operations.records.values().find { it.displayName ==~ displayName }
        }
    
        @Override
        List<BuildOperationRecord> all() {
            return operations.records.values().toList()
        }
    
        @Override
        List<BuildOperationRecord> all(Pattern displayName) {
            return operations.records.values().findAll { it.displayName ==~ displayName }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingNotSupportedVirtualFileSystemTest.groovy

            watchingNotSupportedVfs.afterBuildFinished()
            then:
            watchingNotSupportedVfs.root == emptySnapshotHierarchy
    
            where:
            watchMode << WatchMode.values().toList()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. platforms/software/publish/src/test/groovy/org/gradle/api/publish/plugins/PublishingPluginTest.groovy

            def publication = Stub(PublicationInternal)
    
            when:
            extension.publications.add(publication)
    
            then:
            extension.publications.size() == 1
            extension.publications.toList().first().is(publication)
        }
    
        def "lifecycle task created"() {
            expect:
            project.tasks[PublishingPlugin.PUBLISH_LIFECYCLE_TASK_NAME] != null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/PluginDependencySpecAccessorsTest.kt

                            linkedMapOf(
                                "plugin-a" to PluginTree.PluginSpec("my.plugin-a", "my.PluginA")
                            )
                        )
                    )
                ).toList(),
                equalTo(
                    listOf(
                        PluginDependencySpecAccessor.ForPlugin(
                            "my-plugin",
                            "my.Plugin",
                            ExtensionSpec(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/classloading/CompositeGroovySystemLoader.java

    import org.gradle.util.internal.CollectionUtils;
    
    import java.util.List;
    
    public class CompositeGroovySystemLoader implements GroovySystemLoader {
        private final List<GroovySystemLoader> loaders;
    
        public CompositeGroovySystemLoader(GroovySystemLoader... loaders) {
            this.loaders = CollectionUtils.toList(loaders);
        }
    
        @Override
        public void shutdown() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:05 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossVersionResultsStore.java

                            performanceResults.setTasks(ResultsStoreHelper.toList(testExecutions.getObject(5)));
                            performanceResults.setArgs(ResultsStoreHelper.toList(testExecutions.getObject(6)));
                            performanceResults.setGradleOpts(ResultsStoreHelper.toList(testExecutions.getObject(7)));
                            performanceResults.setDaemon((Boolean) testExecutions.getObject(8));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/ExecutionGraph.java

            this.data = Arrays.asList(lines);
        }
    
        String getData() {
            return JsonOutput.toJson(data);
        }
    
        String getTicks() {
            List<List<Object>> ticks = IntStream.range(0, data.get(0).data.size())
                .mapToObj(index -> Arrays.<Object>asList(index, index))
                .collect(Collectors.toList());
            return JsonOutput.toJson(ImmutableMap.of("ticks", ticks));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    import java.util.zip.ZipOutputStream
    import javax.inject.Inject
    import kotlin.collections.component1
    import kotlin.collections.component2
    import kotlin.collections.set
    import kotlin.streams.toList
    
    
    typealias LeftoverFiles = Map<File, List<String>>
    
    
    abstract class TestFilesCleanupService @Inject constructor(
        private val fileSystemOperations: FileSystemOperations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top