Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 321 for sourceLine (0.14 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppLogger.groovy

     */
    
    package org.gradle.nativeplatform.fixtures.app
    
    import org.gradle.integtests.fixtures.SourceFile
    
    import static org.gradle.nativeplatform.fixtures.app.SourceFileElement.ofFile
    
    class CppLogger extends CppSourceFileElement {
        final SourceFileElement header = ofFile(new SourceFile("headers", "logger.h", """
    #include <string>
    
    #ifdef _WIN32
    #define EXPORT_FUNC __declspec(dllexport)
    #else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppMultiply.groovy

     */
    
    package org.gradle.nativeplatform.fixtures.app
    
    import org.gradle.integtests.fixtures.SourceFile
    
    import static org.gradle.nativeplatform.fixtures.app.SourceFileElement.ofFile
    
    class CppMultiply extends CppSourceFileElement implements MultiplyElement {
        final SourceFileElement header = ofFile(new SourceFile("headers", "multiply.h", """
    #ifdef _WIN32
    #define EXPORT_FUNC __declspec(dllexport)
    #else
    #define EXPORT_FUNC
    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. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppSum.groovy

    import org.gradle.integtests.fixtures.SourceFile
    
    import static org.gradle.nativeplatform.fixtures.app.SourceFileElement.ofFile
    
    class CppSum extends CppSourceFileElement implements SumElement {
        final SourceFileElement header
        final SourceFileElement source
    
        CppSum(String publicHeadersDir = "headers") {
            header = ofFile(new SourceFile(publicHeadersDir, "sum.h", """
    #ifdef _WIN32
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/AutoTestedSamplesToolingApiTest.groovy

         *
         * @param source
         */
        void tryCompile(String source) {
            source = normalize(source)
            def sourceFile = temp.testDirectory.file("Sample.java")
            sourceFile.text = source
    
            def compiler = ("javax.tools.ToolProvider" as Class).getSystemJavaCompiler()
            def fileManager = compiler.getStandardFileManager(null, null, null);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/objectivec/tasks/ObjectiveCCompileTest.groovy

        def pch = Mock(PreCompiledHeader)
    
        def setup() {
            objCCompile = TestUtil.createTask(ObjectiveCCompile, project)
        }
    
        def "executes using the C Compiler"() {
            def sourceFile = temporaryFolder.createFile("sourceFile")
            def result = Mock(WorkResult)
            when:
            objCCompile.toolChain = toolChain
            objCCompile.targetPlatform = platform
            objCCompile.compilerArgs = ["arg"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/MainWithXCTestSourceElement.java

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app;
    
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Lists;
    import org.gradle.integtests.fixtures.SourceFile;
    import org.gradle.test.fixtures.file.TestFile;
    
    import java.util.List;
    
    public abstract class MainWithXCTestSourceElement extends XCTestSourceElement {
        public MainWithXCTestSourceElement(String projectName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/readme-templates/library-api-docs.adoc.template

    The code generated by the Build Init plugin already placed a comment on the `${sourceFile.raw}` file.
    Replace `/*` in the comment by `/**` so that it becomes `javadoc` markup:
    
    .src/main/${languageLC.raw}/${sourceFile.raw}
    [source,java]
    ----
    /**
     * This java source file was generated by the Gradle 'init' task.
     */
     ...
    ----
    Run the `javadoc` task.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/CachingCSourceParser.java

                    return parser.parseSource(file);
                }
            }, IncludeDirectivesSerializer.INSTANCE);
        }
    
        @Override
        public IncludeDirectives parseSource(File sourceFile) {
            return cache.get(sourceFile);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/c/tasks/CCompileTest.groovy

        def pch = Mock(PreCompiledHeader)
    
        def setup() {
            cCompile = TestUtil.createTask(CCompile, project)
        }
    
        def "executes using the C Compiler"() {
            def sourceFile = temporaryFolder.createFile("sourceFile")
            def result = Mock(WorkResult)
    
            when:
            cCompile.toolChain = toolChain
            cCompile.targetPlatform = platform
            cCompile.compilerArgs = ["arg"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppGreeterFunctionUsesLogger.groovy

            header = ofFile(sourceFile(publicHeaderDir, "greeter.h", """
    #ifdef _WIN32
    #define EXPORT_FUNC __declspec(dllexport)
    #else
    #define EXPORT_FUNC
    #endif
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    void sayGreeting();
    
    #ifdef __cplusplus
    }
    #endif
    """))
    
            privateHeader = ofFile(sourceFile("headers", "greeter_consts.h", """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top