Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 539 for cgofiles (0.29 sec)

  1. src/go/build/build.go

    	BinaryOnly    bool     // cannot be rebuilt from source (has //go:binary-only-package comment)
    
    	// Source files
    	GoFiles           []string // .go source files (excluding CgoFiles, TestGoFiles, XTestGoFiles)
    	CgoFiles          []string // .go source files that import "C"
    	IgnoredGoFiles    []string // .go source files ignored for this build (including ignored _test.go files)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/go/alldocs.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: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/go_test.go

    	defer tg.cleanup()
    	tg.parallel()
    	tg.makeTempdir()
    	tg.setenv("GOCACHE", tg.tempdir)
    
    	tg.run("list", "-f", `{{join .CgoFiles "\n"}}`, "net")
    	if tg.stdout.String() == "" {
    		t.Skip("net does not use cgo")
    	}
    	if strings.Contains(tg.stdout.String(), tg.tempdir) {
    		t.Fatalf(".CgoFiles unexpectedly mentioned cache %s", tg.tempdir)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K 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