Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 584 for ctxt (0.06 sec)

  1. src/cmd/go/internal/cfg/cfg.go

    		if ctxt.CgoEnabled {
    			if os.Getenv("CC") == "" {
    				cc := DefaultCC(ctxt.GOOS, ctxt.GOARCH)
    				if _, err := LookPath(cc); err != nil {
    					defaultCgoEnabled = false
    				}
    			}
    		}
    	}
    	ctxt.CgoEnabled = defaultCgoEnabled
    	if v := Getenv("CGO_ENABLED"); v == "0" || v == "1" {
    		ctxt.CgoEnabled = v[0] == '1'
    	}
    	CGOChanged = ctxt.CgoEnabled != defaultCgoEnabled
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/go/types/typestring.go

    	return &typeWriter{buf, make(map[Type]bool), qf, nil, nil, true, false, false}
    }
    
    func newTypeHasher(buf *bytes.Buffer, ctxt *Context) *typeWriter {
    	assert(ctxt != nil)
    	return &typeWriter{buf, make(map[Type]bool), nil, ctxt, nil, false, false, false}
    }
    
    func (w *typeWriter) byte(b byte) {
    	if w.ctxt != nil {
    		if b == ' ' {
    			b = '#'
    		}
    		w.buf.WriteByte(b)
    		return
    	}
    	w.buf.WriteByte(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/dwarf.go

    func dwarfEnabled(ctxt *Link) bool {
    	if *FlagW { // disable dwarf
    		return false
    	}
    	if ctxt.HeadType == objabi.Hplan9 || ctxt.HeadType == objabi.Hjs || ctxt.HeadType == objabi.Hwasip1 {
    		return false
    	}
    
    	if ctxt.LinkMode == LinkExternal {
    		switch {
    		case ctxt.IsELF:
    		case ctxt.HeadType == objabi.Hdarwin:
    		case ctxt.HeadType == objabi.Hwindows:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/dwarfgen/dwinl.go

    	for i := 0; i < ilevel; i++ {
    		base.Ctxt.Logf("  ")
    	}
    	ic := inlcalls.Calls[idx]
    	callee := base.Ctxt.InlTree.InlinedFunction(ic.InlIndex)
    	base.Ctxt.Logf("  %d: II:%d (%s) V: (", idx, ic.InlIndex, callee.Name)
    	for _, f := range ic.InlVars {
    		base.Ctxt.Logf(" %v", f.Name)
    	}
    	base.Ctxt.Logf(" ) C: (")
    	for _, k := range ic.Children {
    		base.Ctxt.Logf(" %v", k)
    	}
    	base.Ctxt.Logf(" ) R:")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/util.go

    			io.WriteString(w, sep)
    			WriteDconv(w, p, &p.RestArgs[i].Addr)
    			sep = ", "
    		}
    	}
    }
    
    func (ctxt *Link) NewProg() *Prog {
    	p := new(Prog)
    	p.Ctxt = ctxt
    	return p
    }
    
    func (ctxt *Link) CanReuseProgs() bool {
    	return ctxt.Debugasm == 0
    }
    
    // Dconv accepts an argument 'a' within a prog 'p' and returns a string
    // with a formatted version of the argument.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. cmd/server-main.go

    		}
    	}
    	if v == "" {
    		if !ctx.Args().Present() || ctx.Args().First() == "help" {
    			cli.ShowCommandHelpAndExit(ctx, ctx.Command.Name, 1)
    		}
    		return ctx.Args()
    	}
    	return strings.Fields(v)
    }
    
    func configCommonToSrvCtx(cf config.ServerConfigCommon, ctxt *serverCtxt) {
    	ctxt.RootUser = cf.RootUser
    	ctxt.RootPwd = cf.RootPwd
    
    	if cf.Addr != "" {
    		ctxt.Addr = cf.Addr
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/arm64/asm.go

    		plt.AddUint32(ctxt.Arch, 0xd61f0220)
    
    		// 3 nop for place holder
    		plt.AddUint32(ctxt.Arch, 0xd503201f)
    		plt.AddUint32(ctxt.Arch, 0xd503201f)
    		plt.AddUint32(ctxt.Arch, 0xd503201f)
    
    		// check gotplt.size == 0
    		if gotplt.Size() != 0 {
    			ctxt.Errorf(gotplt.Sym(), "got.plt is not empty at the very beginning")
    		}
    		gotplt.AddAddrPlus(ctxt.Arch, dynamic, 0)
    
    		gotplt.AddUint64(ctxt.Arch, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loong64/asm.go

    	"cmd/link/internal/ld"
    	"cmd/link/internal/loader"
    	"cmd/link/internal/sym"
    	"debug/elf"
    	"log"
    )
    
    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	o := func(op uint32) {
    		initfunc.AddUint32(ctxt.Arch, op)
    	}
    
    	// Emit the following function:
    	//
    	//	local.dso_init:
    	//		la.pcrel $a0, local.moduledata
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/reflect/makefunc.go

    }
    
    // makeFuncStub is an assembly function that is the code half of
    // the function returned from MakeFunc. It expects a *callReflectFunc
    // as its context register, and its job is to invoke callReflect(ctxt, frame)
    // where ctxt is the context register and frame is a pointer to the first
    // word in the passed-in argument frame.
    func makeFuncStub()
    
    // The first 3 words of this type must be kept in sync with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug.go

    		listSym.WriteAddr(ctxt, listSym.Size, ctxt.Arch.PtrSize, startPC, 0)
    	}
    
    	// Re-read list, translating its address from block/value ID to PC.
    	for i := 0; i < len(list); {
    		begin := getPC(decodeValue(ctxt, readPtr(ctxt, list[i:])))
    		end := getPC(decodeValue(ctxt, readPtr(ctxt, list[i+ctxt.Arch.PtrSize:])))
    
    		// Horrible hack. If a range contains only zero-width
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top