Hash :
e2e406c3
Author :
Date :
2016-06-02T13:04:10
Add base::numerics for safe math and conversions. This replaces are "IsUnsignedXXXSafe" family of methods. Also add overflow checks to unpack block sizes. BUG=angleproject:1397 Change-Id: Ib47be149b0486c70f795b0d0f8899441faac9340 Reviewed-on: https://chromium-review.googlesource.com/348062 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
Name: Chromium: base/numerics
Short Name: base::numerics
Version:
URL: https://chromium.googlesource.com/chromium/src.git/+/lkcr/base/numerics/
SOURCE CODE: Copy the Chromium folder manually into this folder and run git cl format.
Date: 30/05/2016
Revision: 28b5bbb227d331c01e6ff9b2f8729732135aadc7 (Chromium)
Security Critical: no
License: Chromium
License File: LICENSE in Chromium/src
Description:
base::numerics is a library for doing some simple safe math and conversions. To update the checkout, simply
overwrite the base/numerics folder with Chromium's latest. The only modifications are to the base/logging.h
file which defines CHECK to be ASSERT to be compatible with ANGLE.