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