MobilityDB 1.1
Macros | Functions | Variables
pg_bitutils.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define pg_nextpower2_size_t(num)   pg_nextpower2_64(num)
 
#define pg_prevpower2_size_t(num)   pg_prevpower2_64(num)
 

Functions

static uint32 pg_ceil_log2_32 (uint32 num)
 
static uint64 pg_ceil_log2_64 (uint64 num)
 
static int pg_leftmost_one_pos32 (uint32 word)
 
static int pg_leftmost_one_pos64 (uint64 word)
 
static uint32 pg_nextpower2_32 (uint32 num)
 
static uint64 pg_nextpower2_64 (uint64 num)
 
uint64 pg_popcount (const char *buf, int bytes)
 
static uint32 pg_prevpower2_32 (uint32 num)
 
static uint64 pg_prevpower2_64 (uint64 num)
 
static int pg_rightmost_one_pos32 (uint32 word)
 
static int pg_rightmost_one_pos64 (uint64 word)
 
static uint32 pg_rotate_right32 (uint32 word, int n)
 

Variables

PGDLLIMPORT const uint8 pg_leftmost_one_pos [256]
 
PGDLLIMPORT const uint8 pg_number_of_ones [256]
 
int(* pg_popcount32 )(uint32 word)
 
int(* pg_popcount64 )(uint64 word)
 
PGDLLIMPORT const uint8 pg_rightmost_one_pos [256]