| 1 |
// Copyright 2016 The Go Authors. All rights reserved. |
| 2 |
// Use of this source code is governed by a BSD-style |
| 3 |
// license that can be found in the LICENSE file. |
| 4 |
|
| 5 |
// +build !go1.8 |
| 6 |
// +build !ppc64,!ppc64le,!arm64,!mips,!mipsle,!mips64,!mips64le |
| 7 |
// +build go1.5,!js,!appengine,!safe |
| 8 |
|
| 9 |
package reflectutil |
| 10 |
|
| 11 |
import "unsafe" |
| 12 |
|
| 13 |
const haveTypedMemmove = true |
| 14 |
|
| 15 |
// typedmemmove copies a value of type t to dst from src. |
| 16 |
//go:noescape |
| 17 |
func typedmemmove(reflect_rtype, dst, src unsafe.Pointer) |