diff options
Diffstat (limited to 'libgo/go/hash/fnv/fnv.go')
-rw-r--r-- | libgo/go/hash/fnv/fnv.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgo/go/hash/fnv/fnv.go b/libgo/go/hash/fnv/fnv.go index 2c8a251..ea50198 100644 --- a/libgo/go/hash/fnv/fnv.go +++ b/libgo/go/hash/fnv/fnv.go @@ -104,6 +104,11 @@ func (s *sum32a) Size() int { return 4 } func (s *sum64) Size() int { return 8 } func (s *sum64a) Size() int { return 8 } +func (s *sum32) BlockSize() int { return 1 } +func (s *sum32a) BlockSize() int { return 1 } +func (s *sum64) BlockSize() int { return 1 } +func (s *sum64a) BlockSize() int { return 1 } + func (s *sum32) Sum(in []byte) []byte { v := uint32(*s) in = append(in, byte(v>>24)) |