Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 135 for symaddr (0.2 sec)

  1. src/runtime/signal_linux_mips64x.go

    func (c *sigctxt) lo() uint64   { return c.regs().sc_mdlo }
    func (c *sigctxt) hi() uint64   { return c.regs().sc_mdhi }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr }
    
    func (c *sigctxt) set_r28(x uint64)  { c.regs().sc_regs[28] = x }
    func (c *sigctxt) set_r30(x uint64)  { c.regs().sc_regs[30] = x }
    func (c *sigctxt) set_pc(x uint64)   { c.regs().sc_pc = x }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/internal/objfile/objfile.go

    	syms, err := e.raw.symbols()
    	if err != nil {
    		return nil, err
    	}
    	sort.Sort(byAddr(syms))
    	return syms, nil
    }
    
    type byAddr []Sym
    
    func (x byAddr) Less(i, j int) bool { return x[i].Addr < x[j].Addr }
    func (x byAddr) Len() int           { return len(x) }
    func (x byAddr) Swap(i, j int)      { x[i], x[j] = x[j], x[i] }
    
    func (e *Entry) PCLineTable() (Liner, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 24 16:01:55 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/net/sock_posix.go

    	// 3) the one passed to us as the raddr parameter.
    	lsa, _ = syscall.Getsockname(fd.pfd.Sysfd)
    	if crsa != nil {
    		fd.setAddr(fd.addrFunc()(lsa), fd.addrFunc()(crsa))
    	} else if rsa, _ = syscall.Getpeername(fd.pfd.Sysfd); rsa != nil {
    		fd.setAddr(fd.addrFunc()(lsa), fd.addrFunc()(rsa))
    	} else {
    		fd.setAddr(fd.addrFunc()(lsa), raddr)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. src/runtime/signal_openbsd_arm.go

    func (c *sigctxt) fault() uintptr  { return uintptr(c.sigaddr()) }
    func (c *sigctxt) trap() uint32    { return 0 }
    func (c *sigctxt) error() uint32   { return 0 }
    func (c *sigctxt) oldmask() uint32 { return 0 }
    
    func (c *sigctxt) sigcode() uint32 { return uint32(c.info.si_code) }
    func (c *sigctxt) sigaddr() uint32 {
    	return *(*uint32)(add(unsafe.Pointer(c.info), 16))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 13 18:13:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  9. src/runtime/defs_linux_arm64.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.6K bytes
    - Viewed (0)
  10. src/runtime/defs_linux_riscv64.go

    	sa_restorer uintptr
    }
    
    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.8K bytes
    - Viewed (0)
Back to top