Loading...
Searching...
No Matches
test_4087-bitmasked-growablebuffer.cpp File Reference
#include <cassert>
#include <cstdint>
#include <map>
#include <string>
#include <vector>
#include "awkward/GrowableBuffer.h"
#include "awkward/LayoutBuilder.h"

Typedefs

template<bool VALID_WHEN, bool LSB_ORDER, typename BUILDER>
using BitMaskedBuilder
 
template<typename PRIMITIVE, typename BUILDER>
using IndexedBuilder = awkward::LayoutBuilder::Indexed<PRIMITIVE, BUILDER>
 
template<typename PRIMITIVE, typename BUILDER>
using IndexedOptionBuilder
 
template<typename PRIMITIVE>
using NumpyLeaf = awkward::LayoutBuilder::Numpy<PRIMITIVE>
 

Functions

void allocate (const std::map< std::string, size_t > &names_nbytes, std::map< std::string, std::vector< uint8_t > > &storage, std::map< std::string, void * > &buffers)
 
template<bool VALID_WHEN>
void test_bitmasked_roundtrip ()
 
void test_bitmasked_multipanel ()
 
void test_growablebuffer_concatenate_from ()
 
void test_indexed_zero_extend ()
 
void test_indexedoption_zero_extend ()
 
int main (int, char **)
 

Typedef Documentation

◆ BitMaskedBuilder

template<bool VALID_WHEN, bool LSB_ORDER, typename BUILDER>
using BitMaskedBuilder
Initial value:
Builds a BitMaskedArray in which mask values are packed into a bitmap.
Definition LayoutBuilder.h:1972

◆ IndexedBuilder

template<typename PRIMITIVE, typename BUILDER>
using IndexedBuilder = awkward::LayoutBuilder::Indexed<PRIMITIVE, BUILDER>

◆ IndexedOptionBuilder

template<typename PRIMITIVE, typename BUILDER>
using IndexedOptionBuilder
Initial value:
Builds an IndexedOptionArray which consists of an index buffer. The negative values in the index are ...
Definition LayoutBuilder.h:1389

◆ NumpyLeaf

template<typename PRIMITIVE>
using NumpyLeaf = awkward::LayoutBuilder::Numpy<PRIMITIVE>

Function Documentation

◆ allocate()

void allocate ( const std::map< std::string, size_t > & names_nbytes,
std::map< std::string, std::vector< uint8_t > > & storage,
std::map< std::string, void * > & buffers )

◆ main()

int main ( int ,
char **  )

◆ test_bitmasked_multipanel()

void test_bitmasked_multipanel ( )

◆ test_bitmasked_roundtrip()

template<bool VALID_WHEN>
void test_bitmasked_roundtrip ( )

◆ test_growablebuffer_concatenate_from()

void test_growablebuffer_concatenate_from ( )

◆ test_indexed_zero_extend()

void test_indexed_zero_extend ( )

◆ test_indexedoption_zero_extend()

void test_indexedoption_zero_extend ( )