leveldb/table
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
..
block_builder.cc A number of fixes: 2011-10-31 17:22:06 +00:00
block_builder.h Release 1.18 2014-09-16 14:19:52 -07:00
block.cc Release 1.18 2014-09-16 14:19:52 -07:00
block.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
filter_block_test.cc Release LevelDB 1.15 2013-12-10 10:36:31 -08:00
filter_block.cc Fix size_t/int comparison/conversion issues in leveldb. 2015-12-09 10:34:58 -08:00
filter_block.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
format.cc Release 1.18 2014-09-16 14:19:52 -07:00
format.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
iterator_wrapper.h Clean up layering of storage/leveldb/... 2014-12-11 08:02:45 -08:00
iterator.cc A number of fixes: 2011-10-31 17:22:06 +00:00
merger.cc A number of fixes: 2011-10-31 17:22:06 +00:00
merger.h A number of fixes: 2011-10-31 17:22:06 +00:00
table_builder.cc Added bloom filter support. 2012-04-17 08:36:46 -07:00
table_test.cc Release leveldb 1.10 2013-05-14 17:03:07 -07:00
table.cc Release 1.18 2014-09-16 14:19:52 -07:00
two_level_iterator.cc A number of fixes: 2011-10-31 17:22:06 +00:00
two_level_iterator.h A number of fixes: 2011-10-31 17:22:06 +00:00