Namespaces | Macros | Functions
abseil-cpp/absl/numeric/internal/bits.h File Reference
#include <cstdint>
#include <limits>
#include <type_traits>
#include "absl/base/attributes.h"
#include "absl/base/config.h"
Include dependency graph for abseil-cpp/absl/numeric/internal/bits.h:

Go to the source code of this file.

Namespaces

 absl
 
 absl::numeric_internal
 

Macros

#define ABSL_INTERNAL_CONSTEXPR_CLZ
 
#define ABSL_INTERNAL_CONSTEXPR_CTZ
 
#define ABSL_INTERNAL_CONSTEXPR_POPCOUNT
 
#define ABSL_INTERNAL_HAS_CONSTEXPR_CLZ   0
 
#define ABSL_INTERNAL_HAS_CONSTEXPR_CTZ   0
 
#define ABSL_INTERNAL_HAS_CONSTEXPR_POPCOUNT   0
 
#define ABSL_NUMERIC_INTERNAL_HAVE_BUILTIN_OR_GCC(x)   ABSL_HAVE_BUILTIN(x)
 

Functions

template<class T >
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CLZ std::enable_if< std::is_unsigned< T >::value, T >::type absl::numeric_internal::BitCeilNonPowerOf2 (T x)
 
template<class T >
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CLZ std::enable_if< std::is_unsigned< T >::value, T >::type absl::numeric_internal::BitCeilPromotionHelper (T x, T promotion)
 
template<typename T >
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CLZ int absl::numeric_internal::CountLeadingZeroes (T x)
 
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CLZ int absl::numeric_internal::CountLeadingZeroes16 (uint16_t x)
 
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CLZ int absl::numeric_internal::CountLeadingZeroes32 (uint32_t x)
 
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CLZ int absl::numeric_internal::CountLeadingZeroes64 (uint64_t x)
 
template<class T >
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CTZ int absl::numeric_internal::CountTrailingZeroes (T x) noexcept
 
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CTZ int absl::numeric_internal::CountTrailingZeroesNonzero16 (uint16_t x)
 
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CTZ int absl::numeric_internal::CountTrailingZeroesNonzero32 (uint32_t x)
 
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_CTZ int absl::numeric_internal::CountTrailingZeroesNonzero64 (uint64_t x)
 
constexpr bool absl::numeric_internal::IsPowerOf2 (unsigned int x) noexcept
 
template<class T >
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_POPCOUNT int absl::numeric_internal::Popcount (T x) noexcept
 
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_POPCOUNT int absl::numeric_internal::Popcount32 (uint32_t x) noexcept
 
ABSL_ATTRIBUTE_ALWAYS_INLINE ABSL_INTERNAL_CONSTEXPR_POPCOUNT int absl::numeric_internal::Popcount64 (uint64_t x) noexcept
 
template<class T >
ABSL_MUST_USE_RESULT constexpr ABSL_ATTRIBUTE_ALWAYS_INLINE T absl::numeric_internal::RotateLeft (T x, int s) noexcept
 
template<class T >
ABSL_MUST_USE_RESULT constexpr ABSL_ATTRIBUTE_ALWAYS_INLINE T absl::numeric_internal::RotateRight (T x, int s) noexcept
 

Macro Definition Documentation

◆ ABSL_INTERNAL_CONSTEXPR_CLZ

#define ABSL_INTERNAL_CONSTEXPR_CLZ

Definition at line 52 of file abseil-cpp/absl/numeric/internal/bits.h.

◆ ABSL_INTERNAL_CONSTEXPR_CTZ

#define ABSL_INTERNAL_CONSTEXPR_CTZ

Definition at line 61 of file abseil-cpp/absl/numeric/internal/bits.h.

◆ ABSL_INTERNAL_CONSTEXPR_POPCOUNT

#define ABSL_INTERNAL_CONSTEXPR_POPCOUNT

Definition at line 43 of file abseil-cpp/absl/numeric/internal/bits.h.

◆ ABSL_INTERNAL_HAS_CONSTEXPR_CLZ

#define ABSL_INTERNAL_HAS_CONSTEXPR_CLZ   0

Definition at line 53 of file abseil-cpp/absl/numeric/internal/bits.h.

◆ ABSL_INTERNAL_HAS_CONSTEXPR_CTZ

#define ABSL_INTERNAL_HAS_CONSTEXPR_CTZ   0

Definition at line 62 of file abseil-cpp/absl/numeric/internal/bits.h.

◆ ABSL_INTERNAL_HAS_CONSTEXPR_POPCOUNT

#define ABSL_INTERNAL_HAS_CONSTEXPR_POPCOUNT   0

Definition at line 44 of file abseil-cpp/absl/numeric/internal/bits.h.

◆ ABSL_NUMERIC_INTERNAL_HAVE_BUILTIN_OR_GCC

#define ABSL_NUMERIC_INTERNAL_HAVE_BUILTIN_OR_GCC (   x)    ABSL_HAVE_BUILTIN(x)

Definition at line 35 of file abseil-cpp/absl/numeric/internal/bits.h.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:04