- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for is3 (0.01 sec)
-
test/escape_reflect.go
return v.IsValid() || v.IsNil() || v.IsZero() } func is2(x [2]int) bool { v := reflect.ValueOf(x) // ERROR "x does not escape" return v.IsValid() || v.IsNil() || v.IsZero() } func is3(x struct{ a, b int }) bool { v := reflect.ValueOf(x) // ERROR "x does not escape" return v.IsValid() || v.IsNil() || v.IsZero() } func overflow(x int) bool { v := reflect.ValueOf(x) // ERROR "x does not escape"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 13.1K bytes - Viewed (0)