tailscale/util/deephash
Joe Tsai e0c5ac1f02
util/deephash: add debug printer (#5460)
When built with "deephash_debug", print the set of HashXXX methods.

Example usage:

	$ go test -run=GetTypeHasher/string_slice -tags=deephash_debug
	U64(2)+U64(3)+S("foo")+U64(3)+S("bar")+FIN

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2022-08-27 12:14:07 -07:00
..
testtype util/deephash: fix unexported time.Time hashing 2022-07-27 09:28:23 -07:00
debug.go util/deephash: add debug printer (#5460) 2022-08-27 12:14:07 -07:00
deephash_test.go util/deephash: rely on direct memory hashing for primitive kinds (#5457) 2022-08-26 20:50:56 -07:00
deephash.go util/deephash: rely on direct memory hashing for primitive kinds (#5457) 2022-08-26 20:50:56 -07:00
types_test.go util/deephash: move typeIsRecursive and canMemHash to types.go (#5386) 2022-08-16 09:31:19 -07:00
types.go util/deephash: specialize for netip.Addr and drop AppendTo support (#5402) 2022-08-18 22:54:56 -07:00