Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 63 of 63 for writeResources (0.15 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

        def "sources are compiled and linked with C++ tools"() {
            settingsFile << "rootProject.name = 'app'"
            def app = new CppCompilerDetectingTestApp()
    
            given:
            app.writeSources(file('src/main'))
    
            and:
            buildFile << """
                apply plugin: 'cpp-application'
             """
    
            expect:
            succeeds "assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/html.go

    	if a.Filename == b.Filename {
    		return a.StartLineno < b.StartLineno
    	}
    	return a.Filename < b.Filename
    }
    
    // WriteSources writes lines as source code in a column headed by title.
    // phase is used for collapsing columns and should be unique across the table.
    func (w *HTMLWriter) WriteSources(phase string, all []*FuncLines) {
    	if w == nil {
    		return // avoid generating HTML just to discard it
    	}
    	var buf strings.Builder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    			continue
    		}
    		inlFns = append(inlFns, fnLines)
    	}
    
    	sort.Sort(ssa.ByTopo(inlFns))
    	if targetFn != nil {
    		inlFns = append([]*ssa.FuncLines{targetFn}, inlFns...)
    	}
    
    	writer.WriteSources("sources", inlFns)
    }
    
    func readFuncLines(file string, start, end uint) (*ssa.FuncLines, error) {
    	f, err := os.Open(os.ExpandEnv(file))
    	if err != nil {
    		return nil, err
    	}
    	defer f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top