Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for cgofiles (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/go/internal/modindex/read.go

    	}
    	sort.Strings(p.AllTags)
    
    	if len(p.CgoFiles) > 0 {
    		p.SFiles = append(p.SFiles, Sfiles...)
    		sort.Strings(p.SFiles)
    	} else {
    		p.IgnoredOtherFiles = append(p.IgnoredOtherFiles, Sfiles...)
    		sort.Strings(p.IgnoredOtherFiles)
    	}
    
    	if badGoError != nil {
    		return p, badGoError
    	}
    	if len(p.GoFiles)+len(p.CgoFiles)+len(p.TestGoFiles)+len(p.XTestGoFiles) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/clean/clean.go

    		// Record which files are not in package main.
    		// The others are.
    		keep := func(list []string) {
    			for _, f := range list {
    				packageFile[f] = true
    			}
    		}
    		keep(p.GoFiles)
    		keep(p.CgoFiles)
    		keep(p.TestGoFiles)
    		keep(p.XTestGoFiles)
    	}
    
    	_, elem := filepath.Split(p.Dir)
    	var allRemove []string
    
    	// Remove dir-named executable only if this is package main.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/test.go

    		ptest = new(Package)
    		*ptest = *p
    		ptest.Error = ptestErr
    		ptest.Incomplete = incomplete
    		ptest.ForTest = p.ImportPath
    		ptest.GoFiles = nil
    		ptest.GoFiles = append(ptest.GoFiles, p.GoFiles...)
    		ptest.GoFiles = append(ptest.GoFiles, p.TestGoFiles...)
    		ptest.Target = ""
    		// Note: The preparation of the vet config requires that common
    		// indexes in ptest.Imports and ptest.Internal.RawImports
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. src/cmd/doc/pkg.go

    	// That means the file must be in the build package's GoFiles or CgoFiles
    	// list only (no tag-ignored files, tests, swig or other non-Go files).
    	include := func(info fs.FileInfo) bool {
    		for _, name := range pkg.GoFiles {
    			if name == info.Name() {
    				return true
    			}
    		}
    		for _, name := range pkg.CgoFiles {
    			if name == info.Name() {
    				return true
    			}
    		}
    		return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/gccgo.go

    	return nil
    }
    
    func (tools gccgoToolchain) asm(b *Builder, a *Action, sfiles []string) ([]string, error) {
    	p := a.Package
    	var ofiles []string
    	for _, sfile := range sfiles {
    		base := filepath.Base(sfile)
    		ofile := a.Objdir + base[:len(base)-len(".s")] + ".o"
    		ofiles = append(ofiles, ofile)
    		sfile, _ = fsys.OverlayPath(mkAbs(p.Dir, sfile))
    		defs := []string{"-D", "GOOS_" + cfg.Goos, "-D", "GOARCH_" + cfg.Goarch}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/build.go

    }
    
    // omitTestOnly returns pkgs with test-only packages removed.
    func omitTestOnly(pkgs []*load.Package) []*load.Package {
    	var list []*load.Package
    	for _, p := range pkgs {
    		if len(p.GoFiles)+len(p.CgoFiles) == 0 && !p.Internal.CmdlinePkgLiteral {
    			// Package has no source files,
    			// perhaps due to build tags or perhaps due to only having *_test.go files.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/mdo/profiles.mdo

      xml.namespace="http://maven.apache.org/PROFILES/${version}"
      xml.schemaLocation="http://maven.apache.org/xsd/profiles-${version}.xsd">
      <id>profiles</id>
      <name>Profiles</name>
      <description><![CDATA[
        <b>Deprecated in Maven 2</b> Project-local overrides to the build process based on detected or user-provided environmental parameters.
        This is the model specification for <code>${basedir}/profiles.xml</code>.
      ]]></description>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 03 21:08:35 UTC 2023
    - 13.8K bytes
    - Viewed (0)
Back to top