Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 224 for targ (0.11 sec)

  1. src/cmd/link/internal/ld/elf_test.go

    		if _, err := os.Stat(sprog); err != nil {
    			sp1, err := exec.LookPath(sprog)
    			if err != nil || sp1 == "" {
    				continue
    			}
    			sprog = sp1
    		}
    		targ := fmt.Sprintf("p%d.exe", k)
    		scmd := testenv.Command(t, sprog, "-o", targ, binFile)
    		scmd.Dir = dir
    		if sout, serr := scmd.CombinedOutput(); serr != nil {
    			t.Fatalf("failed to strip %v: %v:\n%s", scmd.Args, serr, sout)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/validtype.go

    			for i, tparam := range inst.TypeParams().list() {
    				// The type parameter and type argument lists should
    				// match in length but be careful in case of errors.
    				if t == tparam && i < inst.TypeArgs().Len() {
    					targ := inst.TypeArgs().At(i)
    					// The type argument must be valid in the enclosing
    					// type (where inst was instantiated), hence we must
    					// check targ's validity in the type nest excluding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 13:22:37 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/go/types/validtype.go

    			for i, tparam := range inst.TypeParams().list() {
    				// The type parameter and type argument lists should
    				// match in length but be careful in case of errors.
    				if t == tparam && i < inst.TypeArgs().Len() {
    					targ := inst.TypeArgs().At(i)
    					// The type argument must be valid in the enclosing
    					// type (where inst was instantiated), hence we must
    					// check targ's validity in the type nest excluding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/build.go

    		targ := pkgs[0].DefaultExecName()
    		targ += cfg.ExeSuffix
    		if filepath.Join(pkgs[0].Dir, targ) != pkgs[0].Target { // maybe $GOBIN is the current directory
    			fi, err := os.Stat(targ)
    			if err == nil {
    				m := fi.Mode()
    				if m.IsRegular() {
    					if m&0111 != 0 || cfg.Goos == "windows" { // windows never sets executable bit
    						os.Remove(targ)
    					}
    				}
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    	case *types.Chan:
    		return 9127 + 2*uint32(t.Dir()) + 3*h.Hash(t.Elem())
    
    	case *types.Named:
    		hash := h.hashPtr(t.Obj())
    		targs := t.TypeArgs()
    		for i := 0; i < targs.Len(); i++ {
    			targ := targs.At(i)
    			hash += 2 * h.Hash(targ)
    		}
    		return hash
    
    	case *types.TypeParam:
    		return h.hashTypeParam(t)
    
    	case *types.Tuple:
    		return h.hashTuple(t)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/macho.go

    // entries as we go and build the table at the end.
    type machoBindRecord struct {
    	off  int64
    	targ loader.Sym
    }
    
    var machobind []machoBindRecord
    
    func MachoAddBind(off int64, targ loader.Sym) {
    	machobind = append(machobind, machoBindRecord{off, targ})
    }
    
    // Generate data for the dynamic linker, used in LC_DYLD_INFO_ONLY load command.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/data.go

    		if r.IsMarker() {
    			continue // skip marker relocations
    		}
    		targ := r.Sym()
    		if targ == 0 {
    			continue
    		}
    		if !ctxt.loader.AttrReachable(targ) {
    			if r.Weak() {
    				continue
    			}
    			return fmt.Errorf("dynamic relocation to unreachable symbol %s",
    				ctxt.loader.SymName(targ))
    		}
    		tgot := ctxt.loader.SymGot(targ)
    		if tgot == loadpe.RedirectToDynImportGotToken {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/script/cmds.go

    				verbose = true
    				if args[0] == "-v" {
    					args = args[1:]
    				}
    			}
    
    			var cmds, conds []string
    			for _, arg := range args {
    				if strings.HasPrefix(arg, "[") && strings.HasSuffix(arg, "]") {
    					conds = append(conds, arg[1:len(arg)-1])
    				} else {
    					cmds = append(cmds, arg)
    				}
    			}
    
    			out := new(strings.Builder)
    
    			if len(conds) > 0 || (len(args) == 0 && len(s.engine.Conds) > 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. src/cmd/cgo/out.go

    				}
    			}
    		}
    		sym := elfImportedSymbols(f)
    		for _, s := range sym {
    			targ := s.Name
    			if s.Version != "" {
    				targ += "#" + s.Version
    			}
    			checkImportSymName(s.Name)
    			checkImportSymName(targ)
    			fmt.Fprintf(stdout, "//go:cgo_import_dynamic %s %s %q\n", s.Name, targ, s.Library)
    		}
    		lib, _ := f.ImportedLibraries()
    		for _, l := range lib {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/exec.go

    		switch {
    		case strings.HasSuffix(name, _goos_goarch):
    			targ := file[:len(name)-len(_goos_goarch)] + "_GOOS_GOARCH." + ext
    			if err := sh.CopyFile(objdir+targ, filepath.Join(p.Dir, file), 0666, true); err != nil {
    				return err
    			}
    		case strings.HasSuffix(name, _goarch):
    			targ := file[:len(name)-len(_goarch)] + "_GOARCH." + ext
    			if err := sh.CopyFile(objdir+targ, filepath.Join(p.Dir, file), 0666, true); err != nil {
    				return err
    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