- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for test27660 (0.15 sec)
-
src/cmd/cgo/internal/test/cgo_test.go
func Test6907(t *testing.T) { test6907(t) } func Test6907Go(t *testing.T) { test6907Go(t) } func Test7560(t *testing.T) { test7560(t) } func Test7665(t *testing.T) { test7665(t) } func Test7978(t *testing.T) { test7978(t) } func Test8092(t *testing.T) { test8092(t) }
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
// attempt to reproduce the memory corruption described in #27660. // The bug was very timing sensitive; at the time of writing this // test would only trigger the bug about once out of every five runs. func test27660(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() ints := make([]int, 100) locks := make([]sync.Mutex, 100) // Slowly create threads so that ThreadSanitizer is forced to
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/testx.go
t.Errorf("C.CheckIssue6907C() == %d, want %d", got, 1) } } // issue 7665 var bad7665 unsafe.Pointer = C.f7665 var good7665 uintptr = uintptr(C.f7665) func test7665(t *testing.T) { if bad7665 == nil || uintptr(bad7665) != good7665 { t.Errorf("ptrs = %p, %#x, want same non-nil pointer", bad7665, good7665) } } // issue 7978 var issue7978sync uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 10.6K bytes - Viewed (0)