Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,619 for ctxt (0.11 sec)

  1. src/runtime/signal_openbsd_386.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) eax() uint32 { return c.regs().sc_eax }
    func (c *sigctxt) ebx() uint32 { return c.regs().sc_ebx }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:56:15 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  2. src/go/types/instantiate_test.go

    		pkg := mustTypecheck(test.src, nil, nil)
    
    		t.Run(pkg.Name(), func(t *testing.T) {
    			ctxt := NewContext()
    
    			T1 := pkg.Scope().Lookup(test.name1).Type()
    			res1, err := Instantiate(ctxt, T1, test.targs1, false)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			T2 := pkg.Scope().Lookup(test.name2).Type()
    			res2, err := Instantiate(ctxt, T2, test.targs2, false)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/amd64/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.Hplan9: /* plan 9 */
    		ld.HEADR = 32 + 8
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 0x200000
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/link/internal/arm64/obj.go

    			Solarisdynld:   "XXX",
    
    			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.Hplan9: /* plan 9 */
    		ld.HEADR = 32
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 4096
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcarchive/testdata/main_unix.c

    #include <stdlib.h>
    #include <string.h>
    
    struct sigaction sa;
    struct sigaction osa;
    
    static void (*oldHandler)(int, siginfo_t*, void*);
    
    static void handler(int signo, siginfo_t* info, void* ctxt) {
    	if (oldHandler) {
    		oldHandler(signo, info, ctxt);
    	}
    }
    
    int install_handler() {
    	// Install our own signal handler.
    	memset(&sa, 0, sizeof sa);
    	sa.sa_sigaction = handler;
    	sigemptyset(&sa.sa_mask);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/reflect/asm_wasm.s

    // for more details.
    // No arg size here; runtime pulls arg map out of the func value.
    TEXT ·makeFuncStub(SB),(NOSPLIT|WRAPPER),$40
    	NO_LOCAL_POINTERS
    
    	MOVD CTXT, 0(SP)
    
    	Get SP
    	Get SP
    	I64ExtendI32U
    	I64Const $argframe+0(FP)
    	I64Add
    	I64Store $8
    
    	MOVB $0, 32(SP)
    	MOVD $32(SP), 16(SP)
    	MOVD $0, 24(SP)
    
    	CALL ·callReflect(SB)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 02 16:53:18 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  7. src/runtime/signal_openbsd_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() *sigcontext {
    	return (*sigcontext)(c.ctxt)
    }
    
    func (c *sigctxt) rax() uint64 { return c.regs().sc_rax }
    func (c *sigctxt) rbx() uint64 { return c.regs().sc_rbx }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:56:15 UTC 2016
    - 2K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/line_test.go

    	})
    }
    
    func testBadInstParser(t *testing.T, goarch string, tests []badInstTest) {
    	for i, test := range tests {
    		arch, ctxt := setArch(goarch)
    		tokenizer := lex.NewTokenizer("", strings.NewReader(test.input+"\n"), nil)
    		parser := NewParser(ctxt, arch, tokenizer)
    
    		err := tryParse(t, func() {
    			parser.Parse()
    		})
    
    		switch {
    		case err == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/runtime/signal_linux_386.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) eax() uint32 { return c.regs().eax }
    func (c *sigctxt) ebx() uint32 { return c.regs().ebx }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 18:54:48 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  10. src/runtime/signal_netbsd_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() *mcontextt {
    	return (*mcontextt)(unsafe.Pointer(&(*ucontextt)(c.ctxt).uc_mcontext))
    }
    
    func (c *sigctxt) rax() uint64 { return c.regs().__gregs[_REG_RAX] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 18:51:53 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top