- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 628 for recovery (0.13 sec)
-
src/sync/atomic/value_test.go
var v Value func() { defer func() { err := recover() if err != nilErr { t.Fatalf("inconsistent store panic: got '%v', want '%v'", err, nilErr) } }() v.Store(nil) }() v.Store(42) func() { defer func() { err := recover() if err != badErr { t.Fatalf("inconsistent store panic: got '%v', want '%v'", err, badErr) } }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 6.1K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/runtime/debug/42888.md
file to which the runtime should write its fatal crash report. It may be used to construct an automated reporting mechanism for all unexpected crashes, not just those in goroutines that explicitly use
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 20:49:22 UTC 2024 - 282 bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.10.md
([#59052](https://github.com/kubernetes/kubernetes/pull/59052), [@pospispa](https://github.com/pospispa)) * iSCSI sessions managed by kubernetes will now explicitly set startup.mode to 'manual' to prevent automatic login after node failure recovery. This is the default open-iscsi mode, so this change will only impact users who have changed their startup.mode to be 'automatic' in /etc/iscsi/iscsid.conf. ([#57475](https://github.com/kubernetes/kubernetes/pull/57475), [@stmcginnis](https://gi...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 13:44:43 UTC 2022 - 341.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/timeout.go
// // Note from the golang's docs: // If ServeHTTP panics, the server (the caller of ServeHTTP) assumes // that the effect of the panic was isolated to the active request. // It recovers the panic, logs a stack trace to the server error log, // and either closes the network connection or sends an HTTP/2 // RST_STREAM, depending on the HTTP protocol. To abort a handler so
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 8.9K bytes - Viewed (0) -
test/escape4.go
p = alloc(3) // ERROR "inlining call to alloc" "moved to heap: x" } f() } func f2() {} // ERROR "can inline f2" // No inline for recover; panic now allowed to inline. func f3() { panic(1) } // ERROR "can inline f3" "1 escapes to heap" func f4() { recover() } func f5() *byte { // ERROR "can inline f5" type T struct { x [1]byte } t := new(T) // ERROR "new.T. escapes to heap" return &t.x[0] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 19:43:26 UTC 2023 - 1.4K bytes - Viewed (0) -
src/iter/iter.go
} yieldNext = false v, ok = v1, true race.Release(unsafe.Pointer(&racer)) coroswitch(c) race.Acquire(unsafe.Pointer(&racer)) return !done } // Recover and propagate panics from seq. defer func() { if p := recover(); p != nil { panicValue = p } else if !seqDone { panicValue = goexitPanicValue } done = true // Invalidate iterator race.Release(unsafe.Pointer(&racer)) }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:28 UTC 2024 - 6.6K bytes - Viewed (0) -
test/fixedbugs/issue23734.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Dec 29 01:00:54 UTC 2018 - 471 bytes - Viewed (0) -
test/fixedbugs/issue48459.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Sep 19 02:43:09 UTC 2021 - 259 bytes - Viewed (0) -
test/fixedbugs/issue15975.go
} func nilInterfaceDeferCall() { var x Closer defer x.Close() // if it panics when evaluating x.Close, it should not reach here fail = true } func shouldPanic(f func()) { defer func() { if recover() == nil { panic("did not panic") } }() f() } func main() { shouldPanic(nilInterfaceDeferCall) if fail { panic("fail") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 08 20:35:53 UTC 2016 - 572 bytes - Viewed (0) -
test/typeparam/recoverimp.dir/a.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 05 20:53:02 UTC 2021 - 307 bytes - Viewed (0)