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

     1  // Code generated by 'yaegi extract hash/crc64'. DO NOT EDIT.
     2  
     3  //go:build go1.17
     4  // +build go1.17
     5  
     6  package stdlib
     7  
     8  import (
     9  	"go/constant"
    10  	"go/token"
    11  	"hash/crc64"
    12  	"reflect"
    13  )
    14  
    15  func init() {
    16  	Symbols["hash/crc64/crc64"] = map[string]reflect.Value{
    17  		// function, constant and variable definitions
    18  		"Checksum":  reflect.ValueOf(crc64.Checksum),
    19  		"ECMA":      reflect.ValueOf(constant.MakeFromLiteral("14514072000185962306", token.INT, 0)),
    20  		"ISO":       reflect.ValueOf(constant.MakeFromLiteral("15564440312192434176", token.INT, 0)),
    21  		"MakeTable": reflect.ValueOf(crc64.MakeTable),
    22  		"New":       reflect.ValueOf(crc64.New),
    23  		"Size":      reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)),
    24  		"Update":    reflect.ValueOf(crc64.Update),
    25  
    26  		// type definitions
    27  		"Table": reflect.ValueOf((*crc64.Table)(nil)),
    28  	}
    29  }