Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for StartCol (0.12 sec)

  1. src/cmd/vendor/golang.org/x/tools/cover/profile.go

    		// Merge samples from the same location.
    		j := 1
    		for i := 1; i < len(p.Blocks); i++ {
    			b := p.Blocks[i]
    			last := p.Blocks[j-1]
    			if b.StartLine == last.StartLine &&
    				b.StartCol == last.StartCol &&
    				b.EndLine == last.EndLine &&
    				b.EndCol == last.EndCol {
    				if b.NumStmt != last.NumStmt {
    					return nil, fmt.Errorf("inconsistent NumStmt: changed from %d to %d", last.NumStmt, b.NumStmt)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 17:02:03 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/resources/org/gradle/reporting/report.js

                var currentCol = 0;
                slices = [];
                row.find("th").each(function(){
                    var e = $(this);
                    var title = e.text().trim();
                    var startCol = currentCol;
                    currentCol += parseInt(e.attr('colspan'));
                    var endCol = currentCol;
                    if (title.length === 0) {
                        return;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/cmd/cover/func.go

    	for _, b := range profile.Blocks {
    		if b.StartLine > f.endLine || (b.StartLine == f.endLine && b.StartCol >= f.endCol) {
    			// Past the end of the function.
    			break
    		}
    		if b.EndLine < f.startLine || (b.EndLine == f.startLine && b.EndCol <= f.startCol) {
    			// Before the beginning of the function
    			continue
    		}
    		total += int64(b.NumStmt)
    		if b.Count > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/scanner.go

    	nlsemi := s.nlsemi
    	s.nlsemi = false
    
    redo:
    	// skip white space
    	s.stop()
    	startLine, startCol := s.pos()
    	for s.ch == ' ' || s.ch == '\t' || s.ch == '\n' && !nlsemi || s.ch == '\r' {
    		s.nextch()
    	}
    
    	// token start
    	s.line, s.col = s.pos()
    	s.blank = s.line > startLine || startCol == colbase
    	s.start()
    	if isLetter(s.ch) || s.ch >= utf8.RuneSelf && s.atIdentChar(true) {
    		s.nextch()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  5. src/go/printer/nodes.go

    		p.print(x)
    
    	case *ast.FuncLit:
    		p.setPos(x.Type.Pos())
    		p.print(token.FUNC)
    		// See the comment in funcDecl about how the header size is computed.
    		startCol := p.out.Column - len("func")
    		p.signature(x.Type)
    		p.funcBody(p.distanceFrom(x.Type.Pos(), startCol), blank, x.Body)
    
    	case *ast.ParenExpr:
    		if _, hasParens := x.X.(*ast.ParenExpr); hasParens {
    			// don't print parentheses around an already parenthesized expression
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top