Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for doPanic (0.16 sec)

  1. src/runtime/runtime-seh_windows_test.go

    	if runtime.GOARCH != "amd64" {
    		t.Skip("skipping amd64-only test")
    	}
    	want := []string{"runtime_test.sehCallers", "runtime_test.TestSehUnwindDoublePanic.func1.1", "runtime.gopanic",
    		"runtime_test.TestSehUnwindDoublePanic.func1", "runtime.gopanic", "runtime_test.TestSehUnwindDoublePanic"}
    	defer func() {
    		defer func() {
    			if recover() == nil {
    				t.Fatal("did not panic")
    			}
    			pcs := sehCallers()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 16:52:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. src/runtime/callers_test.go

    	// Make sure we don't have any extra frames on the stack (due to
    	// open-coded defer processing)
    	want := []string{"runtime.Callers", "runtime_test.TestCallersDoublePanic.func1.1",
    		"runtime.gopanic", "runtime_test.TestCallersDoublePanic.func1", "runtime.gopanic", "runtime_test.TestCallersDoublePanic"}
    
    	defer func() {
    		defer func() {
    			pcs := make([]uintptr, 20)
    			pcs = pcs[:runtime.Callers(0, pcs)]
    			if recover() == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. src/cmd/internal/objabi/funcid.go

    	"debugCallV2":        abi.FuncID_debugCallV2,
    	"gcBgMarkWorker":     abi.FuncID_gcBgMarkWorker,
    	"rt0_go":             abi.FuncID_rt0_go,
    	"goexit":             abi.FuncID_goexit,
    	"gogo":               abi.FuncID_gogo,
    	"gopanic":            abi.FuncID_gopanic,
    	"handleAsyncEvent":   abi.FuncID_handleAsyncEvent,
    	"main":               abi.FuncID_runtime_main,
    	"mcall":              abi.FuncID_mcall,
    	"morestack":          abi.FuncID_morestack,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 21:33:59 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/universe.go

    	{"complex", ir.OCOMPLEX},
    	{"copy", ir.OCOPY},
    	{"delete", ir.ODELETE},
    	{"imag", ir.OIMAG},
    	{"len", ir.OLEN},
    	{"make", ir.OMAKE},
    	{"max", ir.OMAX},
    	{"min", ir.OMIN},
    	{"new", ir.ONEW},
    	{"panic", ir.OPANIC},
    	{"print", ir.OPRINT},
    	{"println", ir.OPRINTLN},
    	{"real", ir.OREAL},
    	{"recover", ir.ORECOVER},
    }
    
    var unsafeFuncs = [...]struct {
    	name string
    	op   ir.Op
    }{
    	{"Add", ir.OUNSAFEADD},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/stmt.go

    		ir.OAS2RECV,
    		ir.OAS2FUNC,
    		ir.OAS2MAPR,
    		ir.OCLEAR,
    		ir.OCLOSE,
    		ir.OCOPY,
    		ir.OCALLINTER,
    		ir.OCALL,
    		ir.OCALLFUNC,
    		ir.ODELETE,
    		ir.OSEND,
    		ir.OPRINT,
    		ir.OPRINTLN,
    		ir.OPANIC,
    		ir.ORECOVERFP,
    		ir.OGETG:
    		if n.Typecheck() == 0 {
    			base.Fatalf("missing typecheck: %+v", n)
    		}
    
    		init := ir.TakeInit(n)
    		n = walkExpr(n, &init)
    		if n.Op() == ir.ONAME {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.mallocgc", 1},
    	{"runtime.panicdivide", 1},
    	{"runtime.panicshift", 1},
    	{"runtime.panicmakeslicelen", 1},
    	{"runtime.panicmakeslicecap", 1},
    	{"runtime.throwinit", 1},
    	{"runtime.panicwrap", 1},
    	{"runtime.gopanic", 1},
    	{"runtime.gorecover", 1},
    	{"runtime.goschedguarded", 1},
    	{"runtime.goPanicIndex", 1},
    	{"runtime.goPanicIndexU", 1},
    	{"runtime.goPanicSliceAlen", 1},
    	{"runtime.goPanicSliceAlenU", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/runtime/traceback_system_test.go

    	pcs, err := parseStackPCs(crash)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Unwind the stack using this executable's symbol table.
    	got := formatStack(pcs)
    	want := `redacted.go:0: runtime.gopanic
    traceback_system_test.go:85: runtime_test.child7: 	panic("oops")
    traceback_system_test.go:68: runtime_test.child6: 	child7() // appears in stack trace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. src/runtime/panic.go

    // The compiler emits calls to this function.
    //
    // gopanic should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - go.undefinedlabs.com/scopeagent
    //   - github.com/goplus/igop
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname gopanic
    func gopanic(e any) {
    	if e == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/fmt.go

    	OMIN:              "min",
    	OMOD:              "%",
    	OMUL:              "*",
    	ONEW:              "new",
    	ONE:               "!=",
    	ONOT:              "!",
    	OOROR:             "||",
    	OOR:               "|",
    	OPANIC:            "panic",
    	OPLUS:             "+",
    	OPRINTLN:          "println",
    	OPRINT:            "print",
    	ORANGE:            "range",
    	OREAL:             "real",
    	ORECV:             "<-",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func mallocgc(size uintptr, typ *byte, needszero bool) unsafe.Pointer
    func panicdivide()
    func panicshift()
    func panicmakeslicelen()
    func panicmakeslicecap()
    func throwinit()
    func panicwrap()
    
    func gopanic(interface{})
    func gorecover(*int32) interface{}
    func goschedguarded()
    
    // Note: these declarations are just for wasm port.
    // Other ports call assembly stubs instead.
    func goPanicIndex(x int, y int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top