Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 2,875 for ctxt (0.05 sec)

  1. src/runtime/signal_openbsd_riscv64.go

    package runtime
    
    import (
    	"internal/goarch"
    	"unsafe"
    )
    
    type sigctxt struct {
    	info *siginfo
    	ctxt unsafe.Pointer
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *sigcontext {
    	return (*sigcontext)(c.ctxt)
    }
    
    func (c *sigctxt) ra() uint64  { return uint64(c.regs().sc_ra) }
    func (c *sigctxt) sp() uint64  { return uint64(c.regs().sc_sp) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    	char a[1024];
    
    	*p = '\0';
    	if (i > 0) {
    		recur(i - 1, a);
    	}
    }
    
    static void pipeHandler(int signo, siginfo_t* info, void* ctxt) {
    	sigpipeSeen = 1;
    }
    
    // Signal handler that uses up more stack space than a goroutine will have.
    static void ioHandler(int signo, siginfo_t* info, void* ctxt) {
    	char a[1024];
    
    	recur(4, a);
    	sigioSeen = 1;
    }
    
    static jmp_buf jmp;
    static char* nullPointer;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    	Fingerprint goobj.FingerprintType // fingerprint of symbol indices, to catch index mismatch
    }
    
    func (ctxt *Link) Diag(format string, args ...interface{}) {
    	ctxt.Errors++
    	ctxt.DiagFunc(format, args...)
    }
    
    func (ctxt *Link) Logf(format string, args ...interface{}) {
    	fmt.Fprintf(ctxt.Bso, format, args...)
    	ctxt.Bso.Flush()
    }
    
    // SpillRegisterArgs emits the code to spill register args into whatever
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. src/runtime/signal_linux_riscv64.go

    package runtime
    
    import (
    	"internal/goarch"
    	"unsafe"
    )
    
    type sigctxt struct {
    	info *siginfo
    	ctxt unsafe.Pointer
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *sigcontext { return &(*ucontext)(c.ctxt).uc_mcontext }
    
    func (c *sigctxt) ra() uint64  { return c.regs().sc_regs.ra }
    func (c *sigctxt) sp() uint64  { return c.regs().sc_regs.sp }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 18:54:48 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  5. src/runtime/align_test.go

    // buildableFiles returns the list of files in the given directory
    // that are actually used for the build, given GOOS/GOARCH restrictions.
    func buildableFiles(t *testing.T, dir string) []string {
    	ctxt := build.Default
    	ctxt.CgoEnabled = true
    	pkg, err := ctxt.ImportDir(dir, 0)
    	if err != nil {
    		t.Fatalf("can't find buildable files: %v", err)
    	}
    	return pkg.GoFiles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    	&& (ptr.Op != OpSB || !config.ctxt.Flag_dynlink) =>
    	(MOVBload [off1+int32(off2)] {sym} ptr mem)
    (MOVBUload [off1] {sym} (ADDconst [off2] ptr) mem) && is32Bit(int64(off1)+off2)
    	&& (ptr.Op != OpSB || !config.ctxt.Flag_dynlink) =>
    	(MOVBUload [off1+int32(off2)] {sym} ptr mem)
    (MOVHload [off1] {sym} (ADDconst [off2] ptr) mem) && is32Bit(int64(off1)+off2)
    	&& (ptr.Op != OpSB || !config.ctxt.Flag_dynlink) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/execarchive_noexec.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build wasm || windows
    
    package ld
    
    const syscallExecSupported = false
    
    func (ctxt *Link) execArchive(argv []string) {
    	panic("should never arrive here")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 320 bytes
    - Viewed (0)
  8. src/runtime/signal_freebsd_arm64.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    type sigctxt struct {
    	info *siginfo
    	ctxt unsafe.Pointer
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *mcontext { return &(*ucontext)(c.ctxt).uc_mcontext }
    
    func (c *sigctxt) r0() uint64  { return c.regs().mc_gpregs.gp_x[0] }
    func (c *sigctxt) r1() uint64  { return c.regs().mc_gpregs.gp_x[1] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:20:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/runtime/signal_openbsd_arm64.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    type sigctxt struct {
    	info *siginfo
    	ctxt unsafe.Pointer
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *sigcontext {
    	return (*sigcontext)(c.ctxt)
    }
    
    func (c *sigctxt) r0() uint64  { return (uint64)(c.regs().sc_x[0]) }
    func (c *sigctxt) r1() uint64  { return (uint64)(c.regs().sc_x[1]) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:20:42 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/runtime/signal_solaris_amd64.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    type sigctxt struct {
    	info *siginfo
    	ctxt unsafe.Pointer
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *mcontext {
    	return (*mcontext)(unsafe.Pointer(&(*ucontext)(c.ctxt).uc_mcontext))
    }
    
    func (c *sigctxt) rax() uint64 { return uint64(c.regs().gregs[_REG_RAX]) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:56:15 UTC 2016
    - 2.5K bytes
    - Viewed (0)
Back to top