github.com/goplus/igop@v0.25.0/pkg/hash/crc32/go118_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.18 && !go1.19 4 // +build go1.18,!go1.19 5 6 package crc32 7 8 import ( 9 q "hash/crc32" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "crc32", 20 Path: "hash/crc32", 21 Deps: map[string]string{ 22 "errors": "errors", 23 "hash": "hash", 24 "internal/cpu": "cpu", 25 "sync": "sync", 26 "sync/atomic": "atomic", 27 "unsafe": "unsafe", 28 }, 29 Interfaces: map[string]reflect.Type{}, 30 NamedTypes: map[string]reflect.Type{ 31 "Table": reflect.TypeOf((*q.Table)(nil)).Elem(), 32 }, 33 AliasTypes: map[string]reflect.Type{}, 34 Vars: map[string]reflect.Value{ 35 "IEEETable": reflect.ValueOf(&q.IEEETable), 36 }, 37 Funcs: map[string]reflect.Value{ 38 "Checksum": reflect.ValueOf(q.Checksum), 39 "ChecksumIEEE": reflect.ValueOf(q.ChecksumIEEE), 40 "MakeTable": reflect.ValueOf(q.MakeTable), 41 "New": reflect.ValueOf(q.New), 42 "NewIEEE": reflect.ValueOf(q.NewIEEE), 43 "Update": reflect.ValueOf(q.Update), 44 }, 45 TypedConsts: map[string]igop.TypedConst{}, 46 UntypedConsts: map[string]igop.UntypedConst{ 47 "Castagnoli": {"untyped int", constant.MakeInt64(int64(q.Castagnoli))}, 48 "IEEE": {"untyped int", constant.MakeInt64(int64(q.IEEE))}, 49 "Koopman": {"untyped int", constant.MakeInt64(int64(q.Koopman))}, 50 "Size": {"untyped int", constant.MakeInt64(int64(q.Size))}, 51 }, 52 }) 53 }