Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fileExtSplit (1.74 sec)

  1. src/cmd/go/internal/work/exec.go

    	// For example, defs_linux_amd64.h becomes defs_GOOS_GOARCH.h.
    	_goos_goarch := "_" + cfg.Goos + "_" + cfg.Goarch
    	_goos := "_" + cfg.Goos
    	_goarch := "_" + cfg.Goarch
    	for _, file := range p.HFiles {
    		name, ext := fileExtSplit(file)
    		switch {
    		case strings.HasSuffix(name, _goos_goarch):
    			targ := file[:len(name)-len(_goos_goarch)] + "_GOOS_GOARCH." + ext
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top