- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Test7 (0.05 sec)
-
test/ken/embed.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 03 17:03:15 UTC 2016 - 4.3K bytes - Viewed (0) -
test/recover2.go
// TODO(rsc): // null pointer accesses package main import "strings" var x = make([]byte, 10) func main() { test1() test2() test3() test4() test5() test6() test7() } func mustRecover(s string) { v := recover() if v == nil { panic("expected panic") } if e := v.(error).Error(); strings.Index(e, s) < 0 { panic("want: " + s + "; have: " + e) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 03 20:41:29 UTC 2019 - 1.2K bytes - Viewed (0) -
test/recover1.go
// Test of recover during recursive panics. // Here be dragons. package main import "runtime" func main() { test1() test2() test3() test4() test5() test6() test7() } func die() { runtime.Breakpoint() // can't depend on panic } func mustRecover(x interface{}) { mustNotRecover() // because it's not a defer call v := recover() if v == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2.5K bytes - Viewed (0) -
test/fixedbugs/issue5755.dir/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 28 21:29:13 UTC 2013 - 385 bytes - Viewed (0) -
test/fixedbugs/issue5755.dir/a.go
func Test2(s string) I { return foo2(s) } func Test3(s string) I { return foo3(s) } func Test4(s string) I { return foo4(s) } func Test5(s []byte) I { return foo5(s) } func Test6(s []rune) I { return foo6(s) } func Test7(s []uint8) I { return foo7(s) } func Test8(s []int32) I { return foo8(s) } func Test9(s int) I { return foo9(s) } type bar map[int]int func (b bar) F() { return } func TestBar() I { return bar{1: 2} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 28 21:29:13 UTC 2013 - 1.3K bytes - Viewed (0)