Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 91 for symaddr (0.13 sec)

  1. src/cmd/link/internal/ppc64/asm.go

    	// (LO) instruction sequences used to implement absolute relocations
    	// on PPC64 prior to ISA 3.1 (P10). For consistency, maintain this
    	// restriction for ISA 3.1 unless it becomes problematic.
    	t := ldr.SymAddr(rs) + r.Add()
    	if t < 0 || t >= 1<<31 {
    		ldr.Errorf(s, "relocation for %s is too big (>=2G): 0x%x", ldr.SymName(s), ldr.SymValue(rs))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    			continue
    		}
    		if v.Type.IsTuple() && v.Type.FieldType(1).IsMemory() {
    			// We could handle this situation however it is likely
    			// to be very rare.
    			return false
    		}
    		if v.Op.SymEffect()&SymAddr != 0 {
    			// This case prevents an operation that calculates the
    			// address of a local variable from being forced to schedule
    			// before its corresponding VarDef.
    			// See issue 28445.
    			//   v1 = LOAD ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. src/runtime/signal_freebsd_arm64.go

    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) pc() uint64 { return c.regs().mc_gpregs.gp_elr }
    
    func (c *sigctxt) fault() uintptr { return uintptr(c.info.si_addr) }
    
    func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr }
    
    func (c *sigctxt) set_pc(x uint64)  { c.regs().mc_gpregs.gp_elr = x }
    func (c *sigctxt) set_sp(x uint64)  { c.regs().mc_gpregs.gp_sp = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:20:42 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/runtime/signal_freebsd_riscv64.go

    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) pc() uint64 { return c.regs().mc_gpregs.gp_sepc }
    
    func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr }
    
    func (c *sigctxt) set_pc(x uint64) { c.regs().mc_gpregs.gp_sepc = x }
    func (c *sigctxt) set_ra(x uint64) { c.regs().mc_gpregs.gp_ra = x }
    func (c *sigctxt) set_sp(x uint64) { c.regs().mc_gpregs.gp_sp = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:17:13 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. src/runtime/signal_aix_ppc64.go

    // TODO(aix): find trap equivalent
    func (c *sigctxt) trap() uint32 { return 0x0 }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint64 { return uint64(c.info.si_addr) }
    func (c *sigctxt) fault() uintptr  { return uintptr(c.sigaddr()) }
    
    func (c *sigctxt) set_r0(x uint64)   { c.regs().gpr[0] = x }
    func (c *sigctxt) set_r12(x uint64)  { c.regs().gpr[12] = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. src/runtime/signal_darwin_amd64.go

    func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr }
    
    func (c *sigctxt) set_rip(x uint64)     { c.regs().rip = x }
    func (c *sigctxt) set_rsp(x uint64)     { c.regs().rsp = x }
    func (c *sigctxt) set_sigcode(x uint64) { c.info.si_code = int32(x) }
    func (c *sigctxt) set_sigaddr(x uint64) { c.info.si_addr = x }
    
    //go:nosplit
    func (c *sigctxt) fixsigcode(sig uint32) {
    	switch sig {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 23:07:11 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. src/runtime/signal_linux_ppc64x.go

    func (c *sigctxt) xer() uint64  { return c.regs().xer }
    func (c *sigctxt) ccr() uint64  { return c.regs().ccr }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr }
    func (c *sigctxt) fault() uintptr  { return uintptr(c.regs().dar) }
    
    func (c *sigctxt) set_r0(x uint64)   { c.regs().gpr[0] = x }
    func (c *sigctxt) set_r12(x uint64)  { c.regs().gpr[12] = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/runtime/defs_linux_s390x.go

    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    	// below here is a union; si_addr is the only field we use
    	si_addr uint64
    }
    
    type siginfo struct {
    	siginfoFields
    
    	// Pad struct to the max size in the kernel.
    	_ [_si_max_size - unsafe.Sizeof(siginfoFields{})]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/net/resolverdialfunc_test.go

    	n = len(tcpRes) - 2
    	tcpRes[0] = byte(n >> 8)
    	tcpRes[1] = byte(n)
    	a.rbuf.Write(tcpRes[2:])
    
    	return len(packet), nil
    }
    
    type someaddr struct{}
    
    func (someaddr) Network() string { return "unused" }
    func (someaddr) String() string  { return "unused-someaddr" }
    
    func mapRCode(err error) dnsmessage.RCode {
    	switch err {
    	case nil:
    		return dnsmessage.RCodeSuccess
    	case ErrNotExist:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. cmd/net_test.go

    		t.Run("", func(t *testing.T) {
    			sameAddr, err := sameLocalAddrs(testCase.addr1, testCase.addr2)
    			if testCase.expectedErr != nil && err == nil {
    				t.Errorf("should fail but succeeded")
    			}
    			if testCase.expectedErr == nil && err != nil {
    				t.Errorf("should succeed but failed with %v", err)
    			}
    			if err == nil {
    				if sameAddr != testCase.sameAddr {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top