leveldb/util
costan 0fa5a4f7b1 Extend thread safety annotations.
This CL makes it easier to reason about thread safety by:

1) Adding Clang thread safety annotations according to comments.
2) Expanding a couple of variable names, without adding extra lines of code.
3) Adding const in a couple of places.
4) Replacing an always-non-null const pointer with a reference.
5) Fixing style warnings in the modified files.

This CL does not annotate the DBImpl members that claim to be protected
by the instance mutex, but are accessed without the mutex being held.
Those members (and their unprotected accesses) will be addressed in
future CLs.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=189354657
2018-03-16 10:32:40 -07:00
..
arena_test.cc Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
arena.cc Resolve race when getting approximate-memory-usage property 2015-12-09 11:27:50 -08:00
arena.h Resolve race when getting approximate-memory-usage property 2015-12-09 11:27:50 -08: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 Fix use of uninitialized value in LRUHandle. 2017-10-03 11:30:48 -07:00
cache.cc Extend thread safety annotations. 2018-03-16 10:32:40 -07:00
coding_test.cc Fix includes in util/testharness.h. 2018-03-16 10:31:48 -07:00
coding.cc Update to leveldb 1.6 2012-10-12 11:53:12 -07:00
coding.h Fix includes in util/testharness.h. 2018-03-16 10:31:48 -07:00
comparator.cc Remove static initializer; fix endian-ness detection; fix build on 2012-05-30 09:45:46 -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 Separate Env tests from PosixEnv tests. 2017-03-01 13:53:23 -08:00
env_posix.cc Fix FD leak in POSIX Env. 2017-10-03 13:45:04 -07:00
env_test.cc leveldb: Include <algorithm> in util/env_test.cc. 2017-10-04 10:38:33 -07:00
env.cc LevelDB now attempts to reuse the preceding MANIFEST and log file when re-opened. 2015-08-11 14:56:39 -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.cc Switched variable type from int to uint64_t in ConsumeDecimalNumber. 2017-08-24 15:40:54 -07:00
logging.h Remove extern from function declarations. 2018-03-12 09:24:48 -07:00
mutexlock.h Update to leveldb 1.6 2012-10-12 11:53:12 -07:00
options.cc Add option for max file size. The currend hard-coded value of 2M is inefficient in colossus. 2016-09-28 10:52:24 -07:00
posix_logger.h A number of fixes: 2011-10-31 17:22:06 +00:00
random.h LevelDB 1.13 2013-08-21 11:12:47 -07:00
status.cc A number of fixes: 2011-10-31 17:22:06 +00:00
testharness.cc Fix includes in util/testharness.h. 2018-03-16 10:31:48 -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 Remove extern from function declarations. 2018-03-12 09:24:48 -07:00