Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 321 for sourceLine (0.17 sec)

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

            header = ofFile(sourceFile(publicHeaderDir, "greeter.h", """
    #ifdef _WIN32
    #define EXPORT_FUNC __declspec(dllexport)
    #else
    #define EXPORT_FUNC
    #endif
    """))
    
            privateHeader = ofFile(sourceFile("headers", "greeter_consts.h", """
    #define GREETING "${HelloWorldApp.HELLO_WORLD}"
    """))
    
            source = ofFile(sourceFile("cpp", "greeter.cpp", """
    #include <iostream>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/OutputCleaningCompilerTest.groovy

            cleanCompiler.execute(spec)
        }
    
        def createObjDummy(File sourceFile) {
            def objectFile = new TestFile(namingScheme.withObjectFileNameSuffix(O_EXT).
                withOutputBaseFolder(outputDir).
                map(sourceFile))
    
            objectFile.touch()
            objectFile.text = sourceFile.absolutePath
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/tasks/CppCompileTest.groovy

        def pch = Mock(PreCompiledHeader)
    
        def setup() {
            cppCompile = TestUtil.createTask(CppCompile, project)
        }
    
        def "executes using the CppCompiler"() {
            def sourceFile = temporaryFolder.createFile("sourceFile")
            def result = Mock(WorkResult)
            when:
            cppCompile.toolChain = toolChain
            cppCompile.targetPlatform = platform
            cppCompile.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)
  4. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompileAvoidanceIntegrationSpec.groovy

                project(':b') {
                    dependencies {
                        implementation project(':a')
                    }
                }
            """
            def sourceFile = file("a/src/main/${language.name}/ToolImpl.${language.name}")
            sourceFile << """
                public class ToolImpl {
                    private class Thing { }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolver.java

            }
        }
    
        @Nullable
        @Override
        public IncludeFile resolveInclude(@Nullable File sourceFile, String includePath) {
            IncludePath path = sourceFile != null ? prependSourceDir(sourceFile, this.includePath) : this.includePath;
            return path.searchForDependency(includePath, sourceFile != null);
        }
    
        private DirectoryContents toDir(File includeDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/CrossCompilationIntegrationTest.groovy

                    toolchain {
                        languageVersion = JavaLanguageVersion.of(${version.majorVersion})
                    }
                }
            """
    
            def sourceFile = file("src/main/java/Thing.java")
            sourceFile << """
                import java.util.List;
                import java.util.ArrayList;
    
                public class Thing {
                    public Thing() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 08:31:21 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/Swift3.groovy

     */
    
    package org.gradle.nativeplatform.fixtures.app
    
    import org.gradle.integtests.fixtures.SourceFile
    
    class Swift3 extends SwiftSourceElement {
        Swift3(String projectName) {
            super(projectName)
        }
    
        @Override
        List<SourceFile> getFiles() {
            return [sourceFile("swift", "swift3-code.swift", '''
                public typealias Name = (firstName: String, lastName: String)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppGreeterWithOptionalFeature.groovy

     */
    
    package org.gradle.nativeplatform.fixtures.app
    
    import org.gradle.integtests.fixtures.SourceFile
    
    import static org.gradle.nativeplatform.fixtures.app.SourceFileElement.ofFile
    
    class CppGreeterWithOptionalFeature extends CppLibraryElement implements GreeterElement {
        final SourceFileElement header = ofFile(new SourceFile("headers", "greeter.h", """
    #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.9K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                String fieldName,
                String sourceHint,
                String message,
                InputLocationTracker tracker) {
            StringBuilder buffer = new StringBuilder(256);
            buffer.append('\'').append(fieldName).append('\'');
    
            if (sourceHint != null) {
                buffer.append(" for ").append(sourceHint);
            }
    
            buffer.append(' ').append(message);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithLibrariesAndXCTest.groovy

     * 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
    
    class SwiftAppWithLibrariesAndXCTest extends MainWithXCTestSourceElement implements AppElement {
        final SwiftAppWithLibraries app = new SwiftAppWithLibraries()
        final SwiftSourceElement main = app.application
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top