[roll] Roll third_party/pigweed pw_hex_dump: Fix output for short single line

Display of a zero offset was hardcoded as '00', assuming that two hex
digits were required to display any address. This was not true for
spans of less than 10 bytes, of spans of greater than 256, and
resulted in unaligned output:

Offs. 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f  Text
00000: 00 01 02 03                                      ....

and:

Offs. 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f  Text
0000: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f  ................
010: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f  ................
 :
0100: ff ff ff                                         ...

Tested: Unit tests included.
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/121718
Original-Revision: c0c54cd4101aaf318914409cb0cc9fd7da0ffcfe
GitOrigin-RevId: 237bfb70822fd71b8a739b33921aad61166021f8
Change-Id: I51be50d4c7c3a13075d8a042562ced2f8a268b6e
1 file changed
tree: e9ee5983428299ee6f691c51a9f5dfff67f39295
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.