roll: third_party/pigweed pw_containers: Add pw::Hash functor This change introduces `pw::Hash`, a general-purpose hashing framework. This framework consists of two main components: - `pw::Hash`: A functor that computes the hash of a given value. - `pw::HashState`: A stateful object that allows combining multiple values into a single hash. Hashing is implemented with a clear precedence: 1. A `PwHashValue` ADL-descoverable friend function for custom types. 2. Built-in support for pointers and enums. 3. A fallback to `std::hash` for standard library and other compatible types. This design allows types to be made hashable by either providing a `PwHashValue` overload or a `std::hash` specialization. Unit tests are included to cover basic types, pointers, enums, and the custom type hashing mechanisms. Original-Bug: 464156130 Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/355592 Original-Revision: 5dbeba6c9b4e7e9a55cd01a994f38916d50fd2ff Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed Rolled-Commits: ea07decce2ea96..5dbeba6c9b4e7e Roll-Count: 1 Roller-URL: https://cr-buildbucket.appspot.com/build/8691015787461100017 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Ie3c3d5b54b1eaeaa42c6ad828e72054b3f79452a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/examples/+/370412 Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/third_party/pigweed b/third_party/pigweed index ea07dec..5dbeba6 160000 --- a/third_party/pigweed +++ b/third_party/pigweed
@@ -1 +1 @@ -Subproject commit ea07decce2ea96052f55758b437be02c400b7583 +Subproject commit 5dbeba6c9b4e7e9a55cd01a994f38916d50fd2ff