| 1 | // Code generated by 'yaegi extract hash/crc32'. DO NOT EDIT. |
| 2 | |
| 3 | //go:build go1.22 |
| 4 | // +build go1.22 |
| 5 | |
| 6 | package stdlib |
| 7 | |
| 8 | import ( |
| 9 | "go/constant" |
| 10 | "go/token" |
| 11 | "hash/crc32" |
| 12 | "reflect" |
| 13 | ) |
| 14 | |
| 15 | func init() { |
| 16 | Symbols["hash/crc32/crc32"] = map[string]reflect.Value{ |
| 17 | // function, constant and variable definitions |
| 18 | "Castagnoli": reflect.ValueOf(constant.MakeFromLiteral("2197175160", token.INT, 0)), |
| 19 | "Checksum": reflect.ValueOf(crc32.Checksum), |
| 20 | "ChecksumIEEE": reflect.ValueOf(crc32.ChecksumIEEE), |
| 21 | "IEEE": reflect.ValueOf(constant.MakeFromLiteral("3988292384", token.INT, 0)), |
| 22 | "IEEETable": reflect.ValueOf(&crc32.IEEETable).Elem(), |
| 23 | "Koopman": reflect.ValueOf(constant.MakeFromLiteral("3945912366", token.INT, 0)), |
| 24 | "MakeTable": reflect.ValueOf(crc32.MakeTable), |
| 25 | "New": reflect.ValueOf(crc32.New), |
| 26 | "NewIEEE": reflect.ValueOf(crc32.NewIEEE), |
| 27 | "Size": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), |
| 28 | "Update": reflect.ValueOf(crc32.Update), |
| 29 | |
| 30 | // type definitions |
| 31 | "Table": reflect.ValueOf((*crc32.Table)(nil)), |
| 32 | } |
| 33 | } |