Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for sourceFiles (0.19 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/PlayApp.groovy

        }
    
        List<SourceFile> getConfSources() {
            return sourceFiles("conf", "shared") + sourceFiles("conf")
        }
    
        List<SourceFile> getTestSources() {
            return sourceFiles("test")
        }
    
        List<SourceFile> getOtherSources() {
            return [ sourceFile("", "README", "shared") ]
        }
    
    
        protected SourceFile sourceFile(String path, String name, String baseDir = getName()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle

    performanceTest.registerTestProject("withVerboseTestNG", JvmProjectGeneratorTask) {
        projects = 1
        sourceFiles = 10
        subProjectTemplates << 'with-verbose-testng'
        daemonMemory = '256m'
    }
    performanceTest.registerTestProject("withVerboseJUnit", JvmProjectGeneratorTask) {
        projects = 1
        sourceFiles = 10
        subProjectTemplates << 'with-verbose-junit'
        daemonMemory = '256m'
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. testing/performance/src/templates/cpp-source/exe.cpp

    #include <stdio.h>
    
    <% sourceFiles.times {
      if (projectName == 'root') {
    %>
    #include "lib${it + 1}.h"
    <% } else { %>
    #include "${projectName}lib${it + 1}.h"
    <%
      }
    } %>
    
    <% if (useMacroIncludes) { %>
    #define STDIO <stdio.h>
    #include STDIO
    <% }%>
    
    int main () {
      long sum = 1;
      <% sourceFiles.times {
        def functionName = "lib${it + 1}"
        if (projectName != 'root') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 584 bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/NativeCompilerTest.groovy

            given:
            def compiler = getCompiler()
            def testDir = tmpDirProvider.testDirectory
            def sourceFile = testDir.file("source.ext")
    
            when:
            def args = compiler.getSourceArgs(sourceFile)
    
            then:
            args == [sourceFile.absoluteFile.toString()]
        }
    
        def "output file directory honors output extension '#extension' and directory"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGenerator.groovy

                dependencyTree.calculateClassDependencies(0, 0, config.sourceFiles - 1)
            } else {
                for (int subProjectNumber = 0; subProjectNumber < config.subProjects; subProjectNumber++) {
                    def sourceFileRangeStart = subProjectNumber * config.sourceFiles
                    def sourceFileRangeEnd = sourceFileRangeStart + config.sourceFiles - 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. testing/performance/src/templates/cpp-source/lib.cpp

    #include "${functionName}.h"
    
    // Include functions from dependencies
    <% projectDeps.each { p ->
      sourceFiles.times { %>
    #include "${p}lib${it + 1}.h"
    <%
      }
    } %>
    
    <% functionCount.times { %>
    long CPP_${functionName}_${it + 1} () {
      long sum = 1;
      // Call functions defined in dependent projects.
      <% projectDeps.each { p ->
        sourceFiles.times {
          def functionName = "${p}lib${it + 1}"
          functionCount.times {
      %>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 521 bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/util/KtCompiledFileForOutputFile.kt

    @KaAnalysisApiInternals
    class KaCompiledFileForOutputFile(private val outputFile: OutputFile) : KaCompiledFile {
        override val path: String
            get() = outputFile.relativePath
    
        override val sourceFiles: List<File>
            get() = outputFile.sourceFiles
    
        override val content: ByteArray
            get() = outputFile.asByteArray()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 824 bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGeneratorConfiguration.groovy

                reflectasm: 'com.googlecode:reflectasm:1.01',
            ]
    
            config.subProjects = this.subProjects
            config.projectDepth = this.projectDepth
            config.sourceFiles = this.sourceFiles
            config.minLinesOfCodePerSourceFile = 100
            config.compositeBuild = this.compositeBuild
    
            config.daemonMemory = this.daemonMemory
            config.compilerMemory = this.compilerMemory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy

                        }
                    }
                """
            }
            sourceFiles = subprojects.collectMany { projectDir ->
                (1..NUMBER_OF_SOURCES_PER_SUBPROJECT).collect {
                    def sourceFile = rootProject.file("${projectDir}/src/main/java/my/domain/Dummy${it}.java")
                    modifySourceFile(sourceFile, 0)
                    return sourceFile
                }
            }
    
            executer.beforeExecute {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskPropertiesIntegrationTest.groovy

                    private final ConfigurableFileCollection sourceFiles = getProject().files();
    
                    @InputFiles
                    public ConfigurableFileCollection getSourceFiles() {
                        System.out.println("get files from field");
                        return sourceFiles;
                    }
    
                    public void setSourceFiles(Object files) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top