Project
Loading...
Searching...
No Matches
EncodedBlocks.h File Reference

Go to the source code of this file.

Classes

struct  o2::ctf::detail::is_iterator< class, Enable >
 
struct  o2::ctf::detail::is_iterator< T, std::enable_if_t< std::is_base_of_v< std::input_iterator_tag, typename std::iterator_traits< T >::iterator_category >||std::is_same_v< std::output_iterator_tag, typename std::iterator_traits< T >::iterator_category > > >
 
struct  o2::ctf::Registry
 

‍>======================== Auxiliary classes =======================>>

More...
 
struct  o2::ctf::Block< W >
 binary blob for single entropy-compressed column: metadata + (optional) dictionary and data buffer + their sizes More...
 
class  o2::ctf::EncodedBlocks< H, N, W >
 <<======================== Auxiliary classes =======================<< More...
 

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::ctf
 pair of input and output size
 
namespace  o2::ctf::detail
 

Typedefs

using o2::ctf::BufferType = uint8_t
 This is the type of the vector to be used for the EncodedBlocks buffer allocation.
 

Functions

constexpr bool o2::ctf::detail::mayEEncode (Metadata::OptStore opt) noexcept
 
constexpr bool o2::ctf::detail::mayPack (Metadata::OptStore opt) noexcept
 
size_t o2::ctf::alignSize (size_t sizeBytes)
 align size to given diven number of bytes
 
template<class T >
T * o2::ctf::relocatePointer (const char *oldBase, char *newBase, const T *ptr)
 relocate pointer by the difference of addresses
 
template<typename source_T , typename dest_T , std::enable_if_t<(sizeof(dest_T) >=sizeof(source_T)), bool > = true>
constexpr size_t o2::ctf::calculateNDestTElements (size_t nElems) noexcept
 
template<typename source_T , typename dest_T , std::enable_if_t<(sizeof(dest_T) >=sizeof(source_T)), bool > = true>
size_t o2::ctf::calculatePaddedSize (size_t nElems) noexcept
 

Variables

template<class T >
constexpr bool o2::ctf::detail::is_iterator_v = is_iterator<T>::value
 
constexpr size_t o2::ctf::PackingThreshold = 512
 
constexpr size_t o2::ctf::Alignment = 16
 
constexpr int o2::ctf::WrappersSplitLevel = 99
 
constexpr int o2::ctf::WrappersCompressionLevel = 1