Harald Alvestrand
a846cef197
Change rate stats classes to use int64_t not size_t
...
This avoids integer overflows when size_t is 32 bits, and conforms
to style guide recommendations to avoid unsigned integers.
Also add tests for overflow on RateStatistics accumulator.
Bug: webrtc:11247
Change-Id: Ifa0db567f41bbcf3ec46d89ab888f2ed9d03f3f0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/163991
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Yves Gerey <yvesg@google.com>
Cr-Commit-Position: refs/heads/master@{#30268}
2020-01-15 13:46:38 +00:00
..
2020-01-09 12:45:33 +00:00
2019-11-27 12:52:48 +00:00
2019-10-17 21:17:18 +00:00
2019-10-17 21:17:18 +00:00
2020-01-13 12:21:12 +00:00
2019-12-09 18:45:03 +00:00
2019-10-31 11:12:52 +00:00
2019-10-17 21:17:18 +00:00
2019-10-17 21:17:18 +00:00
2019-10-17 21:17:18 +00:00
2019-10-17 21:17:18 +00:00
2020-01-13 13:53:20 +00:00
2019-10-15 09:07:44 +00:00
2019-10-15 09:07:44 +00:00
2019-11-27 19:34:54 +00:00
2019-11-27 19:34:54 +00:00
2020-01-13 13:53:20 +00:00
2019-11-15 11:48:42 +00:00
2019-11-15 11:48:42 +00:00
2019-11-15 11:48:42 +00:00
2019-11-28 17:51:00 +00:00
2019-11-28 17:51:00 +00:00
2019-11-28 17:51:00 +00:00
2019-10-15 09:07:44 +00:00
2020-01-15 13:36:58 +00:00
2020-01-08 14:12:08 +00:00
2019-10-11 13:11:11 +00:00
2019-10-18 09:17:56 +00:00
2019-10-15 09:07:44 +00:00
2019-11-28 15:58:24 +00:00
2020-01-13 13:53:20 +00:00
2020-01-10 19:03:12 +00:00
2020-01-10 19:03:12 +00:00
2019-10-15 09:07:44 +00:00
2020-01-03 18:42:32 +00:00
2020-01-03 18:42:32 +00:00
2019-12-03 19:43:12 +00:00
2019-12-03 19:43:12 +00:00
2020-01-14 14:47:48 +00:00
2019-11-26 16:29:50 +00:00
2019-11-26 16:29:50 +00:00
2019-10-25 12:07:32 +00:00
2019-10-25 12:07:32 +00:00
2020-01-13 13:53:20 +00:00
2019-12-02 09:47:34 +00:00
2020-01-13 13:53:20 +00:00
2020-01-13 13:53:20 +00:00
2020-01-10 19:03:12 +00:00
2020-01-10 19:03:12 +00:00
2019-10-15 09:07:44 +00:00
2020-01-14 14:47:48 +00:00
2020-01-14 14:47:48 +00:00
2019-10-15 09:07:44 +00:00
2020-01-08 14:12:08 +00:00
2020-01-14 14:47:48 +00:00
2020-01-08 14:12:08 +00:00
2019-10-28 11:30:23 +00:00
2020-01-08 14:12:08 +00:00
2019-11-06 12:16:00 +00:00
2019-10-23 09:33:16 +00:00
2019-11-06 12:16:00 +00:00
2020-01-14 14:47:48 +00:00
2019-10-15 09:07:44 +00:00
2019-11-08 08:43:27 +00:00
2020-01-15 13:46:38 +00:00
2020-01-15 13:46:38 +00:00
2020-01-15 13:46:38 +00:00
2020-01-15 13:46:38 +00:00
2020-01-15 13:46:38 +00:00
2020-01-15 13:46:38 +00:00
2019-11-26 14:05:20 +00:00
2020-01-08 14:12:08 +00:00
2019-10-15 09:07:44 +00:00
2019-10-15 09:07:44 +00:00
2020-01-08 14:12:08 +00:00
2019-12-10 08:32:10 +00:00
2020-01-03 18:42:32 +00:00
2019-10-15 09:07:44 +00:00
2020-01-10 19:03:12 +00:00
2020-01-14 14:47:48 +00:00
2020-01-07 09:54:44 +00:00
2019-10-15 09:07:44 +00:00
2019-10-15 09:07:44 +00:00
2019-10-15 09:07:44 +00:00
2019-10-15 09:07:44 +00:00
2019-10-28 11:30:23 +00:00
2020-01-08 14:12:08 +00:00
2020-01-08 14:12:08 +00:00
2019-10-21 08:45:02 +00:00
2020-01-09 19:49:23 +00:00
2020-01-13 13:02:16 +00:00
2020-01-13 13:53:20 +00:00
2019-12-16 15:46:48 +00:00
2020-01-15 08:55:20 +00:00
2020-01-15 08:55:20 +00:00
2019-12-02 09:47:34 +00:00
2020-01-13 07:53:49 +00:00
2019-10-15 09:07:44 +00:00
2020-01-14 14:47:48 +00:00
2019-10-15 09:07:44 +00:00
2019-11-28 15:58:24 +00:00
2020-01-10 19:03:12 +00:00
2020-01-10 19:03:12 +00:00
2020-01-08 14:12:08 +00:00
2019-10-15 09:17:36 +00:00
2020-01-10 19:03:12 +00:00
2020-01-10 19:03:12 +00:00
2019-10-22 16:15:56 +00:00