- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for arithAdd (0.13 sec)
The limit of a search time was exceeded. The partial result might be displayed.
-
test/escape_unsafe.go
func convert(p *float64) *uint64 { // ERROR "leaking param: p to result ~r0 level=0$" return (*uint64)(unsafe.Pointer(p)) } // (3) Conversion of a Pointer to a uintptr and back, with arithmetic. func arithAdd() unsafe.Pointer { var x [2]byte // ERROR "moved to heap: x" return unsafe.Pointer(uintptr(unsafe.Pointer(&x[0])) + 1) } func arithSub() unsafe.Pointer { var x [2]byte // ERROR "moved to heap: x"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 17:25:59 UTC 2022 - 2.2K bytes - Viewed (0)