- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 625 for crashes (0.15 sec)
-
src/crypto/tls/handshake_messages_test.go
func TestFuzz(t *testing.T) { rand := rand.New(rand.NewSource(0)) for _, m := range tests { for j := 0; j < 1000; j++ { len := rand.Intn(1000) bytes := randomBytes(len, rand) // This just looks for crashes due to bounds errors etc. m.unmarshal(bytes) } } } func randomBytes(n int, rand *rand.Rand) []byte { r := make([]byte, n) if _, err := rand.Read(r); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 15.7K bytes - Viewed (0) -
src/runtime/HACKING.md
For runtime error debugging, it may be useful to run with `GOTRACEBACK=system` or `GOTRACEBACK=crash`. The output of `panic` and `fatal` is as described by `GOTRACEBACK`. The output of `throw` always includes runtime frames, metadata and all goroutines regardless of `GOTRACEBACK` (i.e., equivalent to `GOTRACEBACK=system`). Whether `throw` crashes or not is still controlled by `GOTRACEBACK`. Synchronization ===============
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 13.9K bytes - Viewed (0) -
pkg/test/kube/dump.go
c.Name(), pod.Namespace, pod.Name, container.Name, err) } } if crashed, terminateState := containerCrashed(pod, container.Name); crashed { scopes.Framework.Errorf("FAIL: cluster/pod/container: %s/%s/%s/%s crashed with status: %+v. Logs: %v", c.Name(), pod.Namespace, pod.Name, container.Name, terminateState, prow.ArtifactsURL(fname)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0) -
src/runtime/os2_aix.go
resetLibcall = false // See comment in sys_darwin.go:libcCall } c := libcall{ fn: uintptr(unsafe.Pointer(fn)), n: 0, args: uintptr(unsafe.Pointer(&fn)), // it's unused but must be non-nil, otherwise crashes } asmcgocall(unsafe.Pointer(&asmsyscall6), unsafe.Pointer(&c)) if resetLibcall { mp.libcallsp = 0 } return c.r1, c.err } //go:nowritebarrier //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 20.9K bytes - Viewed (0) -
src/net/rpc/server_test.go
err = client.Call("Arith.Add", &Args{7, 9}, new(Reply)) if err != ErrShutdown { t.Errorf("Forever: expected ErrShutdown got %v", err) } } // Tests the fix to issue 11221. Without the fix, this loops forever or crashes. func TestAcceptExitAfterListenerClose(t *testing.T) { newServer := NewServer() newServer.Register(new(Arith)) newServer.RegisterName("net.rpc.Arith", new(Arith)) newServer.RegisterName("newServer.Arith", new(Arith))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 05:23:29 UTC 2023 - 19K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
) -> Optional[NotNoneT]: """Calls `func` and returns `None` on error. This is used to gracefully return the 'error status' represented as `None`, as raising exceptions from `PyFunctionLibrary` methods crashes the program. Args: func: The function to run. The function should be a callable returning a non-None value. error_msg: The error message to log upon error. Used for debugging purposes.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0) -
src/runtime/extern.go
and shows goroutines created internally by the run-time. GOTRACEBACK=crash is like “system” but crashes in an operating system-specific manner instead of exiting. For example, on Unix systems, the crash raises SIGABRT to trigger a core dump. GOTRACEBACK=wer is like “crash” but doesn't disable Windows Error Reporting (WER). For historical reasons, the GOTRACEBACK settings 0, 1, and 2 are synonyms for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 18.9K bytes - Viewed (0) -
src/runtime/stubs.go
// exactly what you would want it to. return int(*(*uint8)(unsafe.Pointer(&x))) } // abort crashes the runtime in situations where even throw might not // work. In general it should do something a debugger will recognize // (e.g., an INT3 on x86). A crash in abort is recognized by the // signal handler, which will attempt to tear down the runtime // immediately. func abort()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/syscall/fs_wasip1.go
FILESTAT_SET_ATIM_NOW = 0x0002 FILESTAT_SET_MTIM = 0x0004 FILESTAT_SET_MTIM_NOW = 0x0008 ) const ( // Despite the rights being defined as a 64 bits integer in the spec, // wasmtime crashes the program if we set any of the upper 32 bits. fullRights = rights(^uint32(0)) readRights = rights(RIGHT_FD_READ | RIGHT_FD_READDIR)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go
testHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { // this will catch recoverable panic like 'Header called after Handler finished'. // go runtime crashes the program if it detects a program-ending // panic like 'concurrent map iteration and map write', so this // panic can not be caught. defer func() { result := result{} result.err = recover()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 23.2K bytes - Viewed (0)