| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"go/constant" |
| 10 |
"go/token" |
| 11 |
"hash/crc64" |
| 12 |
"reflect" |
| 13 |
) |
| 14 |
|
| 15 |
func init() { |
| 16 |
Symbols["hash/crc64/crc64"] = map[string]reflect.Value{ |
| 17 |
|
| 18 |
"Checksum": reflect.ValueOf(crc64.Checksum), |
| 19 |
"ECMA": reflect.ValueOf(constant.MakeFromLiteral("14514072000185962306", token.INT, 0)), |
| 20 |
"ISO": reflect.ValueOf(constant.MakeFromLiteral("15564440312192434176", token.INT, 0)), |
| 21 |
"MakeTable": reflect.ValueOf(crc64.MakeTable), |
| 22 |
"New": reflect.ValueOf(crc64.New), |
| 23 |
"Size": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), |
| 24 |
"Update": reflect.ValueOf(crc64.Update), |
| 25 |
|
| 26 |
|
| 27 |
"Table": reflect.ValueOf((*crc64.Table)(nil)), |
| 28 |
} |
| 29 |
} |