Beispiel #1
0
func ReadRange(goid int32, addr, sz, step, pc uintptr) {
	C.__tsan_read_range(C.int(goid), unsafe.Pointer(addr),
		C.long(sz), C.long(step), unsafe.Pointer(pc))
}
Beispiel #2
0
func ReadRange(racectx uintptr, addr, sz, step, pc uintptr) {
	C.__tsan_read_range(unsafe.Pointer(racectx), unsafe.Pointer(addr),
		C.long(sz), C.long(step), unsafe.Pointer(pc))
}
Beispiel #3
0
func ReadRange(racectx uintptr, addr, sz, pc uintptr) {
	C.__tsan_read_range(unsafe.Pointer(racectx), unsafe.Pointer(addr),
		C.long(sz), 0 /*step is unused*/, unsafe.Pointer(pc))
}