proxygen
|
#include <cassert>
#include <cinttypes>
#include <cstdint>
#include <cstring>
#include <limits>
#include <type_traits>
#include <folly/ConstexprMath.h>
#include <folly/Portability.h>
#include <folly/Utility.h>
#include <folly/lang/Assume.h>
#include <folly/portability/Builtins.h>
Go to the source code of this file.
Namespaces | |
folly | |
—— Concurrent Priority Queue Implementation —— | |
folly::detail | |
Macros | |
#define | FB_GEN(sz, fn) |
#define | FB_GEN1(fn, t, sz) |
#define | FB_GEN2(t, sz) |
#define | FB_GEN(sz) |
Functions | |
template<typename Dst , typename Src > | |
constexpr std::make_signed_t< Dst > | folly::detail::bits_to_signed (Src const s) |
template<typename Dst , typename Src > | |
constexpr std::make_unsigned_t< Dst > | folly::detail::bits_to_unsigned (Src const s) |
template<typename T > | |
constexpr unsigned int | folly::findFirstSet (T const v) |
template<typename T > | |
constexpr unsigned int | folly::findLastSet (T const v) |
template<typename T > | |
constexpr unsigned int | folly::popcount (T const v) |
template<class T > | |
constexpr T | folly::nextPowTwo (T const v) |
template<class T > | |
constexpr T | folly::prevPowTwo (T const v) |
template<class T > | |
constexpr bool | folly::isPowTwo (T const v) |
static uint8_t | folly::detail::byteswap_gen (uint8_t v) |
static uint64_t | folly::detail::byteswap_gen (uint64_t v) |
static uint32_t | folly::detail::byteswap_gen (uint32_t v) |
static uint16_t | folly::detail::byteswap_gen (uint16_t v) |
template<class T > | |
FOLLY_PACK_POP T | folly::loadUnaligned (const void *p) |
template<class T > | |
T | folly::partialLoadUnaligned (const void *p, size_t l) |
template<class T > | |
void | folly::storeUnaligned (void *p, T value) |
template<typename T > | |
T | folly::bitReverse (T n) |
Variables | |
FOLLY_PACK_PUSH struct folly::Unaligned< T, typename std::enable_if< std::is_pod< T >::value >::type > | folly::FOLLY_PACK_ATTR |
#define FB_GEN | ( | sz, | |
fn | |||
) |
#define FB_GEN | ( | sz | ) |
#define FB_GEN1 | ( | fn, | |
t, | |||
sz | |||
) |
#define FB_GEN2 | ( | t, | |
sz | |||
) |