Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,619 for ctxt (0.1 sec)

  1. src/runtime/cgo/gcc_context.c

    //go:build unix || windows
    
    #include "libcgo.h"
    
    // Releases the cgo traceback context.
    void _cgo_release_context(uintptr_t ctxt) {
    	void (*pfn)(struct context_arg*);
    
    	pfn = _cgo_get_context_function();
    	if (ctxt != 0 && pfn != nil) {
    		struct context_arg arg;
    
    		arg.Context = ctxt;
    		(*pfn)(&arg);
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 466 bytes
    - Viewed (0)
  2. src/cmd/link/internal/riscv64/obj.go

    			Reloc1:    elfreloc1,
    			RelocSize: 24,
    			SetupPLT:  elfsetupplt,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	case objabi.Hlinux, objabi.Hfreebsd, objabi.Hopenbsd:
    		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: Tue Oct 03 17:46:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/seh.go

    	"encoding/base64"
    	"fmt"
    	"math"
    )
    
    type sehbuf struct {
    	ctxt *obj.Link
    	data []byte
    	off  int
    }
    
    func newsehbuf(ctxt *obj.Link, nodes uint8) sehbuf {
    	// - 8 bytes for the header
    	// - 2 bytes for each node
    	// - 2 bytes in case nodes is not even
    	size := 8 + nodes*2
    	if nodes%2 != 0 {
    		size += 2
    	}
    	return sehbuf{ctxt, make([]byte, size), 0}
    }
    
    func (b *sehbuf) write8(v uint8) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/runtime/sys_riscv64.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: Sun Jan 19 14:04:09 UTC 2020
    - 469 bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/sys_arm.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
    }
    
    // for testing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 05 18:19:46 UTC 2016
    - 521 bytes
    - Viewed (0)
  10. 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)
Back to top