leveldb/util
pkasting 50e77a8263 Fix size_t/int comparison/conversion issues in leveldb.
The create function took |num_keys| as an int, but callers and implementers wanted it to function as a size_t (e.g. passing std::vector::size() in, passing it to vector constructors as a size arg, indexing containers by it, etc.).  This resulted in implicit conversions between the two types as well as warnings (found with Chromium's external copy of these sources, built with MSVC) about signed vs. unsigned comparisons.

The leveldb sources were already widely using size_t elsewhere, e.g. for key and filter lengths, so using size_t here is not inconsistent with the existing code.  However, it does change the public C API.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=101074871
2015-12-09 10:34:58 -08:00
..
arena_test.cc Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
arena.cc Release LevelDB 1.14 2013-09-19 13:49:19 -07:00
arena.h Release LevelDB 1.15 2013-12-10 10:36:31 -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 A number of fixes: 2011-10-31 17:22:06 +00:00
cache.cc Release leveldb 1.10 2013-05-14 17:03:07 -07:00
coding_test.cc Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
coding.cc Update to leveldb 1.6 2012-10-12 11:53:12 -07:00
coding.h A number of fixes: 2011-10-31 17:22:06 +00: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 A number of fixes: 2011-10-31 17:22:06 +00:00
crc32c.h A number of fixes: 2011-10-31 17:22:06 +00:00
env_posix.cc LevelDB now attempts to reuse the preceding MANIFEST and log file when re-opened. 2015-08-11 14:56:39 -07:00
env_test.cc fixed issues 66 (leaking files on disk error) and 68 (no sync of CURRENT file) 2012-01-25 14:56:52 -08: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 reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00: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 Release 1.18 2014-09-16 14:19:52 -07:00
logging.h Release 1.18 2014-09-16 14:19:52 -07:00
mutexlock.h Update to leveldb 1.6 2012-10-12 11:53:12 -07:00
options.cc LevelDB now attempts to reuse the preceding MANIFEST and log file when re-opened. 2015-08-11 14:56:39 -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 Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
testharness.h A number of fixes: 2011-10-31 17:22:06 +00:00
testutil.cc Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
testutil.h LevelDB now attempts to reuse the preceding MANIFEST and log file when re-opened. 2015-08-11 14:56:39 -07:00