Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Namespaces | Macros | Functions
bit-util.h File Reference
#include <endian.h>
#include <cstdint>
#include <limits>
#include <memory>
#include <vector>
#include "arrow/util/macros.h"
#include "arrow/util/type_traits.h"
#include "arrow/util/visibility.h"

Go to the source code of this file.

Namespaces

 arrow
 Top-level namespace for Apache Arrow C++ API.
 

Macros

#define ARROW_LITTLE_ENDIAN   1
 
#define ARROW_BYTE_SWAP64   __builtin_bswap64
 
#define ARROW_BYTE_SWAP32   __builtin_bswap32
 

Functions

Status arrow::GetEmptyBitmap (MemoryPool *pool, int64_t length, std::shared_ptr< Buffer > *result)
 
Status arrow::CopyBitmap (MemoryPool *pool, const uint8_t *bitmap, int64_t offset, int64_t length, std::shared_ptr< Buffer > *out)
 Copy a bit range of an existing bitmap. More...
 
int64_t arrow::CountSetBits (const uint8_t *data, int64_t bit_offset, int64_t length)
 Compute the number of 1's in the given data array. More...
 
bool arrow::BitmapEquals (const uint8_t *left, int64_t left_offset, const uint8_t *right, int64_t right_offset, int64_t bit_length)
 

Macro Definition Documentation

◆ ARROW_BYTE_SWAP32

#define ARROW_BYTE_SWAP32   __builtin_bswap32

◆ ARROW_BYTE_SWAP64

#define ARROW_BYTE_SWAP64   __builtin_bswap64

◆ ARROW_LITTLE_ENDIAN

#define ARROW_LITTLE_ENDIAN   1