- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for Fault (0.35 sec)
-
tests/testdata/config/rule-fault-injection.yaml
kind: DestinationRule metadata: name: fault namespace: testns spec: host: c-weighted.extsvc.com subsets: - name: v1 labels: version: v1 - name: v2 labels: version: v2 --- apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: fault namespace: testns spec: hosts: - fault.test.istio.io http: - match:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 28 21:38:06 UTC 2019 - 1.2K bytes - Viewed (0) -
samples/bookinfo/networking/fault-injection-details-v1.yaml
apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: details spec: hosts: - details http: - fault: abort: httpStatus: 555 percentage: value: 100 route: - destination: host: details subset: v1 - route: - destination: host: details subset: v1 --- apiVersion: networking.istio.io/v1alpha3
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 09 16:11:17 UTC 2020 - 522 bytes - Viewed (0) -
src/runtime/debug/panic_test.go
if r == nil { t.Fatalf("write did not fault") } type addressable interface { Addr() uintptr } a, ok := r.(addressable) if !ok { t.Fatalf("fault does not contain address") } want := uintptr(unsafe.Pointer(&m[lowBits])) got := a.Addr() if got != want { t.Fatalf("fault address %x, want %x", got, want) } }() m[lowBits] = 1 // will fault
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.4K bytes - Viewed (0) -
test/recover4.go
// license that can be found in the LICENSE file. // Test that if a slice access causes a fault, a deferred func // sees the most recent value of the variables it accesses. // This is true today; the role of the test is to ensure it stays true. // // In the test, memcopy is the function that will fault, during dst[i] = src[i]. // The deferred func recovers from the error and returns, making memcopy
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2.2K bytes - Viewed (0) -
src/runtime/cgo/signal_ios_arm64.s
// mach thread port as EXC_BAD_ACCESS. As the segfault may have happened // in C code, we first need to load_g then call xx_cgo_panicmem. // // R1 - LR at moment of fault // R2 - PC at moment of fault TEXT xx_cgo_panicmem(SB),NOSPLIT|NOFRAME,$0 // If in external C code, we need to load the g register. BL runtimeĀ·load_g(SB) CMP $0, g BNE ongothread // On a foreign thread.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 06 22:54:58 UTC 2020 - 1.8K bytes - Viewed (0) -
test/fixedbugs/issue15002.go
r := recover() if r == nil { panic("no fault or bounds check failure happened") } s := fmt.Sprintf("%s", r) if s != "runtime error: index out of range [1] with length 1" { panic("bad panic: " + s) } }() return uint16(x[i]) | uint16(x[i+1])<<8 } func test32(x []byte) uint32 { defer func() { r := recover() if r == nil { panic("no fault or bounds check failure happened") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.2K bytes - Viewed (0) -
pkg/config/analysis/analyzers/deprecation/deprecation.go
vs := r.Message.(*v1alpha3.VirtualService) for _, httpRoute := range vs.Http { if httpRoute.Fault != nil { if httpRoute.Fault.Delay != nil { // nolint: staticcheck if httpRoute.Fault.Delay.Percent > 0 { ctx.Report(gvk.VirtualService, msg.NewDeprecated(r, replacedMessage("HTTPRoute.fault.delay.percent", "HTTPRoute.fault.delay.percentage"))) } } } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 02 20:50:14 UTC 2023 - 4.3K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_arm.go
} _ = *addr // if nil, fault before taking the lock var r uint64 addrLock(addr).lock() r = *addr + uint64(delta) *addr = r addrLock(addr).unlock() return r } //go:nosplit func goXchg64(addr *uint64, v uint64) uint64 { if uintptr(unsafe.Pointer(addr))&7 != 0 { *(*int)(nil) = 0 // crash on unaligned uint64 } _ = *addr // if nil, fault before taking the lock var r uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 4.8K bytes - Viewed (0) -
src/embed/internal/embedtest/embedx_test.go
} // Could check &glass[0] == &glass2[0] but also want to make sure write does not fault // (data must not be in read-only memory). old := glass[0] glass[0]++ if glass2[0] != glass[0] { t.Fatalf("glass and glass2 do not share storage") } glass[0] = old // Could check &bbig[0] == &bbig2[0] but also want to make sure write does not fault // (data must not be in read-only memory). old = bbig[0] bbig[0]++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 15 20:37:17 UTC 2021 - 2.1K bytes - Viewed (0) -
test/fixedbugs/bug031.go
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"+ "xxxxxxxxxxxxxxxxxxx"+ "xxxxxx"+ "xxxxxxxxxxxxxxxxxxxx"+ "xxxxxxxx"+ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ; _ = prog; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:48:57 UTC 2012 - 802 bytes - Viewed (0)