📍 Job mac-m1_mini_2020-perf/speedometer3 complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/16c94657310000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
📍 Job mac-m1_mini_2020-perf/jetstream2 complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/13208cf7310000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
using EvdevKeyState = std::array<unsigned long, EVDEV_BITS_TO_LONGS(KEY_CNT)>;This pollutes the ui namespace.
I would just inline this into the class? No need to declare a using statement is there?
base::span(prev_key_state_).copy_from(new_key_state);nit: copy_from_nonoverlapping
base::span(copy_key_state).copy_from(prev_key_state_);nit: copy_from_nonoverlapping
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Whoops forgot LGTM just minor nits anyway.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
using EvdevKeyState = std::array<unsigned long, EVDEV_BITS_TO_LONGS(KEY_CNT)>;This pollutes the ui namespace.
I would just inline this into the class? No need to declare a using statement is there?
Done. Inlined into the class.
I think the using statement is needed because we can control the type (unsigned long) and the size from a single place, which is more readable and maintainable.
base::span(prev_key_state_).copy_from(new_key_state);Bryan Enrique Gonzaleznit: copy_from_nonoverlapping
Done
base::span(copy_key_state).copy_from(prev_key_state_);Bryan Enrique Gonzaleznit: copy_from_nonoverlapping
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
using EvdevKeyState = std::array<unsigned long, EVDEV_BITS_TO_LONGS(KEY_CNT)>;Bryan Enrique GonzalezThis pollutes the ui namespace.
I would just inline this into the class? No need to declare a using statement is there?
Done. Inlined into the class.
I think the using statement is needed because we can control the type (unsigned long) and the size from a single place, which is more readable and maintainable.
Sure as a private member this seems reasonable to me 😊 Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
spanification: automatically spanify ui/events/ozone/evdev/event_device_util.h etc.
This is the result of running the automatic spanification on linux and
updating code to use and pass spans where size is known.
The original patch was fully automated using script:
//tools/clang/spanify/rewrite-multiple-platforms.sh -platforms=linux
Then refined with gemini-cli
gemini-run/batch-run-1761662609/group_199
BUG=439964610
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |