代码拉取完成,页面将自动刷新
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| http://www.hprose.org/ |
| |
\**********************************************************/
/**********************************************************\
* *
* io/types.go *
* *
* reflect types for Go. *
* *
* LastModified: Oct 19, 2016 *
* Author: Ma Bingyao <andot@hprose.com> *
* *
\**********************************************************/
package io
import (
"container/list"
"math/big"
"reflect"
"time"
"unsafe"
)
type emptyInterface struct {
typ uintptr
ptr uintptr
}
type reflectValue struct {
typ uintptr
ptr unsafe.Pointer
flag uintptr
}
func getType(v interface{}) uintptr {
return *(*uintptr)(unsafe.Pointer(&v))
}
var bytesType = getType(([]byte)(nil))
var bigIntType = getType(big.Int{})
var bigRatType = getType(big.Rat{})
var bigFloatType = getType(big.Float{})
var timeType = getType(time.Time{})
var listType = getType(list.List{})
var reflectValueType = getType(reflect.Value{})
var interfaceType = reflect.TypeOf((*interface{})(nil)).Elem()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。