Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Lbl (0.03 sec)

  1. src/runtime/mprof.go

    	})
    
    	if n <= len(p) {
    		ok = true
    		r, lbl := p, labels
    
    		// Save current goroutine.
    		sp := getcallersp()
    		pc := getcallerpc()
    		systemstack(func() {
    			saveg(pc, sp, gp, &r[0], pcbuf)
    		})
    		r = r[1:]
    
    		// If we have a place to put our goroutine labelmap, insert it there.
    		if labels != nil {
    			lbl[0] = gp.labels
    			lbl = lbl[1:]
    		}
    
    		// Save other goroutines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. src/go/printer/testdata/parser.go

    			// in which it is declared and excludes the body of any nested
    			// function.
    			stmt := &ast.LabeledStmt{label, colon, p.parseStmt()}
    			p.declare(stmt, p.labelScope, ast.Lbl, label)
    			return stmt
    		}
    		p.error(x[0].Pos(), "illegal label declaration")
    		return &ast.BadStmt{x[0].Pos(), colon + 1}
    
    	case token.ARROW:
    		// send statement
    		arrow := p.pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
Back to top