Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,799 for panic2 (0.23 sec)

  1. src/runtime/panic32.go

    func goPanicExtendIndex(hi int, lo uint, y int) {
    	panicCheck1(getcallerpc(), "index out of range")
    	panic(boundsError{x: int64(hi)<<32 + int64(lo), signed: true, y: y, code: boundsIndex})
    }
    func goPanicExtendIndexU(hi uint, lo uint, y int) {
    	panicCheck1(getcallerpc(), "index out of range")
    	panic(boundsError{x: int64(hi)<<32 + int64(lo), signed: false, y: y, code: boundsIndex})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  2. src/cmd/internal/test2json/testdata/panic.json

    {"Action":"output","Test":"TestPanic","Output":"panic(0x1110ea0, 0x116aea0)\n"}
    {"Action":"output","Test":"TestPanic","Output":"\t/go/src/runtime/panic.go:679 +0x1b2\n"}
    {"Action":"output","Test":"TestPanic","Output":"command-line-arguments.TestPanic(0xc000092100)\n"}
    {"Action":"output","Test":"TestPanic","Output":"\ta_test.go:6 +0x39\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/internal/test2json/testdata/panic.test

    --- FAIL: TestPanic (0.00s)
    panic: oops [recovered]
    	panic: oops
    
    goroutine 7 [running]:
    testing.tRunner.func1(0xc000092100)
    	/go/src/testing/testing.go:874 +0x3a3
    panic(0x1110ea0, 0x116aea0)
    	/go/src/runtime/panic.go:679 +0x1b2
    command-line-arguments.TestPanic(0xc000092100)
    	a_test.go:6 +0x39
    testing.tRunner(0xc000092100, 0x114f500)
    	go/src/testing/testing.go:909 +0xc9
    created by testing.(*T).Run
    	go/src/testing/testing.go:960 +0x350
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 30 20:46:44 UTC 2019
    - 479 bytes
    - Viewed (0)
  4. src/runtime/testdata/testprogcgo/panic.c

    Cuong Manh Le <******@****.***> 1635360910 +0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 27 20:29:07 UTC 2021
    - 239 bytes
    - Viewed (0)
  5. src/runtime/testdata/testprogcgo/panic.go

    Cuong Manh Le <******@****.***> 1635360910 +0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 27 20:29:07 UTC 2021
    - 312 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/filters/wrap.go

    func WithPanicRecovery(handler http.Handler, resolver request.RequestInfoResolver) http.Handler {
    	return withPanicRecovery(handler, func(w http.ResponseWriter, req *http.Request, err interface{}) {
    		if err == http.ErrAbortHandler {
    			// Honor the http.ErrAbortHandler sentinel panic value
    			//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/testing/panic_test.go

    		{
    			desc:  "Issue 48502: call runtime.Goexit in t.Cleanup after panic",
    			flags: []string{"-test.run=^TestGoexitInCleanupAfterPanicHelper$"},
    			want: `panic: die
    	panic: test executed panic(nil) or runtime.Goexit`,
    		},
    		{
    			desc:  "Issue 48515: call t.Run in t.Cleanup should trigger panic",
    			flags: []string{"-test.run=^TestCallRunInCleanupHelper$"},
    			want:  `panic: testing: t.Run called during t.Cleanup`,
    		},
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:49:24 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/internal/language/tags.go

    	b, err := ParseBase(s)
    	if err != nil {
    		panic(err)
    	}
    	return b
    }
    
    // MustParseScript is like ParseScript, but panics if the given script cannot be
    // parsed. It simplifies safe initialization of Script values.
    func MustParseScript(s string) Script {
    	scr, err := ParseScript(s)
    	if err != nil {
    		panic(err)
    	}
    	return scr
    }
    
    // MustParseRegion is like ParseRegion, but panics if the given region cannot be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. src/encoding/gob/error.go

    import "fmt"
    
    // Errors in decoding and encoding are handled using panic and recover.
    // Panics caused by user error (that is, everything except run-time panics
    // such as "index out of bounds" errors) do not leave the file that caused
    // them, but are instead turned into plain error returns. Encoding and
    // decoding functions and methods that do not return an error either use
    // panic to report an error or are guaranteed error-free.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 23:03:07 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. test/fixedbugs/bug142.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func panic1(s string) bool {
    	panic(s);
    }
    
    func main() {
    	x := false && panic1("first") && panic1("second");
    	x = x == true && panic1("first") && panic1("second");
    }
    
    /*
    ; 6.out
    second
    panic PC=0x250f98
    mainĀ·panic1+0x36 /Users/rsc/goX/test/bugs/bug142.go:6
    	mainĀ·panic1(0xae30, 0x0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 675 bytes
    - Viewed (0)
Back to top