package stdlib
import (
"hash"
"reflect"
)
func init() {
Symbols ["hash/hash" ] = map [string ]reflect .Value {
"Hash" : reflect .ValueOf ((*hash .Hash )(nil )),
"Hash32" : reflect .ValueOf ((*hash .Hash32 )(nil )),
"Hash64" : reflect .ValueOf ((*hash .Hash64 )(nil )),
"_Hash" : reflect .ValueOf ((*_hash_Hash )(nil )),
"_Hash32" : reflect .ValueOf ((*_hash_Hash32 )(nil )),
"_Hash64" : reflect .ValueOf ((*_hash_Hash64 )(nil )),
}
}
type _hash_Hash struct {
IValue interface {}
WBlockSize func () int
WReset func ()
WSize func () int
WSum func (b []byte ) []byte
WWrite func (p []byte ) (n int , err error )
}
func (W _hash_Hash ) BlockSize () int {
return W .WBlockSize ()
}
func (W _hash_Hash ) Reset () {
W .WReset ()
}
func (W _hash_Hash ) Size () int {
return W .WSize ()
}
func (W _hash_Hash ) Sum (b []byte ) []byte {
return W .WSum (b )
}
func (W _hash_Hash ) Write (p []byte ) (n int , err error ) {
return W .WWrite (p )
}
type _hash_Hash32 struct {
IValue interface {}
WBlockSize func () int
WReset func ()
WSize func () int
WSum func (b []byte ) []byte
WSum32 func () uint32
WWrite func (p []byte ) (n int , err error )
}
func (W _hash_Hash32 ) BlockSize () int {
return W .WBlockSize ()
}
func (W _hash_Hash32 ) Reset () {
W .WReset ()
}
func (W _hash_Hash32 ) Size () int {
return W .WSize ()
}
func (W _hash_Hash32 ) Sum (b []byte ) []byte {
return W .WSum (b )
}
func (W _hash_Hash32 ) Sum32 () uint32 {
return W .WSum32 ()
}
func (W _hash_Hash32 ) Write (p []byte ) (n int , err error ) {
return W .WWrite (p )
}
type _hash_Hash64 struct {
IValue interface {}
WBlockSize func () int
WReset func ()
WSize func () int
WSum func (b []byte ) []byte
WSum64 func () uint64
WWrite func (p []byte ) (n int , err error )
}
func (W _hash_Hash64 ) BlockSize () int {
return W .WBlockSize ()
}
func (W _hash_Hash64 ) Reset () {
W .WReset ()
}
func (W _hash_Hash64 ) Size () int {
return W .WSize ()
}
func (W _hash_Hash64 ) Sum (b []byte ) []byte {
return W .WSum (b )
}
func (W _hash_Hash64 ) Sum64 () uint64 {
return W .WSum64 ()
}
func (W _hash_Hash64 ) Write (p []byte ) (n int , err error ) {
return W .WWrite (p )
}
The pages are generated with Golds v0.8.4 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .