Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for dumpInlines (0.22 sec)

  1. src/cmd/vendor/golang.org/x/build/relnote/dump.go

    		case *md.Link:
    			dprintf(depth, "Link:\n")
    			dumpInlines(in.Inner, depth+1)
    			dprintf(depth+1, "URL: %q\n", in.URL)
    		case *md.Strong:
    			dprintf(depth, "Strong(%q):\n", in.Marker)
    			dumpInlines(in.Inner, depth+1)
    		case *md.Emph:
    			dprintf(depth, "Emph(%q):\n", in.Marker)
    			dumpInlines(in.Inner, depth+1)
    		case *md.Del:
    			dprintf(depth, "Del(%q):\n", in.Marker)
    			dumpInlines(in.Inner, depth+1)
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/covdata/tool_test.go

    	want0 := "mode: set"
    	if lines[0] != want0 {
    		dumplines(lines[0:10])
    		t.Errorf("textfmt: want %s got %s", want0, lines[0])
    	}
    	want1 := mainPkgPath + "/prog1.go:13.14,15.2 1 1"
    	if lines[1] != want1 {
    		dumplines(lines[0:10])
    		t.Errorf("textfmt: want %s got %s", want1, lines[1])
    	}
    }
    
    func dumplines(lines []string) {
    	for i := range lines {
    		fmt.Fprintf(os.Stderr, "%s\n", lines[i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. src/debug/dwarf/line_test.go

    				t.Fail()
    			}
    			files = files[1:]
    		}
    	}
    
    	// Compare line tables.
    	if !compareLines(t, got, want) {
    		t.Log("Line tables do not match. Got:")
    		dumpLines(t, got)
    		t.Log("Want:")
    		dumpLines(t, want)
    		t.FailNow()
    	}
    }
    
    func compareFiles(a, b []*LineFile) bool {
    	if len(a) != len(b) {
    		return false
    	}
    	for i := range a {
    		if a[i] == nil && b[i] == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    var ssaDumpCFG string  // generate CFGs for these phases
    const ssaDumpFile = "ssa.html"
    
    // ssaDumpInlined holds all inlined functions when ssaDump contains a function name.
    var ssaDumpInlined []*ir.Func
    
    func DumpInline(fn *ir.Func) {
    	if ssaDump != "" && ssaDump == ir.FuncName(fn) {
    		ssaDumpInlined = append(ssaDumpInlined, fn)
    	}
    }
    
    func InitEnv() {
    	ssaDump = os.Getenv("GOSSAFUNC")
    	ssaDir = os.Getenv("GOSSADIR")
    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