Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for Pkgs (0.04 sec)

  1. src/cmd/compile/internal/walk/select.go

    	return typecheck.ConvNop(s, t)
    }
    
    var scase *types.Type
    
    // Keep in sync with src/runtime/select.go.
    func scasetype() *types.Type {
    	if scase == nil {
    		n := ir.NewDeclNameAt(src.NoXPos, ir.OTYPE, ir.Pkgs.Runtime.Lookup("scase"))
    		scase = types.NewNamed(n)
    		n.SetType(scase)
    		n.SetTypecheck(1)
    
    		scase.SetUnderlying(types.NewStruct([]*types.Field{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    		var pcflags []string
    		var pkgs []string
    		for _, pcarg := range pcargs {
    			if pcarg == "--" {
    				// We're going to add our own "--" argument.
    			} else if strings.HasPrefix(pcarg, "--") {
    				pcflags = append(pcflags, pcarg)
    			} else {
    				pkgs = append(pkgs, pcarg)
    			}
    		}
    		for _, pkg := range pkgs {
    			if !load.SafeArg(pkg) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/walk.go

    	sel.SetTypecheck(1)
    	sel.SetBounded(true) // guaranteed not to fault
    	return sel
    }
    
    func runtimeField(name string, offset int64, typ *types.Type) *types.Field {
    	f := types.NewField(src.NoXPos, ir.Pkgs.Runtime.Lookup(name), typ)
    	f.Offset = offset
    	return f
    }
    
    // ifaceData loads the data field from an interface.
    // The concrete type must be known to have type t.
    // It follows the pointer if !IsDirectIface(t).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/staticdata/data.go

    		s := nam.Sym()
    		sf := s.Pkg.Lookup(ir.FuncSymName(s)).Linksym()
    
    		// While compiling package runtime, we might try to create
    		// funcsyms for functions from both types.LocalPkg and
    		// ir.Pkgs.Runtime.
    		if base.Flag.CompilingRuntime && sf.OnList() {
    			continue
    		}
    
    		// Function values must always reference ABIInternal
    		// entry points.
    		target := s.Linksym()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:08:50 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. src/cmd/go/go_test.go

    	// Copy the runtime packages into a temporary GOROOT
    	// so that we can change files.
    	var dirs []string
    	tg.run("list", "-deps", "runtime")
    	pkgs := strings.Split(strings.TrimSpace(tg.getStdout()), "\n")
    	for _, pkg := range pkgs {
    		dirs = append(dirs, filepath.Join("src", pkg))
    	}
    	dirs = append(dirs,
    		filepath.Join("pkg/tool", goHostOS+"_"+goHostArch),
    		"pkg/include",
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader.go

    	if l.flags&FlagCheckLinkname == 0 {
    		return
    	}
    
    	error := func() {
    		log.Fatalf("%s: invalid reference to %s", pkg, name)
    	}
    	pkgs, ok := blockedLinknames[name]
    	if ok {
    		for _, p := range pkgs {
    			if pkg == p {
    				return // pkg is allowed
    			}
    		}
    		error()
    	}
    	r, li := l.toLocal(s)
    	if r == l.extReader { // referencing external symbol is okay
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/init.go

    		if gover.Compare(ld.requirements.GoVersion(), gover.TidyGoModSumVersion) < 0 && (ld.Tidy || cfg.BuildMod != "mod") {
    			keepPkgGoModSums = false
    			keepModSumsForZipSums = false
    		}
    		for _, pkg := range ld.pkgs {
    			// We check pkg.mod.Path here instead of pkg.inStd because the
    			// pseudo-package "C" is not in std, but not provided by any module (and
    			// shouldn't force loading the whole module graph).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    		s.callResult(n, callNormal)
    		if n.Op() == ir.OCALLFUNC && n.Fun.Op() == ir.ONAME && n.Fun.(*ir.Name).Class == ir.PFUNC {
    			if fn := n.Fun.Sym().Name; base.Flag.CompilingRuntime && fn == "throw" ||
    				n.Fun.Sym().Pkg == ir.Pkgs.Runtime &&
    					(fn == "throwinit" || fn == "gopanic" || fn == "panicwrap" || fn == "block" ||
    						fn == "panicmakeslicelen" || fn == "panicmakeslicecap" || fn == "panicunsafeslicelen" ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top