Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 207 for Fault (0.08 sec)

  1. src/runtime/signal_unix.go

    			// We could check that the arena chunk is explicitly set to fault,
    			// but the fact that we faulted on accessing it is enough to prove
    			// that it is.
    			print("accessed data from freed user arena ", hex(gp.sigcode1), "\n")
    		} else {
    			print("unexpected fault address ", hex(gp.sigcode1), "\n")
    		}
    		throw("fault")
    	case _SIGFPE:
    		switch gp.sigcode0 {
    		case _FPE_INTDIV:
    			panicdivide()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. src/runtime/signal_loong64.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: Tue Mar 21 06:51:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/virtualservice_dupmatches.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: sample-foo-cluster01
      namespace: foo
    spec:
      hosts:
      - sample.foo.svc.cluster.local
      http:
      - fault:
          delay:
            fixedDelay: 5s
            percentage:
              value: 100
        route:
        - destination:
            host: sample.foo.svc.cluster.local
      - mirror:
          host: sample.bar.svc.cluster.local
        route:
        - destination:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. docs/works_with_okhttp.md

     * [CWAC-NetSecurity](https://github.com/commonsguy/cwac-netsecurity): Simplifying Secure Internet Access.
     * [Failsafe](https://failsafe.dev/okhttp/): Fault tolerance and resilience patterns.
     * [Flipper](https://fbflipper.com/): A desktop debugging platform for mobile developers.
     * [Fresco](https://github.com/facebook/fresco): An Android library for managing images and the memory they use.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Jun 08 18:15:23 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/sys_linux_arm.s

    TEXT ·Cas(SB),NOSPLIT|NOFRAME,$0
    	MOVB	runtime·goarm(SB), R11
    	CMP	$7, R11
    	BLT	2(PC)
    	JMP	·armcas(SB)
    	JMP	kernelcas<>(SB)
    
    TEXT kernelcas<>(SB),NOSPLIT,$0
    	MOVW	ptr+0(FP), R2
    	// trigger potential paging fault here,
    	// because we don't know how to traceback through __kuser_cmpxchg
    	MOVW    (R2), R0
    	MOVW	old+4(FP), R0
    	MOVW	new+8(FP), R1
    	BL	cas<>(SB)
    	BCC	ret0
    	MOVW	$1, R0
    	MOVB	R0, ret+12(FP)
    	RET
    ret0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. test/nilcheck.go

    	_ = *empty1p    // ERROR "nil check"
    }
    
    func fx10k() *[10000]int
    
    var b bool
    
    func f3(x *[10000]int) {
    	// Using a huge type and huge offsets so the compiler
    	// does not expect the memory hardware to fault.
    	_ = x[9999] // ERROR "nil check"
    
    	for {
    		if x[9999] != 0 { // ERROR "nil check"
    			break
    		}
    	}
    
    	x = fx10k()
    	_ = x[9999] // ERROR "nil check"
    	if b {
    		_ = x[9999] // ERROR "nil check"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 18:41:59 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top