- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testOf (0.25 sec)
-
src/cmd/cgo/internal/test/test.go
// issue 8092 func test8092(t *testing.T) { tests := []struct { s string a, b *C.char }{ {"text", &C.text[0], C.ctext()}, {"data", &C.data[0], C.cdata()}, } for _, test := range tests { if test.a != test.b { t.Errorf("%s: pointer mismatch: %v != %v", test.s, test.a, test.b) } if got := C.GoString(test.a); got != test.s {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
doc/godebug.md
`}} Only differences from the base Go toolchain defaults are reported. When testing a package, `//go:debug` lines in the `*_test.go` files are treated as directives for the test's main package. In any other context, `//go:debug` lines are ignored by the toolchain; `go` `vet` reports such lines as misplaced. ## GODEBUG History {#history}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 15.9K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
finalPkgpath, underGoRoot, err := subdir() if err != nil { return "", err } cwd = strings.TrimSuffix(cwd, finalPkgpath) // Copy all immediate files and testdata directories between // the package being tested and the source root. pkgpath = "" for _, element := range strings.Split(finalPkgpath, string(filepath.Separator)) { if debug { log.Printf("copying %s", pkgpath) } pkgpath = filepath.Join(pkgpath, element)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 23.4K bytes - Viewed (0)