Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 370 for sourceFiles (0.36 sec)

  1. src/cmd/go/internal/modindex/write.go

    }
    
    func encodePackage(e *encoder, p *rawPackage) {
    	e.String(p.error)
    	e.String(p.dir)
    	e.Int(len(p.sourceFiles))      // number of source files
    	sourceFileOffsetPos := e.Pos() // the pos of the start of the source file offsets
    	for range p.sourceFiles {
    		e.Int(0)
    	}
    	for i, f := range p.sourceFiles {
    		e.IntAt(e.Pos(), sourceFileOffsetPos+4*i)
    		encodeFile(e, f)
    	}
    }
    
    func encodeFile(e *encoder, f *rawFile) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. platforms/native/tooling-native/src/main/java/org/gradle/language/cpp/internal/tooling/CppModelBuilder.java

                PlatformToolProvider platformToolProvider = cppBinary.getPlatformToolProvider();
                CppCompile compileTask = binary.getCompileTask().get();
                List<DefaultSourceFile> sourceFiles = sourceFiles(namingSchemeFactory, platformToolProvider, compileTask.getObjectFileDir().get().getAsFile(), binary.getCppSource().getFiles());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/IncrementalCompilerFactory.java

        }
    
        private <T extends JavaCompileSpec> Compiler<T> createRebuildAllCompiler(CleaningJavaCompiler<T> cleaningJavaCompiler, FileTree sourceFiles) {
            return spec -> {
                spec.setSourceFiles(sourceFiles);
                return cleaningJavaCompiler.execute(spec);
            };
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/CommandLineJavaCompilerArgumentsGeneratorTest.groovy

            argsFile.readLines() == ["-g", "-sourcepath", quote(""), "-proc:none", USE_UNSHARED_COMPILER_TABLE_OPTION, "-classpath", quote("${spec.compileClasspath.join(File.pathSeparator)}"), *(spec.sourceFiles*.path.collect { quote(it) })]
        }
    
        String defaultEmptySourcePathRefFolder() {
           return tempDir.testDirectory.file(JavaCompilerArgumentsBuilder.EMPTY_SOURCE_PATH_REF_DIR).absolutePath
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/assembler/tasks/Assemble.java

            return source;
        }
    
        /**
         * Adds a set of assembler sources files to be translated. The provided sourceFiles object is evaluated as per {@link org.gradle.api.Project#files(Object...)}.
         */
        public void source(Object sourceFiles) {
            source.from(sourceFiles);
        }
    
        /**
         * Additional arguments to provide to the assembler.
         */
        @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppHelloWorldApp.groovy

      return RUN_ALL_TESTS();
    }
                        """),
                ]
                List<SourceFile> headerFiles = [
                ]
            }
        }
    
        TestNativeComponent getSimpleTestExecutable() {
            return new TestNativeComponent() {
                List<SourceFile> sourceFiles = [
                    sourceFile("cpp", "test.cpp", """
    #include "hello.h"
    
    int main(int argc, char **argv) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/TestJavaComponent.groovy

    }'''),
            new JvmSourceFile("compile/test", "Person2.java", '''
    package compile.test;
    
    public class Person2 {
    }
    ''')
        ]
    
    
        @Override
        void changeSources(List<TestFile> sourceFiles){
            def personJavaFile = sourceFiles.find { it.name == "Person.java" }
            personJavaFile.text = personJavaFile.text.replace("String name;", "String name; String anotherName;")
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/DefaultVisualStudioProject.java

        }
    
        public void addSourceFile(File sourceFile) {
            additionalFiles.add(sourceFile);
        }
    
        public static String getUUID(File projectFile) {
            return "{" + UUID.nameUUIDFromBytes(projectFile.getAbsolutePath().getBytes()).toString().toUpperCase() + "}";
        }
    
        @Internal
        public ConfigurableFileCollection getSourceFiles() {
            return sourceFiles;
        }
    
        @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/language/groovy/fixtures/TestGroovyComponent.groovy

            new JvmSourceFile("compile/test", "Person2.groovy", '''
    package compile.test
    
    public class Person2 {
    }
    ''')
        ]
    
    
        @Override
        void changeSources(List<TestFile> sourceFiles){
            def personGroovyFile = sourceFiles.find { it.name == "Person.groovy" }
            personGroovyFile.text = personGroovyFile.text.replace("String name", "String name\\nString anotherName")
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/TestNativeComponent.groovy

    package org.gradle.nativeplatform.fixtures.app
    
    import org.gradle.integtests.fixtures.SourceFile
    import org.gradle.test.fixtures.file.TestFile
    
    abstract class TestNativeComponent extends SourceElement {
        List<SourceFile> getFiles() {
            return sourceFiles + headerFiles
        }
    
        abstract List<SourceFile> getSourceFiles()
    
        abstract List<SourceFile> getHeaderFiles()
    
        void writeSources(TestFile sourceDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top