leveldb/util
Chris Mumford 2f008ac19e Initialize class members to default values in constructors.
There were a few members which were identified to have been left
uninitialized in some constructors. These were very likely to
have been set before being used, otherwise the ASan tests would
have caught them, but still good practice to have them
initialized. This addresses some items reported in issue #668.

PiperOrigin-RevId: 243370145
2019-04-12 18:50:15 -07:00
..
arena_test.cc Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
arena.cc leveldb: Replace AtomicPointer with std::atomic. 2019-03-11 13:41:25 -07:00
arena.h leveldb: Replace AtomicPointer with std::atomic. 2019-03-11 13:41:25 -07:00
bloom_test.cc Fix size_t/int comparison/conversion issues in leveldb. 2015-12-09 10:34:58 -08:00
bloom.cc Fix size_t/int comparison/conversion issues in leveldb. 2015-12-09 10:34:58 -08:00
cache_test.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
cache.cc Initialize class members to default values in constructors. 2019-04-12 18:50:15 -07:00
coding_test.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
coding.cc Remove unnecessary bit operation. 2019-03-22 17:32:20 +08:00
coding.h Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
comparator.cc Remove InitOnce from the port API. 2018-09-10 19:04:59 -07:00
crc32c_test.cc A number of fixes: 2011-10-31 17:22:06 +00:00
crc32c.cc Use portable CRC32C from google/crc32c. 2017-09-26 18:50:41 -07:00
crc32c.h Remove extern from function declarations. 2018-03-12 09:24:48 -07:00
env_posix_test_helper.h Limit the number of read-only files the POSIX Env will have open. 2017-01-04 09:13:20 -08:00
env_posix_test.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
env_posix.cc leveldb: Fix PosixWritableFile::Sync() on Apple systems. 2019-01-09 14:58:22 -08:00
env_test.cc leveldb: Replace AtomicPointer with std::atomic. 2019-03-11 13:41:25 -07:00
env_windows_test_helper.h Switch corruption_test to use InMemEnv. 2019-03-20 13:57:03 -07:00
env_windows_test.cc Added native support for Windows. 2019-03-01 18:00:35 -08:00
env_windows.cc Two small fixes for the Windows implementation (#661) 2019-03-21 08:45:04 -07:00
env.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
filter_policy.cc Added bloom filter support. 2012-04-17 08:36:46 -07:00
hash_test.cc Release 1.18 2014-09-16 14:19:52 -07:00
hash.cc Release 1.18 2014-09-16 14:19:52 -07:00
hash.h Remove extern from function declarations. 2018-03-12 09:24:48 -07:00
histogram.cc A number of fixes: 2011-10-31 17:22:06 +00:00
histogram.h A number of fixes: 2011-10-31 17:22:06 +00:00
logging_test.cc Add tests for ConsumeDecimalNumber. 2018-04-13 15:36:55 -07:00
logging.cc Add forgotten <limits> header to util/logging.cc. 2018-04-13 16:21:07 -07:00
logging.h Remove extern from function declarations. 2018-03-12 09:24:48 -07:00
mutexlock.h C++11 cleanup for util/mutexlock.h. 2018-09-24 13:37:01 -07:00
no_destructor_test.cc Remove InitOnce from the port API. 2018-09-10 19:04:59 -07:00
no_destructor.h Remove InitOnce from the port API. 2018-09-10 19:04:59 -07:00
options.cc Inline defaults in options. 2019-03-20 13:56:22 -07:00
posix_logger.h Add back space to POSIX Logger. 2019-01-07 22:03:34 -08:00
random.h LevelDB 1.13 2013-08-21 11:12:47 -07:00
status_test.cc Add move constructor to Status. 2018-04-23 16:22:30 -07:00
status.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
testharness.cc Replace NULL with nullptr in C++ files. 2018-04-10 16:26:43 -07:00
testharness.h Fix includes in util/testharness.h. 2018-03-16 10:31:48 -07:00
testutil.cc Remove extern from function declarations. 2018-03-12 09:24:48 -07:00
testutil.h Use override consistently in leveldb::test::ErrorEnv. 2019-03-20 13:57:32 -07:00
windows_logger.h Align windows_logger with posix_logger. 2019-03-07 10:04:01 -08:00