commit | 128da00a8c9b34b556bba21299e81784ed073a7d | [log] [tgz] |
---|---|---|
author | Will Harris <[email protected]> | Tue Feb 07 23:47:49 2023 |
committer | Chromium LUCI CQ <[email protected]> | Tue Feb 07 23:47:49 2023 |
tree | 75d3ed0b8977967e0317de71e773cda0d361770e | |
parent | f4201610dac4e140c6352d2b3985906c77f60461 [diff] |
Add some worked examples for safe math to base unit tests. It can be confusing to reason about the behavior of the templated safe math operations, when differently typed parameters are supplied to each argument. This CL adds some worked examples as a test for CheckMul to illustrate the behavior of all the different variants. BUG=332611 Change-Id: If69e61ef2fdd8957105d96853e19a0b44c67008a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4226303 Reviewed-by: Gabriel Charette <[email protected]> Commit-Queue: Will Harris <[email protected]> Cr-Commit-Position: refs/heads/main@{#1102455}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.