You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
testtype util/deephash: fix unexported time.Time hashing 2 years ago
debug.go util/deephash: add debug printer (#5460) 2 years ago
deephash.go util/deephash: rely on direct memory hashing for primitive kinds (#5457) 2 years ago
deephash_test.go util/deephash: rely on direct memory hashing for primitive kinds (#5457) 2 years ago
types.go util/deephash: specialize for netip.Addr and drop AppendTo support (#5402) 2 years ago
types_test.go util/deephash: move typeIsRecursive and canMemHash to types.go (#5386) 2 years ago