0 branches
Tree
Top files
Clone with HTTPS:
fnv1a
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
1 year ago
3.68 KB
huffman
hash.huffman: add shared canonical Huffman builder; migrate HPACK to it (#27392)
last Jun 8
13.63 KB
hash.v
hash: add more methods to the hash.Hash interface, to match the ones in Go (#22001)
1 year ago
491 bytes
wyhash.c.v
v2: lots of arm64 fixes: v2 compiled with arm64 can now compile hello world!; v2.eval; v2.cleanc fixes to compile viper engine
last Mar 10
814 bytes
Description
hash provides a way to hash binary data, i.e. produce a shorter value,
that is highly content dependent, so even slightly different content will
produce widely different hashes.
Hash functions are useful for implementing maps, caches etc.
Available submodules
hash.adler32- Adler-32 (RFC 1950 checksum used by zlib)hash.crc32- CRC-32 variants (IEEE 802.3crc32, Castagnolicrc32c, Koopmancrc32k, CRC-32Qcrc32q)hash.crc64- CRC-64-ECMA-182hash.fnv1a- Fowler-Noll-Vo hashes