- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 539 for cgofiles (0.14 sec)
-
src/cmd/go/testdata/script/list_constraints.txt
env GOARCH=amd64 env CGO_ENABLED=1 go list -f '{{range .GoFiles}}{{.}} {{end}}' stdout '^cgotag.go empty.go suffix_linux.go tag.go $' go list -f '{{range .CgoFiles}}{{.}} {{end}}' stdout '^cgoimport.go $' go list -f '{{range .Imports}}{{.}} {{end}}' stdout '^C cgoimport cgotag suffix tag $' # Disabling cgo should exclude cgo files and their imports. env CGO_ENABLED=0 go list -f '{{range .GoFiles}}{{.}} {{end}}'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 04 23:54:27 UTC 2019 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go
decl.Recv = nil } } decls = append(decls, decl) } f.Decls = decls if debug { format.Node(os.Stderr, fset, f) // debugging } cgoFiles = append(cgoFiles, f) } if cgoFiles == nil { return nil, nil, nil // nothing to do (can't happen?) } // Type-check the synthetic files. tc := &types.Config{ FakeImportC: true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/go/internal/vet/vet.go
if err != nil { base.Errorf("%v", err) continue } if len(ptest.GoFiles) == 0 && len(ptest.CgoFiles) == 0 && pxtest == nil { base.Errorf("go: can't vet %s: no Go files in %s", p.ImportPath, p.Dir) continue } if len(ptest.GoFiles) > 0 || len(ptest.CgoFiles) > 0 { root.Deps = append(root.Deps, b.VetAction(work.ModeBuild, work.ModeBuild, ptest)) } if pxtest != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 19:23:42 UTC 2023 - 3.2K bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
// files are in an overlay): the code expects the package directory // to exist and runs some tools in that directory. // TODO(#39958): Process the overlays when the // gofiles, cgofiles, cfiles, sfiles, and cxxfiles variables are // created in (*Builder).build. Doing that requires rewriting the // code that uses those values to expect absolute paths. f, _ = fsys.OverlayPath(f) args = append(args, f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/go/internal/srcimporter/srcimporter.go
if p.packages[bp.ImportPath] == &importing { p.packages[bp.ImportPath] = nil } }() var filenames []string filenames = append(filenames, bp.GoFiles...) filenames = append(filenames, bp.CgoFiles...) files, err := p.parseFiles(bp.Dir, filenames) if err != nil { return nil, err } // type-check package files var firstHardErr error conf := types.Config{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 18:54:32 UTC 2022 - 8.2K bytes - Viewed (0) -
src/cmd/go/internal/run/run.go
p.Target = "" // must build - not up to date if p.Internal.CmdlineFiles { //set executable name if go file is given as cmd-argument var src string if len(p.GoFiles) > 0 { src = p.GoFiles[0] } else if len(p.CgoFiles) > 0 { src = p.CgoFiles[0] } else { // this case could only happen if the provided source uses cgo // while cgo is disabled. hint := "" if !cfg.BuildContext.CgoEnabled {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 19:09:38 UTC 2023 - 6.9K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
if dir != "" { if err := sh.Mkdir(dir); err != nil { return err } } gofiles := str.StringList(p.GoFiles) cgofiles := str.StringList(p.CgoFiles) cfiles := str.StringList(p.CFiles) sfiles := str.StringList(p.SFiles) cxxfiles := str.StringList(p.CXXFiles) var objects, cgoObjects, pcCFLAGS, pcLDFLAGS []string if p.UsesCgo() || p.UsesSwig() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/cmd/go/internal/list/list.go
DefaultGODEBUG string // default GODEBUG setting, for main packages // Source files GoFiles []string // .go source files (excluding CgoFiles, TestGoFiles, XTestGoFiles) CgoFiles []string // .go source files that import "C" CompiledGoFiles []string // .go files presented to compiler (when using -compiled)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:56:39 UTC 2024 - 33.3K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
p.Goroot = pp.Goroot p.Standard = p.Goroot && p.ImportPath != "" && search.IsStandardImportPath(p.ImportPath) p.GoFiles = pp.GoFiles p.CgoFiles = pp.CgoFiles p.IgnoredGoFiles = pp.IgnoredGoFiles p.InvalidGoFiles = pp.InvalidGoFiles p.IgnoredOtherFiles = pp.IgnoredOtherFiles p.CFiles = pp.CFiles p.CXXFiles = pp.CXXFiles p.MFiles = pp.MFiles p.HFiles = pp.HFiles p.FFiles = pp.FFiles p.SFiles = pp.SFiles
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/go/types/gotype.go
if _, nogo := err.(*build.NoGoError); err != nil && !nogo { return nil, err } if *xtestFiles { return parseFiles(dir, pkginfo.XTestGoFiles) } filenames := append(pkginfo.GoFiles, pkginfo.CgoFiles...) if *testFiles { filenames = append(filenames, pkginfo.TestGoFiles...) } return parseFiles(dir, filenames) } func getPkgFiles(args []string) ([]*ast.File, error) { if len(args) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 8.3K bytes - Viewed (0)