Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gofmtPos (0.04 sec)

  1. src/cmd/cgo/gcc.go

    		addr = "&"
    		deref = "*"
    	}
    
    	fmt.Fprintf(sb, "_cgoIndex%d := %s%s; ", i, addr, gofmtPos(index.X, index.X.Pos()))
    	origX := index.X
    	index.X = ast.NewIdent(fmt.Sprintf("_cgoIndex%d", i))
    	if deref == "*" {
    		index.X = &ast.StarExpr{X: index.X}
    	}
    	fmt.Fprintf(sb, "_cgo%d := %s; ", i, gofmtPos(arg, arg.Pos()))
    	index.X = origX
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top