- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 245 for Fault (0.12 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/runtime/arena.go
// We can only set user arenas to fault if we're in the _GCoff phase. if gcphase == _GCoff { lock(&userArenaState.lock) faultList := userArenaState.fault userArenaState.fault = nil unlock(&userArenaState.lock) s.setUserArenaChunkToFault() for _, lc := range faultList { lc.mspan.setUserArenaChunkToFault() } // Until the chunks are set to fault, keep them alive via the fault list.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K 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/cmd/compile/internal/ssa/nilcheck.go
unnecessary.clear() } // Find any pointers that this op is guaranteed to fault on if nil. var ptrstore [2]*Value ptrs := ptrstore[:0] if opcodeTable[v.Op].faultOnNilArg0 && (faultOnLoad || v.Type.IsMemory()) { // On AIX, only writing will fault. ptrs = append(ptrs, v.Args[0]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:45:54 UTC 2023 - 11.3K bytes - Viewed (0)