- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 56 for panicmem (0.26 sec)
-
src/runtime/stkframe.go
// instruction). In this case, pc-1 reflects the CALL // instruction itself and is the correct source of symbolic // information. // // - If this frame "called" sigpanic, then pc is the // instruction that panicked, and pc is the correct address // to use for symbolic information. // // - If this is the innermost frame, then PC is where // execution will continue, but it may not be the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 9.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go
AdmissionReviewVersions: []string{"v1beta1"}, }}, ExpectStatusCode: http.StatusForbidden, ErrorContains: "ValidatingAdmissionWebhook/allow.example.com has panicked: Start panicking!", ExpectAnnotations: map[string]string{}, }, { Name: "match & fail (but allow because fail open)", Webhooks: []registrationv1.ValidatingWebhook{{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 47.6K bytes - Viewed (0) -
src/bytes/bytes_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
src/math/big/prime.go
// have crafted to fool the test. // // As of Go 1.8, ProbablyPrime(0) is allowed and applies only a Baillie-PSW test. // Before Go 1.8, ProbablyPrime applied only the Miller-Rabin tests, and ProbablyPrime(0) panicked. func (x *Int) ProbablyPrime(n int) bool { // Note regarding the doc comment above: // It would be more precise to say that the Baillie-PSW test uses the // extra strong Lucas test as its Lucas test, but since no one knows
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 02 14:43:52 UTC 2022 - 10.4K bytes - Viewed (0) -
src/log/slog/value.go
// Resolve's return value is guaranteed not to be of Kind [KindLogValuer]. func (v Value) Resolve() (rv Value) { orig := v defer func() { if r := recover(); r != nil { rv = AnyValue(fmt.Errorf("LogValue panicked\n%s", stack(3, 5))) } }() for i := 0; i < maxLogValues; i++ { if v.Kind() != KindLogValuer { return v } v = v.LogValuer().LogValue() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 13.3K bytes - Viewed (0) -
src/encoding/base64/base64_test.go
} } } func TestDecodeBounds(t *testing.T) { var buf [32]byte s := StdEncoding.EncodeToString(buf[:]) defer func() { if err := recover(); err != nil { t.Fatalf("Decode panicked unexpectedly: %v\n%s", err, debug.Stack()) } }() n, err := StdEncoding.Decode(buf[:], []byte(s)) if n != len(buf) || err != nil { t.Fatalf("StdEncoding.Decode = %d, %v, want %d, nil", n, err, len(buf)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Sep 03 18:57:29 UTC 2023 - 15.9K bytes - Viewed (0) -
src/net/listen_test.go
testenv.MustHaveExternalNetwork(t) switch runtime.GOOS { case "plan9": t.Skipf("not supported on %s", runtime.GOOS) } defer func() { if p := recover(); p != nil { t.Fatalf("panicked: %v", p) } }() if ln, err := Listen("tcp", ""); err == nil { ln.Close() } if ln, err := ListenPacket("udp", ""); err == nil { ln.Close() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 20.5K bytes - Viewed (0) -
src/testing/testing.go
defer func() { t.checkRaces() // TODO(#61034): This is the wrong place for this check. if t.Failed() { numFailed.Add(1) } // Check if the test panicked or Goexited inappropriately. // // If this happens in a normal test, print output but continue panicking. // tRunner is called in its own goroutine, so this terminates the process. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/math/big/float_test.go
z = x * y f = (*Float).Mul case 3: op = "/" z = x / y f = (*Float).Quo default: panic("unreachable") } var errnan bool // set if execution of f panicked with ErrNaN // protect execution of f func() { defer func() { if p := recover(); p != nil { _ = p.(ErrNaN) // re-panic if not ErrNaN errnan = true } }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
return f; } void init() { SansTypeface = loadfont(); } // issue 5242 // Cgo incorrectly computed the alignment of structs // with no Go accessible fields as 0, and then panicked on // modulo-by-zero computations. // issue 50987 // disable arm64 GCC warnings #cgo CFLAGS: -Wno-psabi -Wno-unknown-warning-option typedef struct { } foo; typedef struct { int x : 1;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0)