Skip to content

File unittests_bit.c

FileList > cubrid > src > executables > unittests_bit.c

Go to the source code of this file

  • #include "bit.h"
  • #include "system.h"
  • #include <assert.h>
  • #include <cstring>
  • #include <stdlib.h>

Public Functions

Type Name
int main (int ignore_argc, char ** ignore_argv)

Public Static Functions

Type Name
void bitset_string (const unsigned char * mem, int nbits, char * bitset)
int count_bits (const unsigned char * mem, int nbits)
int ctz16 (UINT16 x)
int ctz32 (UINT32 x)
int ctz64 (UINT64 x)
int ctz8 (UINT8 x)

Public Functions Documentation

function main

int main (
    int ignore_argc,
    char ** ignore_argv
) 

Public Static Functions Documentation

function bitset_string

static void bitset_string (
    const  unsigned  char * mem,
    int nbits,
    char * bitset
) 

function count_bits

static int count_bits (
    const  unsigned  char * mem,
    int nbits
) 

function ctz16

static int ctz16 (
    UINT16 x
) 

function ctz32

static int ctz32 (
    UINT32 x
) 

function ctz64

static int ctz64 (
    UINT64 x
) 

function ctz8

static int ctz8 (
    UINT8 x
) 


The documentation for this class was generated from the following file cubrid/src/executables/unittests_bit.c