Home | History | Annotate | Download | only in cache

Lines Matching refs:HashSize

20 // HashSize is the number of bytes in a hash.
21 const HashSize = 32
87 func (h *Hash) Sum() [HashSize]byte {
88 var out [HashSize]byte
96 hashDebug.m = make(map[[HashSize]byte]string)
110 m map[[HashSize]byte]string
114 func reverseHash(id [HashSize]byte) string {
123 m map[string][HashSize]byte
132 func FileHash(file string) ([HashSize]byte, error) {
147 return [HashSize]byte{}, err
155 return [HashSize]byte{}, err
167 func SetFileHash(file string, sum [HashSize]byte) {
170 hashFileCache.m = make(map[string][HashSize]byte)