mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-04 02:17:25 -08:00
16 lines
397 B
Go
16 lines
397 B
Go
|
// Copyright 2016 The Go Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
// +build go1.5,!js,!appengine,!safe
|
||
|
|
||
|
package reflectutil
|
||
|
|
||
|
import "unsafe"
|
||
|
|
||
|
const haveTypedMemmove = true
|
||
|
|
||
|
// typedmemmove copies a value of type t to dst from src.
|
||
|
//go:noescape
|
||
|
func typedmemmove(reflect_rtype, dst, src unsafe.Pointer)
|