Commit d31633e6 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Move folly/Checksum.h into folly/hash/

Summary: [Folly] Move `folly/Checksum.h` into `folly/hash/`.

Reviewed By: Orvid

Differential Revision: D6045825

fbshipit-source-id: 02d3e6a49e2c0fc115cfee09e1186be7a13525ba
parent 42a989fa
...@@ -46,7 +46,6 @@ nobase_follyinclude_HEADERS = \ ...@@ -46,7 +46,6 @@ nobase_follyinclude_HEADERS = \
Bits.h \ Bits.h \
CachelinePadded.h \ CachelinePadded.h \
CallOnce.h \ CallOnce.h \
Checksum.h \
Chrono.h \ Chrono.h \
ClockGettimeWrappers.h \ ClockGettimeWrappers.h \
ConcurrentSkipList.h \ ConcurrentSkipList.h \
...@@ -66,7 +65,6 @@ nobase_follyinclude_HEADERS = \ ...@@ -66,7 +65,6 @@ nobase_follyinclude_HEADERS = \
detail/AtomicUnorderedMapUtils.h \ detail/AtomicUnorderedMapUtils.h \
detail/AtomicUtils.h \ detail/AtomicUtils.h \
detail/BitIteratorDetail.h \ detail/BitIteratorDetail.h \
detail/ChecksumDetail.h \
detail/DiscriminatedPtrDetail.h \ detail/DiscriminatedPtrDetail.h \
detail/FileUtilDetail.h \ detail/FileUtilDetail.h \
detail/FingerprintPolynomial.h \ detail/FingerprintPolynomial.h \
...@@ -226,6 +224,8 @@ nobase_follyinclude_HEADERS = \ ...@@ -226,6 +224,8 @@ nobase_follyinclude_HEADERS = \
futures/detail/FSM.h \ futures/detail/FSM.h \
futures/detail/Types.h \ futures/detail/Types.h \
futures/test/TestExecutor.h \ futures/test/TestExecutor.h \
hash/Checksum.h \
hash/detail/ChecksumDetail.h \
hash/SpookyHashV1.h \ hash/SpookyHashV1.h \
hash/SpookyHashV2.h \ hash/SpookyHashV2.h \
gen/Base.h \ gen/Base.h \
...@@ -467,9 +467,9 @@ GroupVarintTables.cpp: build/generate_varint_tables.py ...@@ -467,9 +467,9 @@ GroupVarintTables.cpp: build/generate_varint_tables.py
CLEANFILES += GroupVarintTables.cpp CLEANFILES += GroupVarintTables.cpp
libfollybasesse42_la_SOURCES = \ libfollybasesse42_la_SOURCES = \
detail/Crc32cDetail.cpp \ detail/RangeSse42.cpp \
detail/ChecksumDetail.cpp \ hash/detail/ChecksumDetail.cpp \
detail/RangeSse42.cpp hash/detail/Crc32cDetail.cpp
libfollybase_la_SOURCES = \ libfollybase_la_SOURCES = \
Conv.cpp \ Conv.cpp \
...@@ -486,7 +486,6 @@ libfollybase_la_SOURCES = \ ...@@ -486,7 +486,6 @@ libfollybase_la_SOURCES = \
libfolly_la_SOURCES = \ libfolly_la_SOURCES = \
Assume.cpp \ Assume.cpp \
Checksum.cpp \
ClockGettimeWrappers.cpp \ ClockGettimeWrappers.cpp \
concurrency/CacheLocality.cpp \ concurrency/CacheLocality.cpp \
concurrency/GlobalThreadPoolList.cpp \ concurrency/GlobalThreadPoolList.cpp \
...@@ -518,6 +517,7 @@ libfolly_la_SOURCES = \ ...@@ -518,6 +517,7 @@ libfolly_la_SOURCES = \
experimental/hazptr/memory_resource.cpp \ experimental/hazptr/memory_resource.cpp \
GroupVarint.cpp \ GroupVarint.cpp \
GroupVarintTables.cpp \ GroupVarintTables.cpp \
hash/Checksum.cpp \
hash/SpookyHashV1.cpp \ hash/SpookyHashV1.cpp \
hash/SpookyHashV2.cpp \ hash/SpookyHashV2.cpp \
IPAddress.cpp \ IPAddress.cpp \
......
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
#include <folly/Checksum.h> #include <folly/hash/Checksum.h>
#include <boost/crc.hpp> #include <boost/crc.hpp>
#include <folly/CpuId.h> #include <folly/CpuId.h>
#include <folly/detail/ChecksumDetail.h> #include <folly/hash/detail/ChecksumDetail.h>
#include <algorithm> #include <algorithm>
#include <stdexcept> #include <stdexcept>
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
* fast-crc-computation-generic-polynomials-pclmulqdq-paper.pdf * fast-crc-computation-generic-polynomials-pclmulqdq-paper.pdf
*/ */
#include <folly/detail/ChecksumDetail.h> #include <folly/hash/detail/ChecksumDetail.h>
namespace folly { namespace folly {
namespace detail { namespace detail {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <stdexcept> #include <stdexcept>
#include <folly/detail/ChecksumDetail.h> #include <folly/hash/detail/ChecksumDetail.h>
#include <folly/CppAttributes.h> #include <folly/CppAttributes.h>
......
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
#include <folly/Checksum.h> #include <folly/hash/Checksum.h>
#include <boost/crc.hpp> #include <boost/crc.hpp>
#include <folly/Benchmark.h> #include <folly/Benchmark.h>
#include <folly/Hash.h> #include <folly/Hash.h>
#include <folly/detail/ChecksumDetail.h> #include <folly/hash/detail/ChecksumDetail.h>
#include <folly/portability/GFlags.h> #include <folly/portability/GFlags.h>
#include <folly/portability/GTest.h> #include <folly/portability/GTest.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment