summaryrefslogtreecommitdiffhomepage
path: root/util/deephash/deephash.go
AgeCommit message (Expand)AuthorFilesLines
2026-01-23all: remove AUTHORS file and references to itWill Norris1-1/+1
2024-04-16all: use Go 1.22 range-over-intBrad Fitzpatrick1-4/+4
2024-02-08all: use reflect.TypeFor now available in Go 1.22 (#11078)Joe Tsai1-5/+3
2024-02-01util/deephash: tighten up SelfHasher API (#11012)Joe Tsai1-4/+67
2024-02-01util/deephash: document pathological deephash behavior (#11010)Joe Tsai1-0/+43
2024-02-01util/deephash: implement SelfHasher to allow types to hash themselvesTom DNetto1-0/+15
2023-08-27util/deephash: add IncludeFields, ExcludeFields HasherForType OptionsBrad Fitzpatrick1-7/+93
2023-01-27all: update copyright and license headersWill Norris1-3/+2
2022-09-29all: fix spelling mistakesJosh Soref1-1/+1
2022-09-27util/deephash: add AppendSum method (#5768)Andrew Dunham1-0/+11
2022-08-30util/deephash: handle slice edge-cases (#5471)Joe Tsai1-0/+24
2022-08-27util/deephash: remove getTypeInfo (#5469)Joe Tsai1-88/+27
2022-08-27util/deephash: require pointer in API (#5467)Joe Tsai1-96/+70
2022-08-27util/deephash: move pointer and interface logic to separate function (#5465)Joe Tsai1-35/+49
2022-08-27util/deephash: move map logic to separate function (#5464)Joe Tsai1-51/+59
2022-08-27util/deephash: coalesce struct logic (#5466)Joe Tsai1-64/+48
2022-08-27util/deephash: move array and slice logic to separate function (#5463)Joe Tsai1-41/+39
2022-08-27util/deephash: use unsafe.Pointer instead of reflect.Value (#5459)Joe Tsai1-152/+84
2022-08-26util/deephash: rely on direct memory hashing for primitive kinds (#5457)Joe Tsai1-95/+21
2022-08-26util/deephash: delete slow path (#5423)Joe Tsai1-220/+45
2022-08-24util/deephash: expand fast-path capabilities (#5404)Joe Tsai1-28/+56
2022-08-18util/deephash: specialize for netip.Addr and drop AppendTo support (#5402)Joe Tsai1-45/+33
2022-08-16util/hashx: move from sha256x (#5388)Joe Tsai1-1/+1
2022-08-16util/sha256x: rename Hash as Block512 (#5351)Joe Tsai1-2/+9
2022-08-16util/deephash: move typeIsRecursive and canMemHash to types.go (#5386)Joe Tsai1-88/+5
2022-08-15util/deephash: simplify typeIsRecursive (#5385)Joe Tsai1-32/+11
2022-08-15util/deephash: remove unused stack slice in typeIsRecursive (#5363)Joe Tsai1-4/+0
2022-08-15util/deephash: simplify canMemHash (#5384)Joe Tsai1-8/+9
2022-08-15util/deephash: avoid variadic argument for Update (#5372)Joe Tsai1-6/+5
2022-08-12util/deephash: use binary encoding of time.Time (#5352)Joe Tsai1-4/+11
2022-08-11util/deephash: use sha256x (#5339)Joe Tsai1-112/+74
2022-08-11util/deephash: avoid using sync.Pool for reflect.MapIter (#5333)Joe Tsai1-7/+2
2022-08-09util/deephash: always keep values addressable (#5328)Joe Tsai1-97/+112
2022-08-02all: gofmt for Go 1.19Brad Fitzpatrick1-5/+5
2022-07-27util/deephash: fix unexported time.Time hashingBrad Fitzpatrick1-2/+4
2022-07-19util/deephash: generate type-specific hasher funcsBrad Fitzpatrick1-1/+433
2022-06-25util/deephash: add canMemHash func + typeInfo propertyBrad Fitzpatrick1-0/+30
2022-06-21util/deephash: fix collisions between different typesBrad Fitzpatrick1-1/+12
2022-06-16util/deephash: fix map hashing when key & element have the same typeBrad Fitzpatrick1-10/+16
2022-06-16util/deephash: don't track cycles on non-recursive typesBrad Fitzpatrick1-39/+166
2022-06-16util/deephash: fix map hashing to actually hash elementsBrad Fitzpatrick1-1/+1
2022-03-17all: use any instead of interface{}Josh Bleecher Snyder1-4/+4
2022-03-16util/deephash: remove Tailscale toolchain compatibility shimJosh Bleecher Snyder1-6/+8
2021-08-24fix: typo spelling grammarslowy071-1/+1
2021-08-03util/deephash: remove unnecessary formatting for structs and slices (#2571)Joe Tsai1-6/+36
2021-08-02util/deephash: hash uint{8,16,32,64} explicitly (#2502)Joe Tsai1-41/+69
2021-08-02util/deephash: simplify hasher.hashMap (#2503)Joe Tsai1-80/+46
2021-07-22util/deephash: improve cycle detection (#2470)Joe Tsai1-88/+81
2021-07-21util/deephash: disambiguate hashing of AppendTo (#2483)Joe Tsai1-2/+4
2021-07-21util/deephash: include type as part of hash for interfaces (#2476)Joe Tsai1-1/+20