Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isSpaceOrComment (0.19 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    	// Regular expression to parse log data, of the form:
    	// ... file:line] msg...
    	logInfoRE = regexp.MustCompile(`^[^\[\]]+:[0-9]+]\s`)
    )
    
    func isSpaceOrComment(line string) bool {
    	trimmed := strings.TrimSpace(line)
    	return len(trimmed) == 0 || trimmed[0] == '#'
    }
    
    // parseGoCount parses a Go count profile (e.g., threadcreate or
    // goroutine) and returns a new Profile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
Back to top