Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readObjBlob (0.23 sec)

  1. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	if !strings.HasPrefix(res, "// ") {
    		dr.t.Fatalf("malformed line %s:%d, no comment: %s", dr.p, dr.ln, res)
    	}
    	return res[3:]
    }
    
    // readObjBlob reads in a series of commented lines until
    // it hits a delimiter, then returns the contents of the comments.
    func (dr *dumpReader) readObjBlob(delim string) (string, error) {
    	var sb strings.Builder
    	foundDelim := false
    	for dr.scan() {
    		line := dr.curLine()
    		if delim == line {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
Back to top