Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 321 for cgofiles (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. hack/grab-profiles.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script grabs profiles from running components.
    # Usage: `hack/grab-profiles.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    function grab_profiles_from_component {
      local requested_profiles=$1
      local mem_pprof_flags=$2
      local binary=$3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 17 06:47:05 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  7. releasenotes/notes/helm-profiles.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: installation
    
    # issue is a list of GitHub issues resolved in this note.
    issue:
      - 47838
    
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 256 bytes
    - Viewed (0)
  8. pkg/security/apparmor/testdata/profiles

    Tim St. Clair <******@****.***> 1469837612 -0700
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 11 17:31:25 UTC 2016
    - 978 bytes
    - Viewed (0)
  9. operator/pkg/helm/helm.go

    		}
    		_, err := sb.WriteString(f)
    		if err != nil {
    			return "", err
    		}
    	}
    
    	// Sort crd files by name to ensure stable manifest output
    	sort.Slice(crdFiles, func(i, j int) bool { return crdFiles[i].Name < crdFiles[j].Name })
    	for _, crdFile := range crdFiles {
    		f := string(crdFile.File.Data)
    		// add yaml separator if the rendered file doesn't have one at the end
    		f = strings.TrimSpace(f) + "\n"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_build_tags.txt

    # golang.org/issue/24053.
    
    env GO111MODULE=on
    
    cd x
    ! go list -f {{.GoFiles}}
    stderr 'build constraints exclude all Go files'
    
    go list -f {{.GoFiles}} -tags tag1
    stdout '\[x.go\]'
    
    go list -f {{.GoFiles}} -tags tag2
    stdout '\[y\.go\]'
    
    go list -f {{.GoFiles}} -tags 'tag1 tag2'
    stdout '\[x\.go y\.go\]'
    
    go list -f {{.GoFiles}} -tags tag1,tag2 # commas allowed as of Go 1.13
    stdout '\[x\.go y\.go\]'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 14:25:19 UTC 2019
    - 538 bytes
    - Viewed (0)
Back to top