Everett
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
everett::profile_detail Namespace Reference

Classes

struct  borrowed_sections
 
struct  file_index_output
 
struct  file_index_output_ref
 
struct  index_file_sections
 
struct  index_metadata
 
struct  index_output
 
struct  native_file_output_ref
 
struct  native_output
 
struct  profile_file_output
 

Typedefs

template<class P , class Ops = posix_object_ops>
using native_file_output = profile_file_output< P, stream_role::native, Ops >
 

Functions

std::uint64_t add (std::uint64_t a, std::uint64_t b)
 
std::uint64_t multiply (std::uint64_t a, std::uint64_t b)
 
std::uint64_t byte_count (std::uint64_t bits) noexcept
 
std::uint64_t low_mask (unsigned width) noexcept
 
std::uint64_t load_bits (bit_view data, std::uint64_t first, unsigned width) noexcept
 
void store_bits (std::byte *target, std::uint64_t at, std::uint64_t value, unsigned width) noexcept
 
void copy_bits (std::byte *target, std::uint64_t first, bit_view source) noexcept
 
void resize (bit_string &value, std::uint64_t bits)
 
void copy_into (bit_string &target, std::uint64_t first, bit_view source)
 
void append (bit_string &target, bit_view source)
 
void append_bit (bit_string &target, bool bit)
 
void append_byte (bit_string &target, unsigned value)
 
void put_fixed (bit_string &target, std::uint64_t &at, std::uint64_t value, unsigned width)
 
std::uint64_t read_fixed (bit_view data, std::uint64_t &at, unsigned width)
 
std::uint64_t read_zero_run (bit_view data, std::uint64_t &at, std::uint64_t limit, char const *truncated, char const *overflow)
 
template<class P >
void write_count (bit_string &target, std::uint64_t value)
 
template<class P >
std::uint64_t read_count (bit_view data, std::uint64_t &offset)
 
template<class P >
constexpr std::uint64_t golomb_cutoff ()
 
template<class P >
std::uint64_t backspace_bits (std::uint64_t value)
 
template<class P >
void write_backspace (bit_string &target, std::uint64_t value)
 
template<class P >
std::uint64_t read_backspace (bit_view data, std::uint64_t &offset)
 
template<class P , stream_role Role>
profile_metadata initial_metadata ()
 

Typedef Documentation

◆ native_file_output

template<class P , class Ops = posix_object_ops>
using everett::profile_detail::native_file_output = typedef profile_file_output<P, stream_role::native, Ops>

Function Documentation

◆ add()

std::uint64_t everett::profile_detail::add ( std::uint64_t  a,
std::uint64_t  b 
)
inline

◆ append()

void everett::profile_detail::append ( bit_string &  target,
bit_view  source 
)
inline

◆ append_bit()

void everett::profile_detail::append_bit ( bit_string &  target,
bool  bit 
)
inline

◆ append_byte()

void everett::profile_detail::append_byte ( bit_string &  target,
unsigned  value 
)
inline

◆ backspace_bits()

template<class P >
std::uint64_t everett::profile_detail::backspace_bits ( std::uint64_t  value)

◆ byte_count()

std::uint64_t everett::profile_detail::byte_count ( std::uint64_t  bits)
inlinenoexcept

◆ copy_bits()

void everett::profile_detail::copy_bits ( std::byte *  target,
std::uint64_t  first,
bit_view  source 
)
inlineprivatenoexcept

◆ copy_into()

void everett::profile_detail::copy_into ( bit_string &  target,
std::uint64_t  first,
bit_view  source 
)
inline

◆ golomb_cutoff()

template<class P >
constexpr std::uint64_t everett::profile_detail::golomb_cutoff ( )
constexpr

◆ initial_metadata()

template<class P , stream_role Role>
profile_metadata everett::profile_detail::initial_metadata ( )

◆ load_bits()

std::uint64_t everett::profile_detail::load_bits ( bit_view  data,
std::uint64_t  first,
unsigned  width 
)
inlineprivatenoexcept

◆ low_mask()

std::uint64_t everett::profile_detail::low_mask ( unsigned  width)
inlineprivatenoexcept

◆ multiply()

std::uint64_t everett::profile_detail::multiply ( std::uint64_t  a,
std::uint64_t  b 
)
inline

◆ put_fixed()

void everett::profile_detail::put_fixed ( bit_string &  target,
std::uint64_t &  at,
std::uint64_t  value,
unsigned  width 
)
inline

◆ read_backspace()

template<class P >
std::uint64_t everett::profile_detail::read_backspace ( bit_view  data,
std::uint64_t &  offset 
)

◆ read_count()

template<class P >
std::uint64_t everett::profile_detail::read_count ( bit_view  data,
std::uint64_t &  offset 
)

◆ read_fixed()

std::uint64_t everett::profile_detail::read_fixed ( bit_view  data,
std::uint64_t &  at,
unsigned  width 
)
inline

◆ read_zero_run()

std::uint64_t everett::profile_detail::read_zero_run ( bit_view  data,
std::uint64_t &  at,
std::uint64_t  limit,
char const *  truncated,
char const *  overflow 
)
inline

◆ resize()

void everett::profile_detail::resize ( bit_string &  value,
std::uint64_t  bits 
)
inline

◆ store_bits()

void everett::profile_detail::store_bits ( std::byte *  target,
std::uint64_t  at,
std::uint64_t  value,
unsigned  width 
)
inlineprivatenoexcept

◆ write_backspace()

template<class P >
void everett::profile_detail::write_backspace ( bit_string &  target,
std::uint64_t  value 
)

◆ write_count()

template<class P >
void everett::profile_detail::write_count ( bit_string &  target,
std::uint64_t  value 
)