Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for sourceFile (0.3 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    func isPerfFile(path string) bool {
    	sourceFile, openErr := os.Open(path)
    	if openErr != nil {
    		return false
    	}
    	defer sourceFile.Close()
    
    	// If the file is the output of a perf record command, it should begin
    	// with the string PERFILE2.
    	perfHeader := []byte("PERFILE2")
    	actualHeader := make([]byte, len(perfHeader))
    	if _, readErr := sourceFile.Read(actualHeader); readErr != nil {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

        @TempDir
        File jacocoDestinationDir
    
        def "reports when a TestKit build runs with a Java agent and configuration caching enabled"() {
            def builder = artifactBuilder()
            builder.sourceFile("TestAgent.java") << """
                public class TestAgent {
                    public static void premain(String p1, java.lang.instrument.Instrumentation p2) {
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

                        source.from '../Sources/${app.main.sourceFile.name}'
                    }
                }
                project(':hello') {
                    apply plugin: 'swift-library'
                    dependencies {
                        api project(':log')
                    }
                    library {
                        source.from '../Sources/${app.greeter.sourceFile.name}'
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

        def jarWithClasses(Map<String, String> javaSourceFiles, TestFile jarFile) {
            def builder = artifactBuilder()
            for (Map.Entry<String, String> entry : javaSourceFiles.entrySet()) {
                builder.sourceFile(entry.key + ".java").text = entry.value
            }
            builder.buildJar(jarFile)
        }
    
        public MavenFileRepository maven(TestFile repo) {
            return new MavenFileRepository(repo)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top