mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
* feat: support go1.22 * Temporary fix for consistency tests due to language change in for loops * review: clean old files --------- Co-authored-by: Fernandez Ludovic <[email protected]>
34 lines
1.1 KiB
Go
34 lines
1.1 KiB
Go
// Code generated by 'yaegi extract hash/crc32'. DO NOT EDIT.
|
|
|
|
//go:build go1.22
|
|
// +build go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"go/constant"
|
|
"go/token"
|
|
"hash/crc32"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["hash/crc32/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)),
|
|
}
|
|
}
|