Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,060 for ctxt (0.13 sec)

  1. src/cmd/link/internal/mips/obj.go

    			// .dynamic section.
    			DynamicReadOnly: true,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    	case objabi.Hlinux: /* mips elf */
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x10000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/amd64/asm.go

    		// assume got->size == 0 too
    		got.AddAddrPlus(ctxt.Arch, dynamic, 0)
    
    		got.AddUint64(ctxt.Arch, 0)
    		got.AddUint64(ctxt.Arch, 0)
    	}
    }
    
    func addpltsym(target *ld.Target, ldr *loader.Loader, syms *ld.ArchSyms, s loader.Sym) {
    	if ldr.SymPlt(s) >= 0 {
    		return
    	}
    
    	ld.Adddynsym(ldr, target, syms, s)
    
    	if target.IsElf() {
    		plt := ldr.MakeSymbolUpdater(syms.PLT)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  3. src/runtime/cgo/asm_386.s

    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    TEXT crosscall2(SB),NOSPLIT,$28-16
    	MOVL BP, 24(SP)
    	MOVL BX, 20(SP)
    	MOVL SI, 16(SP)
    	MOVL DI, 12(SP)
    
    	MOVL	ctxt+12(FP), AX
    	MOVL	AX, 8(SP)
    	MOVL	a+4(FP), AX
    	MOVL	AX, 4(SP)
    	MOVL	fn+0(FP), AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/subst.go

    // from the incoming type.
    //
    // If expanding is non-nil, it is the instance type currently being expanded.
    // One of expanding or ctxt must be non-nil.
    func (check *Checker) subst(pos syntax.Pos, typ Type, smap substMap, expanding *Named, ctxt *Context) Type {
    	assert(expanding != nil || ctxt != nil)
    
    	if smap.empty() {
    		return typ
    	}
    
    	// common cases
    	switch t := typ.(type) {
    	case *Basic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/go/types/subst.go

    // from the incoming type.
    //
    // If expanding is non-nil, it is the instance type currently being expanded.
    // One of expanding or ctxt must be non-nil.
    func (check *Checker) subst(pos token.Pos, typ Type, smap substMap, expanding *Named, ctxt *Context) Type {
    	assert(expanding != nil || ctxt != nil)
    
    	if smap.empty() {
    		return typ
    	}
    
    	// common cases
    	switch t := typ.(type) {
    	case *Basic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go

    	// instantiations below.
    	if ctxt == nil {
    		ctxt = types.NewContext()
    	}
    
    	var targs []types.Type
    	for i := 0; i < vtparams.Len(); i++ {
    		targs = append(targs, vtparams.At(i))
    	}
    
    	vinst, err := types.Instantiate(ctxt, V, targs, true)
    	if err != nil {
    		panic("type parameters should satisfy their own constraints")
    	}
    
    	tinst, err := types.Instantiate(ctxt, T, targs, true)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/cmd/link/internal/mips64/obj.go

    			// Historically GNU ld creates a read-only
    			// .dynamic section.
    			DynamicReadOnly: true,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    
    	case objabi.Hplan9: /* plan 9 */
    		ld.HEADR = 32
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 16 * 1024
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. src/runtime/cgo/asm_loong64.s

    	MOVV	R6, (R5)
    	RET
    
    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	/*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/asm9.go

    	}
    
    	c := ctxt9{ctxt: ctxt, newprog: newprog, cursym: cursym, autosize: int32(p.To.Offset)}
    
    	pc := int64(0)
    	p.Pc = pc
    
    	var m int
    	var o *Optab
    	for p = p.Link; p != nil; p = p.Link {
    		p.Pc = pc
    		o = c.oplook(p)
    		m = int(o.size)
    		if m == 0 {
    			if p.As == obj.APCALIGN {
    				a := c.vregoff(&p.From)
    				m = addpad(pc, a, ctxt, cursym)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/loong64/asm.go

    var xcmp [C_NCLASS][C_NCLASS]bool
    
    func span0(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	if ctxt.Retpoline {
    		ctxt.Diag("-spectre=ret not supported on loong64")
    		ctxt.Retpoline = false // don't keep printing
    	}
    
    	p := cursym.Func().Text
    	if p == nil || p.Link == nil { // handle external functions and ELF section symbols
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
Back to top