Files
moxa/stdlib/go1_16_hash_crc32.go
Ludovic Fernandez 8bb5daf60e feat: update stdlib mapping for go1.16
- drop stdlib for go1.14
- generate stdlib for go1.16
-  update CI configuration.
2021-02-17 10:02:03 +01:00

33 lines
1.0 KiB
Go

// Code generated by 'yaegi extract hash/crc32'. DO NOT EDIT.
// +build go1.16
package stdlib
import (
"go/constant"
"go/token"
"hash/crc32"
"reflect"
)
func init() {
Symbols["hash/crc32"] = map[string]reflect.Value{
// function, constant and variable definitions
"Castagnoli": reflect.ValueOf(constant.MakeFromLiteral("2197175160", token.INT, 0)),
"Checksum": reflect.ValueOf(crc32.Checksum),
"ChecksumIEEE": reflect.ValueOf(crc32.ChecksumIEEE),
"IEEE": reflect.ValueOf(constant.MakeFromLiteral("3988292384", token.INT, 0)),
"IEEETable": reflect.ValueOf(&crc32.IEEETable).Elem(),
"Koopman": reflect.ValueOf(constant.MakeFromLiteral("3945912366", token.INT, 0)),
"MakeTable": reflect.ValueOf(crc32.MakeTable),
"New": reflect.ValueOf(crc32.New),
"NewIEEE": reflect.ValueOf(crc32.NewIEEE),
"Size": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)),
"Update": reflect.ValueOf(crc32.Update),
// type definitions
"Table": reflect.ValueOf((*crc32.Table)(nil)),
}
}