2bba553d | 27-May-2021 |
William A. Kennington III <wak@google.com> |
message/native_types: Constexpr fix in c++17 mode
If we don't initialize the array at declaration time, we can't consider the function constexpr as the values could be non-deterministic.
Change-Id:
message/native_types: Constexpr fix in c++17 mode
If we don't initialize the array at declaration time, we can't consider the function constexpr as the values could be non-deterministic.
Change-Id: I3ba476cf58b86c44ad2e2216b74da09229e3d0c4 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
8db46a0f | 05-May-2021 |
William A. Kennington III <wak@google.com> |
native_types: string_path_wrapper: Don't escape all strings
Not all strings require escaping when appending them to a path. This allows us to now append `openbmc_project` to `/xyz` and have expected
native_types: string_path_wrapper: Don't escape all strings
Not all strings require escaping when appending them to a path. This allows us to now append `openbmc_project` to `/xyz` and have expected behavior.
Change-Id: I49a2ee100455cff4067dcf3df61f3e145231eeba Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
285f78b1 | 01-May-2021 |
William A. Kennington III <wak@google.com> |
native_types: Reduce append allocation
This builds the string from left to right, instead of dealing with string inserts, optimizing for allocations. Uses our own hex encoder instead of relying on s
native_types: Reduce append allocation
This builds the string from left to right, instead of dealing with string inserts, optimizing for allocations. Uses our own hex encoder instead of relying on systemd libraries. This maintains explicit compatability with the systemd encoding scheme.
Change-Id: Ia6c2f4fb19984f549c6bac2d67d0b5d610022038 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|