Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gofmtPos (0.17 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
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top