X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=thirdparty%2Fsnappy%2Fsnappy_unittest.cc;h=6fff333ad1398374e85d9df357eb479edba2f62f;hb=d92831ec64d9b29314d10e5cc226e6bcdf59475b;hp=b2de246a18c81564fbc930b10513393d0f0bf9c9;hpb=18d094ea673e246a01dc318fd4d2dfd50ca2d630;p=apitrace diff --git a/thirdparty/snappy/snappy_unittest.cc b/thirdparty/snappy/snappy_unittest.cc index b2de246..6fff333 100644 --- a/thirdparty/snappy/snappy_unittest.cc +++ b/thirdparty/snappy/snappy_unittest.cc @@ -121,11 +121,11 @@ typedef string DataEndingAtUnreadablePage; #endif enum CompressorType { - ZLIB, LZO, LIBLZF, QUICKLZ, FASTLZ, SNAPPY, + ZLIB, LZO, LIBLZF, QUICKLZ, FASTLZ, SNAPPY }; const char* names[] = { - "ZLIB", "LZO", "LIBLZF", "QUICKLZ", "FASTLZ", "SNAPPY", + "ZLIB", "LZO", "LIBLZF", "QUICKLZ", "FASTLZ", "SNAPPY" }; static size_t MinimumRequiredOutputSpace(size_t input_size, @@ -742,11 +742,11 @@ TEST(Snappy, FourByteOffset) { // it chops up the input into 32KB pieces. So we hand-emit the // copy manually. - // The two fragments that make up the input string + // The two fragments that make up the input string. string fragment1 = "012345689abcdefghijklmnopqrstuvwxyz"; string fragment2 = "some other string"; - // How many times is each fragment emittedn + // How many times each fragment is emitted. const int n1 = 2; const int n2 = 100000 / fragment2.size(); const int length = n1 * fragment1.size() + n2 * fragment2.size();