simdjson 5.0.2
Ridiculously Fast JSON
Loading...
Searching...
No Matches
simdjson_fast_float::stackvec< size > Struct Template Reference

Public Member Functions

 stackvec (stackvec const &)=delete
 
stackvec & operator= (stackvec const &)=delete
 
 stackvec (stackvec &&)=delete
 
stackvec & operator= (stackvec &&other)=delete
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 stackvec (limb_span s)
 
SIMDJSON_FASTFLOAT_CONSTEXPR14 limb & operator[] (size_t index) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR14 const limb & operator[] (size_t index) const noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR14 const limb & rindex (size_t index) const noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR14 void set_len (size_t len) noexcept
 
constexpr size_t len () const noexcept
 
constexpr bool is_empty () const noexcept
 
constexpr size_t capacity () const noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR14 void push_unchecked (limb value) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR14 bool try_push (limb value) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 void extend_unchecked (limb_span s) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool try_extend (limb_span s) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 void resize_unchecked (size_t new_len, limb value) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool try_resize (size_t new_len, limb value) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR14 bool nonzero (size_t index) const noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR14 void normalize () noexcept
 

Public Attributes

limb data [size]
 
uint16_t length {0}
 

Detailed Description

template<uint16_t size>
struct simdjson_fast_float::stackvec< size >

Definition at line 3524 of file fast_float.h.

Constructor & Destructor Documentation

◆ stackvec()

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR20 simdjson_fast_float::stackvec< size >::stackvec ( limb_span  s)
inline

Definition at line 3536 of file fast_float.h.

Member Function Documentation

◆ capacity()

template<uint16_t size>
constexpr size_t simdjson_fast_float::stackvec< size >::capacity ( ) const
inlineconstexprnoexcept

Definition at line 3566 of file fast_float.h.

◆ extend_unchecked()

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR20 void simdjson_fast_float::stackvec< size >::extend_unchecked ( limb_span  s)
inlinenoexcept

Definition at line 3585 of file fast_float.h.

◆ is_empty()

template<uint16_t size>
constexpr bool simdjson_fast_float::stackvec< size >::is_empty ( ) const
inlineconstexprnoexcept

Definition at line 3564 of file fast_float.h.

◆ len()

template<uint16_t size>
constexpr size_t simdjson_fast_float::stackvec< size >::len ( ) const
inlineconstexprnoexcept

Definition at line 3562 of file fast_float.h.

◆ nonzero()

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR14 bool simdjson_fast_float::stackvec< size >::nonzero ( size_t  index) const
inlinenoexcept

Definition at line 3630 of file fast_float.h.

◆ normalize()

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR14 void simdjson_fast_float::stackvec< size >::normalize ( )
inlinenoexcept

Definition at line 3641 of file fast_float.h.

◆ operator[]() [1/2]

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR14 const limb & simdjson_fast_float::stackvec< size >::operator[] ( size_t  index) const
inlinenoexcept

Definition at line 3545 of file fast_float.h.

◆ operator[]() [2/2]

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR14 limb & simdjson_fast_float::stackvec< size >::operator[] ( size_t  index)
inlinenoexcept

Definition at line 3540 of file fast_float.h.

◆ push_unchecked()

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR14 void simdjson_fast_float::stackvec< size >::push_unchecked ( limb  value)
inlinenoexcept

Definition at line 3569 of file fast_float.h.

◆ resize_unchecked()

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR20 void simdjson_fast_float::stackvec< size >::resize_unchecked ( size_t  new_len,
limb  value 
)
inlinenoexcept

Definition at line 3605 of file fast_float.h.

◆ rindex()

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR14 const limb & simdjson_fast_float::stackvec< size >::rindex ( size_t  index) const
inlinenoexcept

Definition at line 3551 of file fast_float.h.

◆ set_len()

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR14 void simdjson_fast_float::stackvec< size >::set_len ( size_t  len)
inlinenoexcept

Definition at line 3558 of file fast_float.h.

◆ try_extend()

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool simdjson_fast_float::stackvec< size >::try_extend ( limb_span  s)
inlinenoexcept

Definition at line 3592 of file fast_float.h.

◆ try_push()

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR14 bool simdjson_fast_float::stackvec< size >::try_push ( limb  value)
inlinenoexcept

Definition at line 3575 of file fast_float.h.

◆ try_resize()

template<uint16_t size>
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool simdjson_fast_float::stackvec< size >::try_resize ( size_t  new_len,
limb  value 
)
inlinenoexcept

Definition at line 3618 of file fast_float.h.

Member Data Documentation

◆ data

template<uint16_t size>
limb simdjson_fast_float::stackvec< size >::data[size]

Definition at line 3525 of file fast_float.h.

◆ length

template<uint16_t size>
uint16_t simdjson_fast_float::stackvec< size >::length {0}

Definition at line 3527 of file fast_float.h.


The documentation for this struct was generated from the following file: