- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for test6907 (0.19 sec)
-
src/cmd/cgo/internal/test/cgo_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 6.4K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
t.Errorf("C.myint as const = %v, want 1.5", c) } } if s := C.mystring_def; s != "hello" { t.Errorf("C.mystring_def = %q, want %q", s, "hello") } } // issue 6907 func test6907(t *testing.T) { want := "yarn" if got := C.GoString(C.Issue6907CopyString(want)); got != want { t.Errorf("C.GoString(C.Issue6907CopyString(%q)) == %q, want %q", want, got, want) } } // issue 7560
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_linux_test.go
} func TestSetgidStress(t *testing.T) { if runtime.GOOS == "android" { t.Skip("unsupported on Android") } testSetgidStress(t) } func Test1435(t *testing.T) { test1435(t) } func Test6997(t *testing.T) { test6997(t) } func Test9400(t *testing.T) { test9400(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:49:01 UTC 2024 - 662 bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_stubs_android_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 359 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue6997_linux.go
package cgotest /* #cgo CFLAGS: -pthread #cgo LDFLAGS: -pthread extern int StartThread(); extern int CancelThread(); */ import "C" import ( "testing" "time" ) func test6997(t *testing.T) { r := C.StartThread() if r != 0 { t.Error("pthread_create failed") } c := make(chan C.int) go func() { time.Sleep(500 * time.Millisecond) c <- C.CancelThread() }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 879 bytes - Viewed (0) -
src/cmd/cgo/internal/test/testx.go
} } // issue 6907 const CString = "C string" //export CheckIssue6907Go func CheckIssue6907Go(s string) C.int { if s == CString { return 1 } return 0 } func test6907Go(t *testing.T) { if got := C.CheckIssue6907C(CString); got != 1 { t.Errorf("C.CheckIssue6907C() == %d, want %d", got, 1) } } // issue 7665 var bad7665 unsafe.Pointer = C.f7665
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 10.6K bytes - Viewed (0)