2019-03-02 13:46:04 -08:00
|
|
|
const adler = @import("hash/adler.zig");
|
2018-04-06 04:10:54 -07:00
|
|
|
pub const Adler32 = adler.Adler32;
|
|
|
|
|
2019-07-02 10:46:51 -07:00
|
|
|
const auto_hash = @import("hash/auto_hash.zig");
|
|
|
|
pub const autoHash = auto_hash.autoHash;
|
2019-10-11 14:08:08 -07:00
|
|
|
pub const autoHashStrat = auto_hash.hash;
|
|
|
|
pub const Strategy = auto_hash.HashStrategy;
|
2019-07-02 10:46:51 -07:00
|
|
|
|
2018-04-06 04:10:54 -07:00
|
|
|
// pub for polynomials + generic crc32 construction
|
2019-03-02 13:46:04 -08:00
|
|
|
pub const crc = @import("hash/crc.zig");
|
2018-04-06 04:10:54 -07:00
|
|
|
pub const Crc32 = crc.Crc32;
|
|
|
|
|
2019-03-02 13:46:04 -08:00
|
|
|
const fnv = @import("hash/fnv.zig");
|
2018-04-06 04:10:54 -07:00
|
|
|
pub const Fnv1a_32 = fnv.Fnv1a_32;
|
|
|
|
pub const Fnv1a_64 = fnv.Fnv1a_64;
|
|
|
|
pub const Fnv1a_128 = fnv.Fnv1a_128;
|
|
|
|
|
2019-03-02 13:46:04 -08:00
|
|
|
const siphash = @import("hash/siphash.zig");
|
2018-04-06 04:10:54 -07:00
|
|
|
pub const SipHash64 = siphash.SipHash64;
|
|
|
|
pub const SipHash128 = siphash.SipHash128;
|
|
|
|
|
2019-07-06 06:12:07 -07:00
|
|
|
pub const murmur = @import("hash/murmur.zig");
|
|
|
|
pub const Murmur2_32 = murmur.Murmur2_32;
|
2019-06-27 14:21:35 -07:00
|
|
|
|
2019-07-06 06:12:07 -07:00
|
|
|
pub const Murmur2_64 = murmur.Murmur2_64;
|
|
|
|
pub const Murmur3_32 = murmur.Murmur3_32;
|
|
|
|
|
|
|
|
pub const cityhash = @import("hash/cityhash.zig");
|
|
|
|
pub const CityHash32 = cityhash.CityHash32;
|
|
|
|
pub const CityHash64 = cityhash.CityHash64;
|
|
|
|
|
2019-07-01 04:23:26 -07:00
|
|
|
const wyhash = @import("hash/wyhash.zig");
|
|
|
|
pub const Wyhash = wyhash.Wyhash;
|
2019-06-27 14:21:35 -07:00
|
|
|
|
2018-04-06 04:10:54 -07:00
|
|
|
test "hash" {
|
2019-03-02 13:46:04 -08:00
|
|
|
_ = @import("hash/adler.zig");
|
2019-07-02 10:46:51 -07:00
|
|
|
_ = @import("hash/auto_hash.zig");
|
2019-03-02 13:46:04 -08:00
|
|
|
_ = @import("hash/crc.zig");
|
|
|
|
_ = @import("hash/fnv.zig");
|
|
|
|
_ = @import("hash/siphash.zig");
|
2019-07-06 06:12:07 -07:00
|
|
|
_ = @import("hash/murmur.zig");
|
|
|
|
_ = @import("hash/cityhash.zig");
|
2019-06-27 14:21:35 -07:00
|
|
|
_ = @import("hash/wyhash.zig");
|
2018-04-06 04:10:54 -07:00
|
|
|
}
|