- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for unsafeslice (0.88 sec)
-
src/reflect/value.go
// data starts at p, with length and capacity equal to n. // // This is like [unsafe.Slice]. func SliceAt(typ Type, p unsafe.Pointer, n int) Value { unsafeslice(typ.common(), p, n) s := unsafeheader.Slice{Data: p, Len: n, Cap: n} return Value{SliceOf(typ).common(), unsafe.Pointer(&s), flagIndir | flag(Slice)} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0)