- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Test4 (0.14 sec)
-
test/ken/embed.go
println("t5", 1) panic("fail") } if i.test2() != s.test2() { println("t5", 2) panic("fail") } if i.test3() != s.test3() { println("t5", 3) panic("fail") } if i.test4() != s.test4() { println("t5", 4) panic("fail") } if i.test5() != s.test5() { println("t5", 5) panic("fail") } if i.test6() != s.test6() { println("t5", 6) panic("fail") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 03 17:03:15 UTC 2016 - 4.3K bytes - Viewed (0) -
src/net/hosts_test.go
{"test3.example.com", "3.test"}, {"3.test", "3.test"}, // 127.0.0.4 {"example.com", "example.com"}, // 127.0.0.5 {"test5.example.com", "test4.example.com"}, {"5.test", "test4.example.com"}, {"4.test", "test4.example.com"}, {"test4.example.com", "test4.example.com"}, } func TestLookupStaticHostAliases(t *testing.T) { defer func(orig string) { hostsFilePath = orig }(hostsFilePath)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 04 07:21:38 UTC 2023 - 5.6K bytes - Viewed (0) -
test/recover1.go
// license that can be found in the LICENSE file. // 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()
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/recover2.go
// Test of recover for run-time errors. // 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 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 03 20:41:29 UTC 2019 - 1.2K bytes - Viewed (0) -
src/net/testdata/aliases
127.0.0.1 test 127.0.0.2 test2.example.com 2.test 127.0.0.3 3.test test3.example.com 127.0.0.4 example.com 127.0.0.5 test4.example.com 4.test 5.test test5.example.com # must be a non resolvable domain on the internet
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 18:29:14 UTC 2022 - 257 bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/SourceFolderTest.groovy
import spock.lang.Specification class SourceFolderTest extends Specification { final static String XML_TEXT = ''' <classpathentry including="**/Test1*|**/Test2*" excluding="**/Test3*|**/Test4*" kind="src" output="bin2" path="src"> <attributes> <attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="mynative"/> </attributes>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 3K bytes - Viewed (0) -
test/fixedbugs/issue8613.go
var zero int func main() { wantPanic("test1", func() { out = 1 / zero }) wantPanic("test2", func() { _ = 1 / zero }) wantPanic("test3", func() { v := 0 _ = 1 / v }) wantPanic("test4", func() { divby(0) }) } func wantPanic(test string, fn func()) { defer func() { if e := recover(); e == nil { panic(test + ": expected panic") } }() fn() } //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 23 22:01:32 UTC 2016 - 608 bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_test_race_issue56370.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 21 19:41:54 UTC 2022 - 576 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/issue4585.go
} } func test3() { var a, b USmall copy((*[12]byte)(unsafe.Pointer(&a))[:], "hello world!") a.A, a.B = 1, 2 b.A, b.B = 1, 2 if a != b { panic("broken equality: a != b") } } func test4() { var a, b V m := make(map[V]int) copy((*[20]byte)(unsafe.Pointer(&a))[:], "Hello World, Gopher!") a.A1, a.A2, a.A3, a.B, a.C = 1, 2, 3, 4, 5 b.A1, b.A2, b.A3, b.B, b.C = 1, 2, 3, 4, 5 if a != b {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2.5K bytes - Viewed (0)