98 Commits (7407f404d996594de43a546cfabbd40d776a4e22)

Author SHA1 Message Date
Joe Tsai 548fa63e49
util/deephash: use binary encoding of time.Time (#5352) 4 years ago
Joe Tsai 1f7479466e
util/deephash: use sha256x (#5339) 4 years ago
Joe Tsai 77a92f326d
util/deephash: avoid using sync.Pool for reflect.MapIter (#5333) 4 years ago
Joe Tsai 539c5e44c5
util/deephash: always keep values addressable (#5328) 4 years ago
Brad Fitzpatrick 8725b14056 all: migrate more code code to net/netip directly 4 years ago
Brad Fitzpatrick 116f55ff66 all: gofmt for Go 1.19 4 years ago
Brad Fitzpatrick 04cf46a762 util/deephash: fix unexported time.Time hashing 4 years ago
Brad Fitzpatrick a12aad6b47 all: convert more code to use net/netip directly 4 years ago
Brad Fitzpatrick 6a396731eb all: use various net/netip parse funcs directly 4 years ago
Brad Fitzpatrick 7eaf5e509f net/netaddr: start migrating to net/netip via new netaddr adapter package 4 years ago
Brad Fitzpatrick 2a22ea3e83 util/deephash: generate type-specific hasher funcs 4 years ago
Brad Fitzpatrick 35782f891d util/deephash: add canMemHash func + typeInfo property 4 years ago
Brad Fitzpatrick 7b9a901489 util/deephash: add packet filter benchmark 4 years ago
Brad Fitzpatrick 8c5c87be26 util/deephash: fix collisions between different types 4 years ago
Brad Fitzpatrick 757ecf7e80 util/deephash: fix map hashing when key & element have the same type 4 years ago
Brad Fitzpatrick f31588786f util/deephash: don't track cycles on non-recursive types 4 years ago
Brad Fitzpatrick 36ea837736 util/deephash: fix map hashing to actually hash elements 4 years ago
Maisem Ali fd99c54e10 tailcfg,all: change structs to []*dnstype.Resolver 4 years ago
Josh Bleecher Snyder 0868329936 all: use any instead of interface{} 4 years ago
Josh Bleecher Snyder 97a01b7b17 util/deephash: remove Tailscale toolchain compatibility shim 4 years ago
Brad Fitzpatrick 486059589b all: gofmt -w -s (simplify) tests 4 years ago
David Anderson 0532eb30db all: replace tailcfg.DiscoKey with key.DiscoPublic. 5 years ago
David Anderson a9c78910bd wgengine/wgcfg: convert to use new node key type. 5 years ago
David Anderson bb10443edf wgengine/wgcfg: use just the hexlified node key as the WireGuard endpoint. 5 years ago
David Anderson 54bc3b7d97 util/deephash: remove soon to be deleted field from wgcfg. 5 years ago
Joe Tsai 3f1317e3e5
util/deephash: fix TestArrayAllocs 5 years ago
slowy07 ac0353e982 fix: typo spelling grammar 5 years ago
David Crawshaw 360223fccb types/dnstype: introduce new package for Resolver 5 years ago
Josh Bleecher Snyder a5da4ed981 all: gofmt with Go 1.17 5 years ago
Joe Tsai 9d0c86b6ec
util/deephash: remove unnecessary formatting for structs and slices (#2571) 5 years ago
Joe Tsai d8fbce7eef
util/deephash: hash uint{8,16,32,64} explicitly (#2502) 5 years ago
Joe Tsai 01d4dd331d
util/deephash: simplify hasher.hashMap (#2503) 5 years ago
Joe Tsai d145c594ad
util/deephash: improve cycle detection (#2470) 5 years ago
Joe Tsai d666bd8533
util/deephash: disambiguate hashing of AppendTo (#2483) 5 years ago
Joe Tsai 23ad028414
util/deephash: include type as part of hash for interfaces (#2476) 5 years ago
Joe Tsai a5fb8e0731
util/deephash: introduce deliberate instability (#2477) 5 years ago
Joe Tsai 9a0c8bdd20 util/deephash: make hash type opaque 5 years ago
Brad Fitzpatrick ddb8726c98 util/deephash: don't reflect.Copy if element type is a defined uint8 5 years ago
Brad Fitzpatrick df176c82f5 util/deephash: skip alloc test under race detector 5 years ago
Brad Fitzpatrick 6dc38ff25c util/deephash: optimize hashing of byte arrays, reduce allocs in Hash 5 years ago
Brad Fitzpatrick 3962744450 util/deephash: prevent infinite loop on map cycle 5 years ago
Brad Fitzpatrick aceaa70b16 util/deephash: move funcs to methods 5 years ago
Brad Fitzpatrick 14f901da6d util/deephash: fix sync.Pool usage 5 years ago
Brad Fitzpatrick e0258ffd92 util/deephash: use keyed struct literal, fix vet 5 years ago
Brad Fitzpatrick bf9f279768 util/deephash: optimize CPU a bit by by avoiding fmt in more places 5 years ago
Brad Fitzpatrick 58f2ef6085 util/deephash: add a benchmark and some benchmark data 5 years ago
Brad Fitzpatrick 9ae3bd0939 util/deephash: export a Hash func for use by the control plane 5 years ago
Brad Fitzpatrick 700badd8f8 util/deephash: move internal/deephash to util/deephash 5 years ago