- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 245 for Fault (0.04 sec)
-
test/nilptr.go
//go:build !aix && (!darwin || !arm64) && (!windows || !arm64) package main import "unsafe" // Having a big address space means that indexing // at a 256 MB offset from a nil pointer might not // cause a memory access fault. This test checks // that Go is doing the correct explicit checks to catch // these nil pointer accesses, not just relying on the hardware. var dummy [256 << 20]byte // give us a big address space func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.2K bytes - Viewed (0) -
test/nilptr_aix.go
// in a large address space. //go:build aix package main import "unsafe" // Having a big address space means that indexing // at a 1G + 256 MB offset from a nil pointer might not // cause a memory access fault. This test checks // that Go is doing the correct explicit checks to catch // these nil pointer accesses, not just relying on the hardware. // The reason of the 1G offset is because AIX addresses start after 1G.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.1K bytes - Viewed (0) -
src/runtime/defs_darwin_arm64.go
tv_sec int64 tv_nsec int64 } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = ns / 1e9 ts.tv_nsec = ns % 1e9 } type exceptionstate64 struct { far uint64 // virtual fault addr esr uint32 // exception syndrome exc uint32 // number of arm exception taken } type regs64 struct { x [29]uint64 // registers x0 to x28 fp uint64 // frame register, x29
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.3K bytes - Viewed (0) -
src/runtime/signal_linux_arm64.go
//go:nosplit //go:nowritebarrierrec func (c *sigctxt) pc() uint64 { return c.regs().pc } func (c *sigctxt) pstate() uint64 { return c.regs().pstate } func (c *sigctxt) fault() uintptr { return uintptr(c.regs().fault_address) } func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) } func (c *sigctxt) sigaddr() uint64 { return c.info.si_addr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 17 18:54:48 UTC 2021 - 2.9K bytes - Viewed (0) -
src/runtime/signal_riscv64.go
//go:nowritebarrierrec func (c *sigctxt) sigpc() uintptr { return uintptr(c.pc()) } func (c *sigctxt) sigsp() uintptr { return uintptr(c.sp()) } func (c *sigctxt) siglr() uintptr { return uintptr(c.ra()) } func (c *sigctxt) fault() uintptr { return uintptr(c.sigaddr()) } // preparePanic sets up the stack to look like a call to sigpanic. func (c *sigctxt) preparePanic(sig uint32, gp *g) { // We arrange RA, and pc to pretend the panicking
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 2.9K bytes - Viewed (0) -
src/runtime/signal_mipsx.go
} func (c *sigctxt) sigpc() uintptr { return uintptr(c.pc()) } func (c *sigctxt) sigsp() uintptr { return uintptr(c.sp()) } func (c *sigctxt) siglr() uintptr { return uintptr(c.link()) } func (c *sigctxt) fault() uintptr { return uintptr(c.sigaddr()) } // preparePanic sets up the stack to look like a call to sigpanic. func (c *sigctxt) preparePanic(sig uint32, gp *g) { // We arrange link, and pc to pretend the panicking
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 3.1K bytes - Viewed (0) -
src/runtime/signal_netbsd_arm64.go
func (c *sigctxt) sp() uint64 { return c.regs().__gregs[_REG_X31] } //go:nosplit //go:nowritebarrierrec func (c *sigctxt) pc() uint64 { return c.regs().__gregs[_REG_ELR] } func (c *sigctxt) fault() uintptr { return uintptr(c.info._reason) } func (c *sigctxt) trap() uint64 { return 0 } func (c *sigctxt) error() uint64 { return 0 } func (c *sigctxt) oldmask() uint64 { return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 20 15:02:01 UTC 2019 - 3.4K bytes - Viewed (0) -
src/runtime/signal_freebsd_arm64.go
func (c *sigctxt) sp() uint64 { return c.regs().mc_gpregs.gp_sp } //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 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:20:42 UTC 2023 - 3.2K bytes - Viewed (0) -
src/runtime/signal_openbsd_arm64.go
func (c *sigctxt) sp() uint64 { return (uint64)(c.regs().sc_sp) } //go:nosplit //go:nowritebarrierrec func (c *sigctxt) rip() uint64 { return (uint64)(c.regs().sc_lr) } /* XXX */ func (c *sigctxt) fault() uintptr { return uintptr(c.sigaddr()) } func (c *sigctxt) sigcode() uint64 { return uint64(c.info.si_code) } func (c *sigctxt) sigaddr() uint64 { return *(*uint64)(add(unsafe.Pointer(c.info), 16)) } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:20:42 UTC 2023 - 3.4K bytes - Viewed (0) -
src/runtime/signal_mips64x.go
//go:nowritebarrierrec func (c *sigctxt) sigpc() uintptr { return uintptr(c.pc()) } func (c *sigctxt) sigsp() uintptr { return uintptr(c.sp()) } func (c *sigctxt) siglr() uintptr { return uintptr(c.link()) } func (c *sigctxt) fault() uintptr { return uintptr(c.sigaddr()) } // preparePanic sets up the stack to look like a call to sigpanic. func (c *sigctxt) preparePanic(sig uint32, gp *g) { // We arrange link, and pc to pretend the panicking
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 3.2K bytes - Viewed (0)