From f66f24b477f3d1b57ff6e1461604cb462300efbd Mon Sep 17 00:00:00 2001 From: Maxim Pimenov Date: Mon, 24 Dec 2018 17:47:34 +0300 Subject: [PATCH] [coding] Cleaned up some unused code. --- 3party/osrm/osrm-backend/mapsme/converter.cpp | 10 +- coding/CMakeLists.txt | 6 -- coding/coder.hpp | 5 - coding/coder_util.hpp | 30 ------ coding/coding_tests/CMakeLists.txt | 2 - coding/coding_tests/coder_test.hpp | 20 ---- coding/coding_tests/coder_util_test.cpp | 31 ------ coding/diff.hpp | 20 ++-- coding/diff_patch_common.hpp | 13 --- coding/matrix_traversal.hpp | 6 -- coding/polymorph_reader.hpp | 41 -------- coding/varint_misc.hpp | 99 ------------------- xcode/coding/coding.xcodeproj/project.pbxproj | 30 ------ 13 files changed, 21 insertions(+), 292 deletions(-) delete mode 100644 coding/coder.hpp delete mode 100644 coding/coder_util.hpp delete mode 100644 coding/coding_tests/coder_test.hpp delete mode 100644 coding/coding_tests/coder_util_test.cpp delete mode 100644 coding/diff_patch_common.hpp delete mode 100644 coding/matrix_traversal.hpp delete mode 100644 coding/polymorph_reader.hpp delete mode 100644 coding/varint_misc.hpp diff --git a/3party/osrm/osrm-backend/mapsme/converter.cpp b/3party/osrm/osrm-backend/mapsme/converter.cpp index 05c93fe8c0..aae3a05833 100644 --- a/3party/osrm/osrm-backend/mapsme/converter.cpp +++ b/3party/osrm/osrm-backend/mapsme/converter.cpp @@ -8,7 +8,6 @@ #include "../../../../base/logging.hpp" #include "../../../../base/scope_guard.hpp" -#include "../../../../coding/matrix_traversal.hpp" #include "../../../../coding/internal/file_data.hpp" #include "../../../../routing/osrm_data_facade.hpp" @@ -19,6 +18,15 @@ #include "../../../succinct/rs_bit_vector.hpp" #include "../../../succinct/mapper.hpp" +namespace +{ +template +T TraverseMatrixInRowOrder(T n, T i, T j, bool is_back) +{ + return (i * n + j) * 2 + (is_back ? 1 : 0); +} +} // namespace + namespace mapsme { diff --git a/coding/CMakeLists.txt b/coding/CMakeLists.txt index c7fbe99724..8ed056315a 100644 --- a/coding/CMakeLists.txt +++ b/coding/CMakeLists.txt @@ -18,8 +18,6 @@ set( buffer_reader.hpp bwt_coder.hpp byte_stream.hpp - coder.hpp - coder_util.hpp compressed_bit_vector.cpp compressed_bit_vector.hpp constants.hpp @@ -27,7 +25,6 @@ set( csv_reader.hpp dd_vector.hpp diff.hpp - diff_patch_common.hpp elias_coder.hpp endianness.hpp file_container.cpp @@ -50,14 +47,12 @@ set( internal/file_data.cpp internal/file_data.hpp internal/xmlparser.hpp - matrix_traversal.hpp memory_region.hpp mmap_reader.cpp mmap_reader.hpp parse_xml.hpp point_coding.cpp point_coding.hpp - polymorph_reader.hpp read_write_utils.hpp reader.cpp reader.hpp @@ -92,7 +87,6 @@ set( var_record_reader.hpp var_serial_vector.hpp varint.hpp - varint_misc.hpp # varint_vector.cpp # varint_vector.hpp write_to_sink.hpp diff --git a/coding/coder.hpp b/coding/coder.hpp deleted file mode 100644 index f45d09c1bd..0000000000 --- a/coding/coder.hpp +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once -#include "base/exception.hpp" - -DECLARE_EXCEPTION(StringCodingException, RootException); -DECLARE_EXCEPTION(DstOutOfMemoryStringCodingException, StringCodingException); diff --git a/coding/coder_util.hpp b/coding/coder_util.hpp deleted file mode 100644 index a29c88a65c..0000000000 --- a/coding/coder_util.hpp +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once -#include "coding/coder.hpp" -#include "base/base.hpp" -#include "base/exception.hpp" -#include "std/string.hpp" - -template -void FixedDstSizeCodeToString(FixedSizeCoderT coder, SrcCharT * pSrc, size_t srcSize, string & dst) -{ - dst.resize(1024); - while (true) - { - size_t dstUsed = coder(pSrc, srcSize, &dst[0], dst.size()); - if (dstUsed != -1) - { - dst.resize(dstUsed); - return; - } - else - { - // Double dst string size. - try { dst.resize(dst.size() * 2); } - catch (std::exception & e) - { - dst.clear(); - MYTHROW(DstOutOfMemoryStringCodingException, (e.what())); - } - } - } -} diff --git a/coding/coding_tests/CMakeLists.txt b/coding/coding_tests/CMakeLists.txt index 86d6ab7cbb..729c46b0fa 100644 --- a/coding/coding_tests/CMakeLists.txt +++ b/coding/coding_tests/CMakeLists.txt @@ -5,8 +5,6 @@ set( base64_test.cpp bit_streams_test.cpp bwt_coder_tests.cpp - coder_test.hpp - coder_util_test.cpp compressed_bit_vector_test.cpp csv_reader_test.cpp dd_vector_test.cpp diff --git a/coding/coding_tests/coder_test.hpp b/coding/coding_tests/coder_test.hpp deleted file mode 100644 index 3f72a5e0e1..0000000000 --- a/coding/coding_tests/coder_test.hpp +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once - -#include "testing/testing.hpp" -#include "coding/coder.hpp" - -// TODO: void CoderRandomTest(Coder & encoder, Coder & decoder); -// TODO: void CoderTextTest(Coder & encoder, Coder & decoder); -// TODO: Test buffer overrun coder behavior. - -template -void CoderAaaaTest(EncoderT encoder, DecoderT decoder) -{ - for (int i = 1; i <= 65536; (i > 16 && (i & 3) == 1) ? i = (i & ~3) * 2 : ++i) - { - string data(i, 'a'), encoded, decoded; - encoder(&data[0], data.size(), encoded); - decoder(&encoded[0], encoded.size(), decoded); - TEST_EQUAL(data, decoded, ()); - } -} diff --git a/coding/coding_tests/coder_util_test.cpp b/coding/coding_tests/coder_util_test.cpp deleted file mode 100644 index ff693e3009..0000000000 --- a/coding/coding_tests/coder_util_test.cpp +++ /dev/null @@ -1,31 +0,0 @@ -#include "testing/testing.hpp" - -#include "coding/coder_util.hpp" -#include "base/logging.hpp" - -//namespace -//{ -// size_t FixedDstSizeInfiniteMemoryEncode(char const *, size_t, char *, size_t /*dstSize*/) -// { -// // LOG(LINFO, ("DstSize", dstSize)); -// return -1U; -// } -//} - -/* Commented because takes too much time after memory upgrage :) -UNIT_TEST(FixedDstSizeCodeToStringInfiniteMemoryTest) -{ - bool thrownDstOutOfMemoryStringCodingException = false; - try - { - char const src [] = "Test"; - string dst; - FixedDstSizeCodeToString(&FixedDstSizeInfiniteMemoryEncode, src, 4, dst); - } - catch (DstOutOfMemoryStringCodingException & e) - { - thrownDstOutOfMemoryStringCodingException = true; - } - TEST(thrownDstOutOfMemoryStringCodingException, ()); -} -*/ diff --git a/coding/diff.hpp b/coding/diff.hpp index 91e7c55432..9468f3c118 100644 --- a/coding/diff.hpp +++ b/coding/diff.hpp @@ -1,5 +1,4 @@ #pragma once -#include "coding/diff_patch_common.hpp" #include "base/assert.hpp" #include "base/base.hpp" @@ -11,6 +10,12 @@ namespace diff { +enum Operation +{ + OPERATION_COPY = 0, + OPERATION_DELETE = 1, + OPERATION_INSERT = 2, +}; template class PatchCoder { @@ -18,27 +23,27 @@ public: typedef SizeT size_type; explicit PatchCoder(PatchWriterT & patchWriter) - : m_LastOperation(COPY), m_LastOpCode(0), m_PatchWriter(patchWriter) + : m_LastOperation(OPERATION_COPY), m_LastOpCode(0), m_PatchWriter(patchWriter) { } void Delete(size_type n) { if (n != 0) - Op(DELETE, n); + Op(OPERATION_DELETE, n); } void Copy(size_type n) { if (n != 0) - Op(COPY, n); + Op(OPERATION_COPY, n); } template void Insert(TIter it, size_type n) { if (n != 0) { - Op(INSERT, n); + Op(OPERATION_INSERT, n); m_PatchWriter.WriteData(it, n); } } @@ -66,7 +71,7 @@ private: if (m_LastOpCode != 0) m_PatchWriter.WriteOperation(m_LastOpCode); else - CHECK_EQUAL(m_LastOperation, COPY, ()); // "We were just initialized." + CHECK_EQUAL(m_LastOperation, OPERATION_COPY, ()); // "We were just initialized." } Operation m_LastOperation; @@ -211,5 +216,4 @@ private: HasherT m_Hasher; size_t m_BlockSize; }; - -} +} // namespace diff diff --git a/coding/diff_patch_common.hpp b/coding/diff_patch_common.hpp deleted file mode 100644 index 061a576d0c..0000000000 --- a/coding/diff_patch_common.hpp +++ /dev/null @@ -1,13 +0,0 @@ -#pragma once - -namespace diff -{ - -enum Operation -{ - COPY = 0, - DELETE = 1, - INSERT = 2, -}; - -} diff --git a/coding/matrix_traversal.hpp b/coding/matrix_traversal.hpp deleted file mode 100644 index 8ac53207ca..0000000000 --- a/coding/matrix_traversal.hpp +++ /dev/null @@ -1,6 +0,0 @@ -#pragma once - -template T TraverseMatrixInRowOrder(T n, T i, T j, bool is_back) -{ - return (i * n + j) * 2 + (is_back ? 1 : 0); -} diff --git a/coding/polymorph_reader.hpp b/coding/polymorph_reader.hpp deleted file mode 100644 index 0277a359c9..0000000000 --- a/coding/polymorph_reader.hpp +++ /dev/null @@ -1,41 +0,0 @@ -#pragma once -#include "coding/reader.hpp" -#include "std/unique_ptr.hpp" - -class PolymorphReader -{ -public: - // Takes ownership of pReader - explicit PolymorphReader(Reader const * pReader = 0) : m_pReader(pReader) - { - } - - PolymorphReader(PolymorphReader const & reader) - : m_pReader(reader.m_pReader->CreateSubReader(0, reader.m_pReader->Size())) - { - } - - PolymorphReader & operator = (PolymorphReader const & reader) - { - PolymorphReader(reader).m_pReader.swap(m_pReader); - return *this; - } - - inline uint64_t Size() const - { - return m_pReader->Size(); - } - - inline void Read(uint64_t pos, void * p, size_t size) const - { - m_pReader->Read(pos, p, size); - } - - inline PolymorphReader SubReader(uint64_t pos, uint64_t size) const - { - return PolymorphReader(m_pReader->CreateSubReader(pos, size)); - } - -private: - unique_ptr m_pReader; -}; diff --git a/coding/varint_misc.hpp b/coding/varint_misc.hpp deleted file mode 100644 index a727adcbf6..0000000000 --- a/coding/varint_misc.hpp +++ /dev/null @@ -1,99 +0,0 @@ -// Author: Artyom Polkovnikov. -// Different variants of Varint encoding/decoding. - -#pragma once - -#include "coding/reader.hpp" -#include "coding/writer.hpp" - -#include "base/assert.hpp" -#include "std/cstdint.hpp" -#include "std/vector.hpp" - -// Encode Varint by appending to vector of bytes. -inline void VarintEncode(vector & dst, uint64_t n) -{ - if (n == 0) - { - dst.push_back(0); - } - else - { - while (n != 0) - { - uint8_t b = n & 0x7F; - n >>= 7; - b |= n == 0 ? 0 : 0x80; - dst.push_back(b); - } - } -} -// Encode varint using bytes Writer. -inline void VarintEncode(Writer & writer, uint64_t n) -{ - if (n == 0) - { - writer.Write(&n, 1); - } - else - { - while (n != 0) - { - uint8_t b = n & 0x7F; - n >>= 7; - b |= n == 0 ? 0 : 0x80; - writer.Write(&b, 1); - } - } -} -// Deocde varint at given pointer and offset, offset is incremented after encoding. -inline uint64_t VarintDecode(void * src, uint64_t & offset) -{ - uint64_t n = 0; - int shift = 0; - while (1) - { - uint8_t b = *(((uint8_t*)src) + offset); - CHECK_LESS_OR_EQUAL(shift, 56, ()); - n |= uint64_t(b & 0x7F) << shift; - ++offset; - if ((b & 0x80) == 0) break; - shift += 7; - } - return n; -} -// Decode varint using bytes Reader, offset is incremented after decoding. -inline uint64_t VarintDecode(Reader & reader, uint64_t & offset) -{ - uint64_t n = 0; - int shift = 0; - while (1) - { - uint8_t b = 0; - reader.Read(offset, &b, 1); - CHECK_LESS_OR_EQUAL(shift, 56, ()); - n |= uint64_t(b & 0x7F) << shift; - ++offset; - if ((b & 0x80) == 0) break; - shift += 7; - } - return n; -} -// Reverse decode varint. Offset should point to last byte of decoded varint. -// It is compulsory that there is at least one encoded varint before this varint. -// After decoding offset points to the last byte of previous varint. -inline uint64_t VarintDecodeReverse(Reader & reader, uint64_t & offset) -{ - uint8_t b = 0; - do - { - --offset; - reader.Read(offset, &b, 1); - } - while ((b & 0x80) != 0); - uint64_t prevLastEncodedByteOffset = offset; - ++offset; - uint64_t num = VarintDecode(reader, offset); - offset = prevLastEncodedByteOffset; - return num; -} diff --git a/xcode/coding/coding.xcodeproj/project.pbxproj b/xcode/coding/coding.xcodeproj/project.pbxproj index 151519a246..daafc8f515 100644 --- a/xcode/coding/coding.xcodeproj/project.pbxproj +++ b/xcode/coding/coding.xcodeproj/project.pbxproj @@ -63,11 +63,8 @@ 675342861A3F588C00A0A8C3 /* bit_streams.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 6753422F1A3F588B00A0A8C3 /* bit_streams.hpp */; }; 6753428B1A3F588C00A0A8C3 /* buffer_reader.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342341A3F588B00A0A8C3 /* buffer_reader.hpp */; }; 6753428C1A3F588C00A0A8C3 /* byte_stream.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342351A3F588B00A0A8C3 /* byte_stream.hpp */; }; - 6753428F1A3F588C00A0A8C3 /* coder_util.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342381A3F588B00A0A8C3 /* coder_util.hpp */; }; - 675342901A3F588C00A0A8C3 /* coder.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342391A3F588B00A0A8C3 /* coder.hpp */; }; 675342951A3F588C00A0A8C3 /* constants.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 6753423E1A3F588B00A0A8C3 /* constants.hpp */; }; 675342961A3F588C00A0A8C3 /* dd_vector.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 6753423F1A3F588B00A0A8C3 /* dd_vector.hpp */; }; - 675342971A3F588C00A0A8C3 /* diff_patch_common.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342401A3F588B00A0A8C3 /* diff_patch_common.hpp */; }; 675342981A3F588C00A0A8C3 /* diff.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342411A3F588B00A0A8C3 /* diff.hpp */; }; 675342991A3F588C00A0A8C3 /* endianness.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342421A3F588B00A0A8C3 /* endianness.hpp */; }; 6753429A1A3F588C00A0A8C3 /* file_container.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 675342431A3F588B00A0A8C3 /* file_container.cpp */; }; @@ -81,11 +78,9 @@ 675342A41A3F588C00A0A8C3 /* file_writer.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 6753424D1A3F588B00A0A8C3 /* file_writer.hpp */; }; 675342A71A3F588C00A0A8C3 /* hex.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 675342501A3F588B00A0A8C3 /* hex.cpp */; }; 675342A81A3F588C00A0A8C3 /* hex.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342511A3F588B00A0A8C3 /* hex.hpp */; }; - 675342AD1A3F588C00A0A8C3 /* matrix_traversal.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342571A3F588B00A0A8C3 /* matrix_traversal.hpp */; }; 675342AE1A3F588C00A0A8C3 /* mmap_reader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 675342581A3F588B00A0A8C3 /* mmap_reader.cpp */; }; 675342AF1A3F588C00A0A8C3 /* mmap_reader.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342591A3F588B00A0A8C3 /* mmap_reader.hpp */; }; 675342B21A3F588C00A0A8C3 /* parse_xml.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 6753425C1A3F588B00A0A8C3 /* parse_xml.hpp */; }; - 675342B31A3F588C00A0A8C3 /* polymorph_reader.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 6753425D1A3F588B00A0A8C3 /* polymorph_reader.hpp */; }; 675342B41A3F588C00A0A8C3 /* read_write_utils.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 6753425E1A3F588B00A0A8C3 /* read_write_utils.hpp */; }; 675342B51A3F588C00A0A8C3 /* reader_cache.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 6753425F1A3F588B00A0A8C3 /* reader_cache.hpp */; }; 675342B61A3F588C00A0A8C3 /* reader_streambuf.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 675342601A3F588B00A0A8C3 /* reader_streambuf.cpp */; }; @@ -104,7 +99,6 @@ 675342C81A3F588C00A0A8C3 /* value_opt_string.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342731A3F588B00A0A8C3 /* value_opt_string.hpp */; }; 675342C91A3F588C00A0A8C3 /* var_record_reader.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342741A3F588C00A0A8C3 /* var_record_reader.hpp */; }; 675342CA1A3F588C00A0A8C3 /* var_serial_vector.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342751A3F588C00A0A8C3 /* var_serial_vector.hpp */; }; - 675342CB1A3F588C00A0A8C3 /* varint_misc.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342761A3F588C00A0A8C3 /* varint_misc.hpp */; }; 675342CC1A3F588C00A0A8C3 /* varint_vector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 675342771A3F588C00A0A8C3 /* varint_vector.cpp */; }; 675342CD1A3F588C00A0A8C3 /* varint_vector.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342781A3F588C00A0A8C3 /* varint_vector.hpp */; }; 675342CE1A3F588C00A0A8C3 /* varint.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 675342791A3F588C00A0A8C3 /* varint.hpp */; }; @@ -119,7 +113,6 @@ 676818201DC3ABD80094C0AC /* traffic_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6768181F1DC3ABD80094C0AC /* traffic_test.cpp */; }; 67E8DB551BBC17490053C5BA /* base64_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 67E8DB081BBC16C70053C5BA /* base64_test.cpp */; }; 67E8DB561BBC17490053C5BA /* bit_streams_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 67E8DB091BBC16C70053C5BA /* bit_streams_test.cpp */; }; - 67E8DB581BBC17490053C5BA /* coder_util_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 67E8DB0C1BBC16C70053C5BA /* coder_util_test.cpp */; }; 67E8DB591BBC17490053C5BA /* compressed_bit_vector_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 67E8DB0D1BBC16C70053C5BA /* compressed_bit_vector_test.cpp */; }; 67E8DB5B1BBC17490053C5BA /* dd_vector_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 67E8DB101BBC16C70053C5BA /* dd_vector_test.cpp */; }; 67E8DB5C1BBC17490053C5BA /* diff_test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 67E8DB111BBC16C70053C5BA /* diff_test.cpp */; }; @@ -227,11 +220,8 @@ 6753422F1A3F588B00A0A8C3 /* bit_streams.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = bit_streams.hpp; sourceTree = ""; }; 675342341A3F588B00A0A8C3 /* buffer_reader.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = buffer_reader.hpp; sourceTree = ""; }; 675342351A3F588B00A0A8C3 /* byte_stream.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = byte_stream.hpp; sourceTree = ""; }; - 675342381A3F588B00A0A8C3 /* coder_util.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = coder_util.hpp; sourceTree = ""; }; - 675342391A3F588B00A0A8C3 /* coder.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = coder.hpp; sourceTree = ""; }; 6753423E1A3F588B00A0A8C3 /* constants.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = constants.hpp; sourceTree = ""; }; 6753423F1A3F588B00A0A8C3 /* dd_vector.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = dd_vector.hpp; sourceTree = ""; }; - 675342401A3F588B00A0A8C3 /* diff_patch_common.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = diff_patch_common.hpp; sourceTree = ""; }; 675342411A3F588B00A0A8C3 /* diff.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = diff.hpp; sourceTree = ""; }; 675342421A3F588B00A0A8C3 /* endianness.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = endianness.hpp; sourceTree = ""; }; 675342431A3F588B00A0A8C3 /* file_container.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = file_container.cpp; sourceTree = ""; }; @@ -245,11 +235,9 @@ 6753424D1A3F588B00A0A8C3 /* file_writer.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = file_writer.hpp; sourceTree = ""; }; 675342501A3F588B00A0A8C3 /* hex.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = hex.cpp; sourceTree = ""; }; 675342511A3F588B00A0A8C3 /* hex.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = hex.hpp; sourceTree = ""; }; - 675342571A3F588B00A0A8C3 /* matrix_traversal.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = matrix_traversal.hpp; sourceTree = ""; }; 675342581A3F588B00A0A8C3 /* mmap_reader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = mmap_reader.cpp; sourceTree = ""; }; 675342591A3F588B00A0A8C3 /* mmap_reader.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = mmap_reader.hpp; sourceTree = ""; }; 6753425C1A3F588B00A0A8C3 /* parse_xml.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = parse_xml.hpp; sourceTree = ""; }; - 6753425D1A3F588B00A0A8C3 /* polymorph_reader.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = polymorph_reader.hpp; sourceTree = ""; }; 6753425E1A3F588B00A0A8C3 /* read_write_utils.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = read_write_utils.hpp; sourceTree = ""; }; 6753425F1A3F588B00A0A8C3 /* reader_cache.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = reader_cache.hpp; sourceTree = ""; }; 675342601A3F588B00A0A8C3 /* reader_streambuf.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = reader_streambuf.cpp; sourceTree = ""; }; @@ -268,7 +256,6 @@ 675342731A3F588B00A0A8C3 /* value_opt_string.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = value_opt_string.hpp; sourceTree = ""; }; 675342741A3F588C00A0A8C3 /* var_record_reader.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = var_record_reader.hpp; sourceTree = ""; }; 675342751A3F588C00A0A8C3 /* var_serial_vector.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = var_serial_vector.hpp; sourceTree = ""; }; - 675342761A3F588C00A0A8C3 /* varint_misc.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = varint_misc.hpp; sourceTree = ""; }; 675342771A3F588C00A0A8C3 /* varint_vector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = varint_vector.cpp; sourceTree = ""; }; 675342781A3F588C00A0A8C3 /* varint_vector.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = varint_vector.hpp; sourceTree = ""; }; 675342791A3F588C00A0A8C3 /* varint.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = varint.hpp; sourceTree = ""; }; @@ -283,8 +270,6 @@ 6768181F1DC3ABD80094C0AC /* traffic_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = traffic_test.cpp; sourceTree = ""; }; 67E8DB081BBC16C70053C5BA /* base64_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = base64_test.cpp; sourceTree = ""; }; 67E8DB091BBC16C70053C5BA /* bit_streams_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = bit_streams_test.cpp; sourceTree = ""; }; - 67E8DB0B1BBC16C70053C5BA /* coder_test.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = coder_test.hpp; sourceTree = ""; }; - 67E8DB0C1BBC16C70053C5BA /* coder_util_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = coder_util_test.cpp; sourceTree = ""; }; 67E8DB0D1BBC16C70053C5BA /* compressed_bit_vector_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = compressed_bit_vector_test.cpp; sourceTree = ""; }; 67E8DB101BBC16C70053C5BA /* dd_vector_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = dd_vector_test.cpp; sourceTree = ""; }; 67E8DB111BBC16C70053C5BA /* diff_test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = diff_test.cpp; sourceTree = ""; }; @@ -376,8 +361,6 @@ 3D489BBA1D3D217E0052AA38 /* succinct_mapper_test.cpp */, 67E8DB081BBC16C70053C5BA /* base64_test.cpp */, 67E8DB091BBC16C70053C5BA /* bit_streams_test.cpp */, - 67E8DB0B1BBC16C70053C5BA /* coder_test.hpp */, - 67E8DB0C1BBC16C70053C5BA /* coder_util_test.cpp */, 67E8DB0D1BBC16C70053C5BA /* compressed_bit_vector_test.cpp */, 67E8DB101BBC16C70053C5BA /* dd_vector_test.cpp */, 67E8DB241BBC16C70053C5BA /* uri_test.cpp */, @@ -461,15 +444,12 @@ 675342341A3F588B00A0A8C3 /* buffer_reader.hpp */, 39B2B97C1FB4693400AB85A1 /* bwt_coder.hpp */, 675342351A3F588B00A0A8C3 /* byte_stream.hpp */, - 675342381A3F588B00A0A8C3 /* coder_util.hpp */, - 675342391A3F588B00A0A8C3 /* coder.hpp */, 347F33311C4540F0009758CC /* compressed_bit_vector.cpp */, 347F33321C4540F0009758CC /* compressed_bit_vector.hpp */, 6753423E1A3F588B00A0A8C3 /* constants.hpp */, 3D74EF201F8F55740081202C /* csv_reader.cpp */, 3D74EF1F1F8F55740081202C /* csv_reader.hpp */, 6753423F1A3F588B00A0A8C3 /* dd_vector.hpp */, - 675342401A3F588B00A0A8C3 /* diff_patch_common.hpp */, 675342411A3F588B00A0A8C3 /* diff.hpp */, 39B2B97E1FB4693B00AB85A1 /* elias_coder.hpp */, 675342421A3F588B00A0A8C3 /* endianness.hpp */, @@ -488,12 +468,10 @@ 394917221BAC3C2F002A8C4F /* huffman.cpp */, 394917231BAC3C2F002A8C4F /* huffman.hpp */, 670D04B21B0BA9050013A7AC /* internal */, - 675342571A3F588B00A0A8C3 /* matrix_traversal.hpp */, 39B2B9801FB4694300AB85A1 /* memory_region.hpp */, 675342581A3F588B00A0A8C3 /* mmap_reader.cpp */, 675342591A3F588B00A0A8C3 /* mmap_reader.hpp */, 6753425C1A3F588B00A0A8C3 /* parse_xml.hpp */, - 6753425D1A3F588B00A0A8C3 /* polymorph_reader.hpp */, 6753425E1A3F588B00A0A8C3 /* read_write_utils.hpp */, 6753425F1A3F588B00A0A8C3 /* reader_cache.hpp */, 675342601A3F588B00A0A8C3 /* reader_streambuf.cpp */, @@ -524,7 +502,6 @@ 675342731A3F588B00A0A8C3 /* value_opt_string.hpp */, 675342741A3F588C00A0A8C3 /* var_record_reader.hpp */, 675342751A3F588C00A0A8C3 /* var_serial_vector.hpp */, - 675342761A3F588C00A0A8C3 /* varint_misc.hpp */, 675342771A3F588C00A0A8C3 /* varint_vector.cpp */, 675342781A3F588C00A0A8C3 /* varint_vector.hpp */, 675342791A3F588C00A0A8C3 /* varint.hpp */, @@ -577,12 +554,8 @@ 347F33381C4540F0009758CC /* compressed_bit_vector.hpp in Headers */, 675342B21A3F588C00A0A8C3 /* parse_xml.hpp in Headers */, 675342AF1A3F588C00A0A8C3 /* mmap_reader.hpp in Headers */, - 675342901A3F588C00A0A8C3 /* coder.hpp in Headers */, 4563B061205909290057556D /* serdes_binary_header.hpp in Headers */, 675342B81A3F588C00A0A8C3 /* reader_wrapper.hpp in Headers */, - 675342AD1A3F588C00A0A8C3 /* matrix_traversal.hpp in Headers */, - 675342CB1A3F588C00A0A8C3 /* varint_misc.hpp in Headers */, - 675342B31A3F588C00A0A8C3 /* polymorph_reader.hpp in Headers */, 675342961A3F588C00A0A8C3 /* dd_vector.hpp in Headers */, 675342C91A3F588C00A0A8C3 /* var_record_reader.hpp in Headers */, 675342991A3F588C00A0A8C3 /* endianness.hpp in Headers */, @@ -608,11 +581,9 @@ 675342A81A3F588C00A0A8C3 /* hex.hpp in Headers */, 6753428C1A3F588C00A0A8C3 /* byte_stream.hpp in Headers */, 675342BF1A3F588C00A0A8C3 /* streams_common.hpp in Headers */, - 6753428F1A3F588C00A0A8C3 /* coder_util.hpp in Headers */, 347F333B1C4540F0009758CC /* simple_dense_coding.hpp in Headers */, 670D04BE1B0BA92D0013A7AC /* file64_api.hpp in Headers */, 675342A11A3F588C00A0A8C3 /* file_sort.hpp in Headers */, - 675342971A3F588C00A0A8C3 /* diff_patch_common.hpp in Headers */, 675342861A3F588C00A0A8C3 /* bit_streams.hpp in Headers */, 675342A01A3F588C00A0A8C3 /* file_reader.hpp in Headers */, 675342C71A3F588C00A0A8C3 /* url_encode.hpp in Headers */, @@ -734,7 +705,6 @@ 67E8DB5B1BBC17490053C5BA /* dd_vector_test.cpp in Sources */, 3973743521C17F1C0003807A /* string_utf8_multilang_tests.cpp in Sources */, 3D489BC21D3D21AA0052AA38 /* fixed_bits_ddvector_test.cpp in Sources */, - 67E8DB581BBC17490053C5BA /* coder_util_test.cpp in Sources */, 67E8DB601BBC17490053C5BA /* file_sort_test.cpp in Sources */, 67E8DB691BBC17490053C5BA /* reader_test.cpp in Sources */, 3D489BC01D3D21A00052AA38 /* succinct_mapper_test.cpp in Sources */,