- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,056 for mypanic (0.53 sec)
-
test/ddd2.dir/ddd3.go
func main() { if x := ddd.Sum(1, 2, 3); x != 6 { println("ddd.Sum 6", x) panic("fail") } if x := ddd.Sum(); x != 0 { println("ddd.Sum 0", x) panic("fail") } if x := ddd.Sum(10); x != 10 { println("ddd.Sum 10", x) panic("fail") } if x := ddd.Sum(1, 8); x != 9 { println("ddd.Sum 9", x) panic("fail") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 583 bytes - Viewed (0) -
src/net/cgo_stub.go
func cgoLookupHost(ctx context.Context, name string) (addrs []string, err error) { panic("cgo stub: cgo not available") } func cgoLookupPort(ctx context.Context, network, service string) (port int, err error) { panic("cgo stub: cgo not available") } func cgoLookupIP(ctx context.Context, network, name string) (addrs []IPAddr, err error) { panic("cgo stub: cgo not available") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 1.3K bytes - Viewed (0) -
test/fixedbugs/issue5607.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Jun 02 21:54:34 UTC 2013 - 777 bytes - Viewed (0) -
test/fixedbugs/issue65417.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 22:29:14 UTC 2024 - 752 bytes - Viewed (0) -
test/typeparam/issue48042.go
// Make sure the function conversion is correct if n := *(foo.f1()) ; n != 100{ panic(fmt.Sprintf("%v",n)) } if n := *(foo.f2()) ; n != 100{ panic(fmt.Sprintf("%v",n)) } if n := *(foo.f3()) ; n != 100{ panic(fmt.Sprintf("%v",n)) } if n := *(foo.f4()) ; n != 100{ panic(fmt.Sprintf("%v",n)) } if n := *(foo.f5()) ; n != 100{ panic(fmt.Sprintf("%v",n)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.3K bytes - Viewed (0) -
test/typeparam/absdiffimp.dir/main.go
// if got, want := a.OrderedAbsDifference(1.0, -2.0), 3.0; got != want { // panic(fmt.Sprintf("got = %v, want = %v", got, want)) // } // if got, want := a.OrderedAbsDifference(-1.0, 2.0), 3.0; got != want { // panic(fmt.Sprintf("got = %v, want = %v", got, want)) // } // if got, want := a.OrderedAbsDifference(-20, 15), 35; got != want { // panic(fmt.Sprintf("got = %v, want = %v", got, want)) // } //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 00:11:24 UTC 2021 - 998 bytes - Viewed (0) -
test/fixedbugs/issue60601.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 15 18:41:09 UTC 2023 - 862 bytes - Viewed (0) -
src/hash/crc32/crc32_otherarch.go
func archInitIEEE() { panic("not available") } func archUpdateIEEE(crc uint32, p []byte) uint32 { panic("not available") } func archAvailableCastagnoli() bool { return false } func archInitCastagnoli() { panic("not available") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 681 bytes - Viewed (0) -
test/indirect.go
len(m3) if x != 1 { println("wrong maplen") panic("fail") } x = len(s0) + len(s3) if x != 1 { println("wrong stringlen") panic("fail") } x = len(a0) + len(a2) if x != 20 { println("wrong arraylen") panic("fail") } x = len(b0) + len(b3) if x != 3 { println("wrong slicelen") panic("fail") } x = cap(b0) + cap(b3)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 07:47:26 UTC 2012 - 1.4K bytes - Viewed (0) -
src/crypto/subtle/xor_test.go
t.Helper() defer func() { switch msg := recover().(type) { case nil: t.Errorf("expected panic(%q), but did not panic", expected) case string: if msg != expected { t.Errorf("expected panic(%q), but got panic(%q)", expected, msg) } default: t.Errorf("expected panic(%q), but got panic(%T%v)", expected, msg, msg) } }() f()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:51:19 UTC 2024 - 2.4K bytes - Viewed (0)