Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for yesFuncsNoTests (0.33 sec)

  1. src/cmd/cover/testdata/pkgcfg/yesFuncsNoTests/yfnt.go

    package yesFuncsNoTests
    
    func F1() {
    	println("hi")
    }
    
    func F2(x int) int {
    	if x < 0 {
    		return 9
    	} else {
    		return 10
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:44:37 UTC 2023
    - 126 bytes
    - Viewed (0)
  2. src/cmd/cover/cfg_test.go

    	// with functions but no test files.
    	tpath := filepath.Join("testdata", "pkgcfg")
    	pkg1files := []string{filepath.Join(tpath, "yesFuncsNoTests", "yfnt.go")}
    	ppath := "cfg/yesFuncsNoTests"
    	pname := "yesFuncsNoTests"
    	mode := "count"
    	gran := "perblock"
    	tag := mode + "_" + gran
    	instdir := filepath.Join(dir, "inst")
    	if err := os.Mkdir(instdir, 0777); err != nil {
    		t.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top