Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for sourceFile (0.18 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileProcessorTest.groovy

        }
    
        def added(TestFile sourceFile) {
            virtualFileSystem.invalidateAll()
            modifiedFiles << sourceFile
            graph[sourceFile] = []
        }
    
        def sourceAdded(TestFile sourceFile, List<File> deps = []) {
            virtualFileSystem.invalidateAll()
            sourceFiles << sourceFile
            modifiedFiles << sourceFile
            graph[sourceFile] = deps
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:31:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. 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)
  3. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            val sourceFile: String
            val testSourceFile: String
            val sourceFileTree: String
            val testSourceFileTree: String
            when {
                descriptor.language === Language.CPP -> {
                    exampleClass = if (descriptor.componentType === ComponentType.LIBRARY) "Hello" else "Greeter"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 17:51:21 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

            artifactBuilder().tap {
                preserveTimestamps(false)
                sourceFile("org/gradle/test/BuildClass.java").text = buildClassSource
                buildJar(reproducibleJar)
            }
            artifactBuilder().tap {
                preserveTimestamps(true)
                sourceFile("org/gradle/test/BuildClass.java").text = buildClassSource
                buildJar(currentTimestampJar)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r52/CppModelCrossVersionSpec.groovy

            debugX86Binary.name == 'mainDebugX86'
            debugX86Binary.variantName == 'debugX86'
            debugX86Binary.baseName == 'app'
            debugX86Binary.compilationDetails.sources.sourceFile as Set == [src1, src2] as Set
            debugX86Binary.compilationDetails.sources.objectFile.each { assert it != null }
            debugX86Binary.compilationDetails.headerDirs == [headerDir] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

            private final TestFile sourceFile
            private int warningIndex = 0
            private int errorIndex = 0
    
            ProblematicClassGenerator(String className = "Foo", String sourceSet = "main") {
                this.sourceFile = file("src/${sourceSet}/java/${className}.java")
    
                // Get the class name from the file name
                this.sourceFile << """\
    public class ${className} {
    
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

            debugBinary instanceof CppExecutable
            debugBinary.name == 'mainDebug'
            debugBinary.variantName == 'debug'
            debugBinary.baseName == 'app'
            debugBinary.compilationDetails.sources.sourceFile as Set == [src1, src2] as Set
            debugBinary.compilationDetails.sources.objectFile.each { assert it != null }
            debugBinary.compilationDetails.headerDirs == [headerDir] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    		// Group nodes for each source file.
    		var sourceFiles graph.Nodes
    		fileNodes := make(map[string]graph.Nodes)
    		for _, n := range functionNodes[name] {
    			if n.Info.File == "" {
    				continue
    			}
    			if fileNodes[n.Info.File] == nil {
    				sourceFiles = append(sourceFiles, n)
    			}
    			fileNodes[n.Info.File] = append(fileNodes[n.Info.File], n)
    		}
    
    		if len(sourceFiles) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

            fixture.workActionThatCreatesFiles.writeToFile builder.sourceFile("org/gradle/test/TestWorkAction.java")
            fixture.testParameterType.writeToFile builder.sourceFile("org/gradle/test/TestParameters.java")
    
            builder.sourceFile("org/gradle/other/Foo.java") << """
                $fixture.parameterClass
            """
            builder.sourceFile('AnotherFoo.java') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

                println("init: ${'$'}{initscript.sourceFile}")
                """
            )
    
            val settings = withSettings(
                """
                println("settings: ${'$'}{buildscript.sourceFile}")
                """
            )
    
            val other = withFile(
                "other.gradle.kts",
                """
                println("other: ${'$'}{buildscript.sourceFile}")
                """
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top