mfbt/tests/TestCheckedInt.cpp
3c07e6f1f530e778a2dfcdfd097dce3ea7f56189
created 2020-11-18 09:05 +0000
pushed 2020-11-18 16:05 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp
05ebb33de1f9b258aa86e1a2800c6c5e3025f4d2
created 2020-03-28 13:57 +0000
pushed 2020-03-28 21:40 +0000
André Bargull André Bargull - Bug 1625138 - Part 14: Replace mozilla::IsSigned with std::is_signed. r=froydnj
54f1de92d76e3856732852dac7c9bdf62bfe6ec4
created 2020-03-28 13:57 +0000
pushed 2020-03-28 21:40 +0000
André Bargull André Bargull - Bug 1625138 - Part 4: Replace mozilla::MakeUnsigned with std::make_unsigned. r=froydnj
17a0ccc0cad72aa14441cccf41433e161ece1517
created 2020-01-08 16:30 +0000
pushed 2020-01-08 21:56 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1607816 - Replace mozilla::{Max, Min}Value with std::numeric_limits. r=froydnj
09c71a7cf75aeaf2963050e315276fb9a866fd62
created 2018-12-14 18:10 +0000
pushed 2018-12-15 02:27 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan
c9b0bbb1d4f9565da1b91e47029bbc9a7c773e63
created 2014-12-18 15:27 -0500
pushed 2014-12-20 03:00 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 867348 - Part 2: Apply MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT to CheckedInt's constructor; r=jrmuizel,cpearce
29c50b8249238b436a17525ece13930cb92ac6ac
created 2014-12-18 15:59 -0500
pushed 2014-12-19 20:08 +0000
Ryan VanderMeulen Ryan VanderMeulen - Backed out changesets acb4dd16755c and 40768f723990 (bug 867348) for static analysis bustage.
acb4dd16755cc2c771268d05a40fa6190569a553
created 2014-12-18 15:27 -0500
pushed 2014-12-19 20:08 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 867348 - Part 2: Apply MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT to CheckedInt's constructor; r=jrmuizel
5a2271cb4a6760cdf574bd6ff4c850f3ffaf1091
created 2014-11-14 16:13 +1300
pushed 2014-11-14 11:59 +0000
Matthew Gregan Matthew Gregan - Bug 1097512 - Allow using compound operators where the LHS and RHS are both CheckedInt<T>. r=jwalden+bmo
1b7d7dcf71e23f6ed68f10a72416f7dc5e58a6c2
created 2014-07-22 20:54 -0700
pushed 2014-07-24 13:25 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1041914 - Convert the fourth quarter of MFBT to Gecko style. r=Ms2ger.
cb1ddab163f98106bfe2627bae7c7cc9473c941a
created 2014-04-01 09:38 -0400
pushed 2014-04-01 20:44 +0000
Benoit Jacob Benoit Jacob - Bug 987274 - Add IntegerTypeTraits.h to MFBT for additional integer traits and helpers that don't have type_traits equivalents - r=Waldo
9e0bf0548e486cdfda2f9dd91e56edb733b1a0ba
created 2013-06-14 15:19 -0700
pushed 2013-06-16 01:34 +0000
Jeff Gilbert Jeff Gilbert - Bug 881980 - Allow casting CheckedInts to other CheckedInt types. - r=bjacob,waldo
a74b3d43c3af2b8b09437a735e65c0e5bdbf7e4a
created 2013-06-14 15:19 -0700
pushed 2013-06-16 01:34 +0000
Jeff Gilbert Jeff Gilbert - Bug 874764 - Add CheckedInt support for operator%. - r=bjacob,waldo
9a8c7cd83f2293987e36b1103e07d29c0263844d
created 2013-05-08 17:25 -0400
pushed 2013-05-09 04:17 +0000
Benoit Jacob Benoit Jacob - Bug 869685 - Reintroduce long long support in CheckedInt - r=Waldo
7e347694edf22feab6a55d7e04b7a7a7174a2697
created 2013-03-12 15:40 -0400
pushed 2013-03-13 12:28 +0000
Benoit Jacob Benoit Jacob - Bug 849667 - Fix/simplify CheckedInt's use-outside-of-MFBT setup - r=Waldo
e1cee7393c7381523c32283ce6888ebb7d8a9d4c
created 2013-03-11 18:45 -0700
pushed 2013-03-13 12:28 +0000
Jeff Walden Jeff Walden - Bug 849666 - Make CheckedInt<T>::operator-() not depend on undefined behavior when negating minimum signed values, and add a test for this. Patch is something of a tag-team effort by bjacob and me. r=bjacob
4442728732160c2c0c5e1d13bf2bc54fcf8354db
created 2013-03-01 21:49 -0800
pushed 2013-03-05 01:54 +0000
Jeff Walden Jeff Walden - Bug 847521 - Allow CheckedInt<signed char> in addition to char/unsigned char. char != signed char (but is guaranteed to have the same representation as either signed char or unsigned char, for backwards-compatibility reasons), so we have to handle signed char as a third character type. r=bjacob
2b9bea1ee9e94e6b020bae198e496384ba41711d
created 2012-07-05 10:13 -0400
pushed 2012-07-06 00:15 +0000
Benoit Jacob Benoit Jacob - Bug 768570 - Fix all the warnings in CheckedInt - r=jwalden
79f74e4d885c1616f51c33d63502b6e37f37bb1a
created 2012-07-05 10:13 -0400
pushed 2012-07-06 00:15 +0000
Benoit Jacob Benoit Jacob - Bug 768538 - 2/2 - Fix undefined behavior in the CheckedInt unit test - r=jwalden
ae0b2ba1e47e56000d684d4ac72b35a13c08b19e
created 2012-05-17 10:07 -0400
pushed 2012-05-18 03:26 +0000
Benoit Jacob Benoit Jacob - Bug 732875 - Further CheckedInt tweaks - r=Ms2ger,jwalden
6bf1a722bf41100be1d554faa1c814fbcde2e6cd
created 2012-05-17 16:48 +0200
pushed 2012-05-18 03:26 +0000
Dão Gottwald Dão Gottwald - Backed out changeset 45ef0e7b2426
45ef0e7b24267e55a547a243414652bc97ff9036
created 2012-05-17 10:07 -0400
pushed 2012-05-18 03:26 +0000
Benoit Jacob Benoit Jacob - Bug 732875 - Further CheckedInt tweaks - r=Ms2ger,jwalden
345ae68f15f4bbd6f0a669f8d8bba0fe2fa6889a
created 2012-05-14 15:50 -0400
pushed 2012-05-15 11:33 +0000
Benoit Jacob Benoit Jacob - Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
less more (0) tip