- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 112 for tracebackF1 (0.17 sec)
-
src/runtime/testdata/testprogcgo/traceback.go
package main // This program will crash. // We want the stack trace to include the C functions. // We use a fake traceback, and a symbolizer that dumps a string we recognize. /* #cgo CFLAGS: -g -O0 // Defined in traceback_c.c. extern int crashInGo; int tracebackF1(void); void cgoTraceback(void* parg); void cgoSymbolizer(void* parg); */ import "C" import ( "runtime" "unsafe" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 24 21:47:44 UTC 2020 - 949 bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/traceback_c.c
// The C definitions for traceback.go. That file uses //export so // it can't put function definitions in the "C" import comment. #include <stdint.h> char *p; int crashInGo; extern void h1(void); int tracebackF3(void) { if (crashInGo) h1(); else *p = 0; return 0; } int tracebackF2(void) { return tracebackF3(); } int tracebackF1(void) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 24 21:47:44 UTC 2020 - 1.2K bytes - Viewed (0) -
src/runtime/traceback.go
if gp.m.libcallsp != 0 { // We're in C code somewhere, traceback from the saved position. traceback1(gp.m.libcallpc, gp.m.libcallsp, 0, gp.m.libcallg.ptr(), 0) return } traceback1(pc, sp, lr, gp, unwindTrap) } func traceback1(pc, sp, lr uintptr, gp *g, flags unwindFlags) { // If the goroutine is in cgo, and we have a cgo traceback, print that.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
test/fixedbugs/issue29919.dir/a.go
panic(fmt.Sprintf("bad f %v\n", f)) } if !more { panic("traceback truncated after f") } f, more = iter.Next() if f.Function != "test/a.init" || !strings.HasSuffix(f.File, "a.go") || f.Line != 15 { panic(fmt.Sprintf("bad init %v\n", f)) } if !more { panic("traceback truncated after init") } f, _ = iter.Next() if !strings.HasPrefix(f.Function, "runtime.") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 17:50:47 UTC 2022 - 1.6K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/tracebackctxt.go
} var tracebackOK bool func TracebackContext() { runtime.SetCgoTraceback(0, unsafe.Pointer(C.tcTraceback), unsafe.Pointer(C.tcContext), unsafe.Pointer(C.tcSymbolizer)) C.C1() if got := C.getContextCount(); got != 0 { fmt.Printf("at end contextCount == %d, expected 0\n", got) tracebackOK = false } if tracebackOK { fmt.Println("OK") } } //export G1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 29 15:30:38 UTC 2021 - 2.8K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/tflite-in-play-services.md
the problem. If possible, please share a link to or attach code demonstrating the problem. **Any other info / logs** Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 15 03:35:58 UTC 2022 - 880 bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/tflite-op-request.md
Also, please include a link to a GraphDef or the model if possible. **Any other info / logs** Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 15 03:35:58 UTC 2022 - 879 bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/tflite-converter-issue.md
If converting TF RNN to TFLite fused RNN ops, please prefix [RNN] in the title. ### 5. (optional) Any other info / logs
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 15 03:35:58 UTC 2022 - 2.1K bytes - Viewed (0) -
src/runtime/runtime1.go
// bits are the traceback value (0 off, 1 on, 2 include system). const ( tracebackCrash = 1 << iota tracebackAll tracebackShift = iota ) var traceback_cache uint32 = 2 << tracebackShift var traceback_env uint32 // gotraceback returns the current traceback settings. // // If level is 0, suppress all tracebacks. // If level is 1, show tracebacks, but exclude runtime frames.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 19.3K bytes - Viewed (0) -
src/runtime/traceback_test.go
} if t.Failed() { t.Logf("traceback diverged at frame %d", i) off := len(stack) if len(tb.frames) > 0 { off = tb.frames[0].off } t.Logf("traceback before error:\n%s", stack[:off]) t.Logf("traceback after error:\n%s", stack[off:]) } }) } } // tteStack creates a stack of n logical frames and sends the traceback to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 22.9K bytes - Viewed (0)