Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 144 for Fault (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pilot/pkg/model/virtualservice.go

    	}
    	if delegate.Timeout == nil {
    		delegate.Timeout = root.Timeout
    	}
    	if delegate.Retries == nil {
    		delegate.Retries = root.Retries
    	}
    	if delegate.Fault == nil {
    		delegate.Fault = root.Fault
    	}
    	if delegate.Mirror == nil {
    		delegate.Mirror = root.Mirror
    	}
    	// nolint: staticcheck
    	if delegate.MirrorPercent == nil {
    		delegate.MirrorPercent = root.MirrorPercent
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_waypoint.go

    		Operation: istio_route.GetRouteOperation(out, virtualService.Name, listenPort),
    	}
    	if in.Fault != nil || in.CorsPolicy != nil {
    		out.TypedPerFilterConfig = make(map[string]*any.Any)
    	}
    	if in.Fault != nil {
    		out.TypedPerFilterConfig[wellknown.Fault] = protoconv.MessageToAny(istio_route.TranslateFault(in.Fault))
    	}
    	if in.CorsPolicy != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. src/runtime/runtime-gdb_unix_test.go

    	}
    }
    
    func main() {
    	flag.Parse()
    
    	enableCore()
    
    	C.trigger_crash()
    }
    `
    
    // TestGdbCoreCrashThreadBacktrace tests that runtime could let the fault thread to crash process
    // and make fault thread as number one thread while gdb in a core file
    func TestGdbCoreCrashThreadBacktrace(t *testing.T) {
    	if runtime.GOOS != "linux" {
    		// N.B. This test isn't fundamentally Linux-only, but it needs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/runtime/signal_aix_ppc64.go

    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 }
    func (c *sigctxt) set_r30(x uint64)  { c.regs().gpr[30] = 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)
Back to top