![]() |
mutable
A Database System for Research and Fast Prototyping
|
#include <WasmAlgo.hpp>
Public Member Functions | |
the_reference (NChar addr) | |
the_reference (NChar addr, Ptr< void > null_bitmap, uint8_t null_bit_offset) | |
void | discard () |
| |
the_reference | clone () const |
| |
void | operator= (NChar addr) |
| |
void | set_value (NChar addr) |
| |
void | set_null_bit (Boolx1 is_null) |
| |
void | set_null () |
| |
void | set_not_null () |
| |
Boolx1 | operator== (NChar _addr) |
| |
operator NChar () | |
| |
Private Member Functions | |
the_reference (NChar addr, std::optional< Ptr< U8x1 > > is_null_byte, std::optional< U8x1 > is_null_mask) | |
the_reference (NChar addr, Ptr< U8x1 > is_null_byte, U8x1 is_null_mask) | |
Private Attributes | |
NChar | addr_ |
std::optional< Ptr< U8x1 > > | is_null_byte_ |
std::optional< U8x1 > | is_null_mask_ |
Friends | |
struct | the_entry< false > |
struct | the_entry< true > |
the_reference | Select (Boolx1 cond, the_reference tru, the_reference fals) |
| |
Definition at line 201 of file WasmAlgo.hpp.
|
inlineexplicitprivate |
Definition at line 211 of file WasmAlgo.hpp.
References m::wasm::NChar::can_be_null(), m::wasm::HashTable::is_null_byte_, m::wasm::HashTable::is_null_mask_, and M_insist.
|
inlineexplicitprivate |
Definition at line 220 of file WasmAlgo.hpp.
References m::wasm::NChar::can_be_null(), and M_insist.
|
inlineexplicit |
Definition at line 229 of file WasmAlgo.hpp.
References m::wasm::NChar::can_be_null(), and M_insist.
|
inlineexplicit |
Definition at line 234 of file WasmAlgo.hpp.
References m::wasm::NChar::can_be_null(), and M_insist.
|
inline |
Returns a deep copy of
this
.
Definition at line 251 of file WasmAlgo.hpp.
References m::wasm::NChar::can_be_null(), m::wasm::NChar::clone(), m::wasm::HashTable::is_null_byte_, and m::wasm::HashTable::is_null_mask_.
|
inline |
Discards
this
.
Definition at line 243 of file WasmAlgo.hpp.
References m::wasm::NChar::can_be_null(), m::wasm::HashTable::is_null_byte_, and m::wasm::HashTable::is_null_mask_.
|
inline |
Loads the value of
this
.
Definition at line 327 of file WasmAlgo.hpp.
References m::wasm::NChar::can_be_null(), m::wasm::NChar::guarantees_terminating_nul(), m::wasm::is_null(), m::wasm::HashTable::is_null_byte_, m::wasm::HashTable::is_null_mask_, m::wasm::NChar::length(), m::wasm::HashTable::Select, and m::wasm::NChar::val().
|
inline |
Assigns
this
to the string stored ataddr
.
Definition at line 259 of file WasmAlgo.hpp.
References m::wasm::and, m::wasm::NChar::can_be_null(), m::wasm::NChar::clone(), m::wasm::NChar::guarantees_terminating_nul(), IF, m::wasm::HashTable::is_null_byte_, m::wasm::HashTable::is_null_mask_, m::wasm::NChar::length(), M_insist, m::setbit(), m::wasm::strncpy(), and Wasm_insist.
|
inline |
Compares
this
with the string stored at_addr
.
Definition at line 307 of file WasmAlgo.hpp.
References m::wasm::and, m::wasm::NChar::can_be_null(), m::wasm::EQ, m::wasm::NChar::guarantees_terminating_nul(), m::wasm::HashTable::is_null_byte_, m::wasm::HashTable::is_null_mask_, m::wasm::NChar::length(), M_insist, and m::wasm::strncmp().
|
inline |
Sets
this
to NOT NULL. Does not modify the value ofthis
.
Definition at line 299 of file WasmAlgo.hpp.
References m::wasm::HashTable::is_null_byte_, m::wasm::HashTable::is_null_mask_, and M_insist.
|
inline |
Sets
this
to NULL. Does not modify the value ofthis
.
Definition at line 292 of file WasmAlgo.hpp.
References m::wasm::HashTable::is_null_byte_, m::wasm::HashTable::is_null_mask_, and M_insist.
|
inline |
Assigns the NULL bit of
this
tois_null
. Does not update/modify the value ofthis
.
Definition at line 285 of file WasmAlgo.hpp.
References m::wasm::is_null(), m::wasm::HashTable::is_null_byte_, m::wasm::HashTable::is_null_mask_, M_insist, and m::setbit().
|
inline |
Assigns the value of
this
to the string stored ataddr
w/o updating the NULL bit.
Definition at line 274 of file WasmAlgo.hpp.
References m::wasm::and, m::wasm::NChar::can_be_null(), m::wasm::NChar::guarantees_terminating_nul(), m::wasm::HashTable::is_null_byte_, m::wasm::HashTable::is_null_mask_, m::wasm::NChar::length(), M_insist, and m::wasm::strncpy().
|
friend |
Selects either the reference
tru
orfals
depending on the value ofcond
.
Definition at line 338 of file WasmAlgo.hpp.
Definition at line 598 of file WasmAlgo.hpp.
Definition at line 598 of file WasmAlgo.hpp.
|
private |
Definition at line 207 of file WasmAlgo.hpp.
|
private |
Definition at line 208 of file WasmAlgo.hpp.
|
private |
Definition at line 209 of file WasmAlgo.hpp.