#include <limits>
#include <type_traits>
-#include <folly/Assume.h>
#include <folly/Bits.h>
#include <folly/Likely.h>
#include <folly/Portability.h>
#include <folly/experimental/CodingDetail.h>
#include <folly/experimental/Instructions.h>
#include <folly/experimental/Select64.h>
+#include <folly/lang/Assume.h>
#include <glog/logging.h>
#if !FOLLY_X64
if (kUnchecked || LIKELY(position() + n < size_)) {
if (LIKELY(n < kLinearScanThreshold)) {
- for (SizeType i = 0; i < n; ++i)
+ for (SizeType i = 0; i < n; ++i) {
upper_.next();
+ }
} else {
upper_.skip(n);
}
while (true) {
value_ = readLowerPart(upper_.position()) |
(upper_.value() << numLowerBits_);
- if (LIKELY(value_ >= value)) break;
+ if (LIKELY(value_ >= value)) {
+ break;
+ }
upper_.next();
}
}
uint8_t numLowerBits_;
};
-}} // namespaces
+} // namespace compression
+} // namespace folly