Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,007 for ctxt (0.15 sec)

  1. src/cmd/compile/internal/types2/context_test.go

    	if got := ctxt.lookup("", unaryP, []Type{Typ[Int]}); got != nil {
    		t.Error("bad")
    	}
    
    	// nullaryQ is identical to nullaryP, so we *should* get inst when
    	// instantiated with identical type arguments.
    	if got := ctxt.lookup("", nullaryQ, []Type{Typ[Int]}); got != inst {
    		t.Error("bad")
    	}
    
    	// ...but verify we don't get inst with different type arguments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 17 04:32:02 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  2. src/runtime/sys_loong64.go

    //go:build loong64
    
    package runtime
    
    import "unsafe"
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then did an immediate Gosave.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	if buf.lr != 0 {
    		throw("invalid use of gostartcall")
    	}
    	buf.lr = buf.pc
    	buf.pc = uintptr(fn)
    	buf.ctxt = ctxt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 20 15:12:31 UTC 2022
    - 489 bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/sym.go

    	AtExit(func() {
    		if nerrors > 0 {
    			ctxt.Out.ErrorClose()
    			mayberemoveoutfile()
    		}
    	})
    
    	return ctxt
    }
    
    // computeTLSOffset records the thread-local storage offset.
    // Not used for Android where the TLS offset is determined at runtime.
    func (ctxt *Link) computeTLSOffset() {
    	switch ctxt.HeadType {
    	default:
    		log.Fatalf("unknown thread-local storage offset for %v", ctxt.HeadType)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 19:28:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/runtime/sys_mipsx.go

    package runtime
    
    import "unsafe"
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then did an immediate Gosave.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	if buf.lr != 0 {
    		throw("invalid use of gostartcall")
    	}
    	buf.lr = buf.pc
    	buf.pc = uintptr(fn)
    	buf.ctxt = ctxt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 496 bytes
    - Viewed (0)
  5. src/runtime/sys_x86.go

    	"internal/goarch"
    	"unsafe"
    )
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then stopped before the first instruction in fn.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	sp := buf.sp
    	sp -= goarch.PtrSize
    	*(*uintptr)(unsafe.Pointer(sp)) = buf.pc
    	buf.sp = sp
    	buf.pc = uintptr(fn)
    	buf.ctxt = ctxt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 552 bytes
    - Viewed (0)
  6. src/runtime/cgo/asm_amd64.s

    	ADJSP	$0x18
    #ifndef GOOS_windows
    	MOVQ	DI, 0x0(SP)	/* fn */
    	MOVQ	SI, 0x8(SP)	/* arg */
    	// Skip n in DX.
    	MOVQ	CX, 0x10(SP)	/* ctxt */
    #else
    	MOVQ	CX, 0x0(SP)	/* fn */
    	MOVQ	DX, 0x8(SP)	/* arg */
    	// Skip n in R8.
    	MOVQ	R9, 0x10(SP)	/* ctxt */
    #endif
    
    	CALL	runtime·cgocallback(SB)
    
    	ADJSP	$-0x18
    	POP_REGS_HOST_TO_ABI0()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/link/internal/s390x/obj.go

    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    
    	case objabi.Hlinux: // s390x 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: Wed Sep 13 19:32:19 UTC 2023
    - 2.9K 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/link/internal/ld/ar.go

    // define them. This is used for the compiler support library
    // libgcc.a.
    func hostArchive(ctxt *Link, name string) {
    	if ctxt.Debugvlog > 1 {
    		ctxt.Logf("hostArchive(%s)\n", name)
    	}
    	f, err := bio.Open(name)
    	if err != nil {
    		if os.IsNotExist(err) {
    			// It's OK if we don't have a libgcc file at all.
    			if ctxt.Debugvlog != 0 {
    				ctxt.Logf("skipping libgcc file: %v\n", err)
    			}
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 23:11:11 UTC 2022
    - 7.2K bytes
    - Viewed (0)
Back to top