- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,815 for panicln (0.22 sec)
-
src/log/log.go
os.Exit(1) } // Panic is equivalent to [Print] followed by a call to panic(). func Panic(v ...any) { s := fmt.Sprint(v...) std.Output(2, s) panic(s) } // Panicf is equivalent to [Printf] followed by a call to panic(). func Panicf(format string, v ...any) { s := fmt.Sprintf(format, v...) std.Output(2, s) panic(s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 22:56:07 UTC 2023 - 12.9K bytes - Viewed (0) -
src/cmd/vet/testdata/print/print.go
logpkg.Fatalln("%d", 1) // ERROR "Fatalln call has possible Printf formatting directive %d" logpkg.Panic("%d", 1) // ERROR "Panic call has possible Printf formatting directive %d" logpkg.Panicf("%d", "x") // ERROR "Panicf format %d has arg \x22x\x22 of wrong type string" logpkg.Panicln("%d", 1) // ERROR "Panicln call has possible Printf formatting directive %d"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 27.5K bytes - Viewed (0) -
src/expvar/expvar.go
// package's init function when it creates its Vars. If the name is already // registered then this will log.Panic. func Publish(name string, v Var) { if _, dup := vars.m.LoadOrStore(name, v); dup { log.Panicln("Reuse of exported var name:", name) } vars.keysMu.Lock() defer vars.keysMu.Unlock() vars.keys = append(vars.keys, name) slices.Sort(vars.keys) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 21:32:11 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
"log.Fatalf": true, "log.Fatalln": true, "log.Panic": true, "log.Panicf": true, "log.Panicln": true, "(*log.Logger).Fatal": true, "(*log.Logger).Fatalf": true, "(*log.Logger).Fatalln": true, "(*log.Logger).Panic": true, "(*log.Logger).Panicf": true, "(*log.Logger).Panicln": true, "(*log.Logger).Print": true, "(*log.Logger).Printf": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0) -
src/go/printer/testdata/declarations.input
// constants "false": nil, "true": nil, "iota": nil, "nil": nil, // functions "cap": nil, "len": nil, "new": nil, "make": nil, "panic": nil, "panicln": nil, "print": nil, "println": nil, }, } } // alignment of map composite entries var _ = map[int]int{ // small key sizes: always align even if size ratios are large
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 13 22:24:31 UTC 2021 - 16.5K bytes - Viewed (0) -
src/go/printer/testdata/declarations.golden
// constants "false": nil, "true": nil, "iota": nil, "nil": nil, // functions "cap": nil, "len": nil, "new": nil, "make": nil, "panic": nil, "panicln": nil, "print": nil, "println": nil, }, } } // alignment of map composite entries var _ = map[int]int{ // small key sizes: always align even if size ratios are large
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 13 22:24:31 UTC 2021 - 16.2K bytes - Viewed (0) -
src/runtime/panic.go
// This is used to try hard to get a panic stack trace out when exiting. var runningPanicDefers atomic.Uint32 // panicking is non-zero when crashing the program for an unrecovered panic. var panicking atomic.Uint32 // paniclk is held while printing the panic information and stack trace, // so that two concurrent panics don't overlap their output. var paniclk mutex
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 43.8K bytes - Viewed (0) -
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) -
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) -
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)