commit | a350fb5a873085d35a670037c1db6f2407d87633 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Mon Oct 30 22:12:29 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 30 22:12:29 2023 +0000 |
tree | 94b38fb3fcc907cbf8cd10910ec461732b00189d | |
parent | f7ce76732615428aaaa31df7b3e2c6116a09c71d [diff] |
pw_containers: Update VariableLengthEntryQueue size functions; cleanup - Remove raw_size_bytes() and raw_capacity_bytes(), which include metadata, in favor of size_bytes() and max_size_bytes(), which do not. - Add functions for clearing the queue and indexing into an Entry. - Clean up and expand the unit tests. Change-Id: Ia07973715c8fe40278d82ee6956f9a4ad29f91cf Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/173454 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Keir Mierle <keir@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.