github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_hash_crc64.go (about)

     1  // Code generated by 'yaegi extract hash/crc64'. 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/crc64"
    11  	"reflect"
    12  )
    13  
    14  func init() {
    15  	Symbols["hash/crc64/crc64"] = map[string]reflect.Value{
    16  		// function, constant and variable definitions
    17  		"Checksum":  reflect.ValueOf(crc64.Checksum),
    18  		"ECMA":      reflect.ValueOf(constant.MakeFromLiteral("14514072000185962306", token.INT, 0)),
    19  		"ISO":       reflect.ValueOf(constant.MakeFromLiteral("15564440312192434176", token.INT, 0)),
    20  		"MakeTable": reflect.ValueOf(crc64.MakeTable),
    21  		"New":       reflect.ValueOf(crc64.New),
    22  		"Size":      reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)),
    23  		"Update":    reflect.ValueOf(crc64.Update),
    24  
    25  		// type definitions
    26  		"Table": reflect.ValueOf((*crc64.Table)(nil)),
    27  	}
    28  }