Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 362 for sourceFiles (0.29 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/objectivecpp/tasks/ObjectiveCppPreCompiledHeaderCompileTest.groovy

            1 * platformToolChain.newCompiler({ObjectiveCppPCHCompileSpec.class.isAssignableFrom(it)}) >> objCppPCHCompiler
            1 * objCppPCHCompiler.execute({ ObjectiveCppPCHCompileSpec spec ->
                assert spec.sourceFiles*.name== ["sourceFile"]
                assert spec.args == ['arg']
                assert spec.allArgs == ['arg']
                assert spec.macros == [def: 'value']
                assert spec.objectFileDir.name == "outputFile"
                true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompilerBuilder.java

    import org.gradle.nativeplatform.toolchain.internal.NativeCompileSpec;
    
    import java.util.Map;
    
    public interface IncrementalCompilerBuilder {
        IncrementalCompiler newCompiler(TaskInternal task, FileCollection sourceFiles, FileCollection includeDirs, Map<String, String> macros, Provider<Boolean> importAware);
    
        interface IncrementalCompiler {
            <T extends NativeCompileSpec> Compiler<T> createCompiler(Compiler<T> compiler);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/read.go

    		p.error = errors.New(errstr)
    	}
    	p.dir = r.string()
    	p.sourceFiles = make([]*sourceFile, r.int())
    	for i := range p.sourceFiles {
    		p.sourceFiles[i] = &sourceFile{
    			d:   m.d,
    			pos: r.int(),
    		}
    	}
    	p.modroot = m.modroot
    	return p
    }
    
    // sourceFile represents the information of a given source file in the module index.
    type sourceFile struct {
    	d               *decoder // encoding of this source file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/tasks/CppCompileTest.groovy

            pch.objectFile >> temporaryFolder.file("pchObjectFile").createFile()
            pch.pchObjects >> TestFiles.empty()
            1 * cppCompiler.execute({ CppCompileSpec spec ->
                assert spec.sourceFiles*.name == ["sourceFile"]
                assert spec.args == ['arg']
                assert spec.allArgs == ['arg']
                assert spec.macros == [def: 'value']
                assert spec.objectFileDir.name == "outputFile"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/c/tasks/CCompileTest.groovy

            pch.prefixHeaderFile >> temporaryFolder.file("prefixHeader").createFile()
            pch.pchObjects >> TestFiles.empty()
            1 * cCompiler.execute({ CCompileSpec spec ->
                assert spec.sourceFiles*.name== ["sourceFile"]
                assert spec.args == ['arg']
                assert spec.allArgs == ['arg']
                assert spec.macros == [def: 'value']
                assert spec.objectFileDir.name == "outputFile"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/objectivec/tasks/ObjectiveCCompileTest.groovy

            pch.objectFile >> temporaryFolder.file("pchObjectFile").createFile()
            pch.pchObjects >> TestFiles.empty()
            1 * objCCompiler.execute({ ObjectiveCCompileSpec spec ->
                assert spec.sourceFiles*.name == ["sourceFile"]
                assert spec.args == ['arg']
                assert spec.allArgs == ['arg']
                assert spec.macros == [def: 'value']
                assert spec.objectFileDir.name == "outputFile"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CHelloWorldApp.groovy

                #endif
            """)
        }
    
        @Override
        SourceFile getCommonHeader() {
            sourceFile("headers", "common.h", """
                #ifndef COMMON_H
                #define COMMON_H
                #include "hello.h"
                #include <stdio.h>
                #endif
            """)
        }
    
        List<SourceFile> librarySources = [
            new SourceFile("c", "hello.c", """
                #include "common.h"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

                    { apiSpec.apply(it) }
                ).groupedByTarget()
    
            val sourceFiles =
                ArrayList<File>(extensionsPerTarget.size)
    
            val packageDir =
                outputDirectory.resolve(packageName.replace('.', File.separatorChar))
    
            fun sourceFile(name: String) =
                packageDir.resolve(name).also { sourceFiles.add(it) }
    
            packageDir.mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 21:41:53 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise-plugin-performance/build.gradle.kts

            size = 200
            depth = 5
            useSnapshotVersions = false // snapshots should not have a build scan specific performance impact
        }
    
        buildSrcTemplate = "buildsrc-plugins"
        setProjects(50)
        sourceFiles = 200
        testSourceFiles = 50 // verbose tests are time consuming
        filesPerPackage = 5
        linesOfCodePerSourceFile = 150
        numberOfScriptPlugins = 30
        rootProjectTemplates = listOf("root")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/listeners/ConstantsCollectorTest.groovy

                "class D { static final int CONSTANT = C.CONSTANT; }",
                "class E { }",
            ]
            List<File> sourceFiles = toSourceFiles(classes) + getConstants("int", "1")
    
            when:
            compiler.compile(sourceFiles)
    
            then:
            accessibleDependentToConstants["A"] == ["Constant1"] as Set
            accessibleDependentToConstants["B"] == ["A"] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 22.4K bytes
    - Viewed (0)
Back to top