- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for unsafe_New (0.11 sec)
-
src/reflect/value.go
typ := t.common() ptr := unsafe_New(typ) *(*float32)(ptr) = v return Value{typ, ptr, f | flagIndir | flag(typ.Kind())} } // makeComplex returns a Value of type t equal to v (possibly truncated to complex64), // where t is a complex64 or complex128 type. func makeComplex(f flag, v complex128, t Type) Value { typ := t.common() ptr := unsafe_New(typ) switch typ.Size() { case 8:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0)