![]() |
mutable
A Database System for Research and Fast Prototyping
|
#include "backend/WasmUtil.hpp"#include <mutable/parse/AST.hpp>#include <optional>#include "backend/WasmMacro.hpp"Go to the source code of this file.
Namespaces | |
| namespace | m |
| |
| namespace | m::wasm |
Macros | |
| #define | ADD_TYPE(TYPE) , the_reference<TYPE, IsConst> |
Typedefs | |
| using | m::wasm::LocalChainedHashTable = ChainedHashTable< false > |
| using | m::wasm::GlobalChainedHashTable = ChainedHashTable< true > |
| using | m::wasm::LocalOpenAddressingOutOfPlaceHashTable = OpenAddressingHashTable< false, false > |
| using | m::wasm::GlobalOpenAddressingOutOfPlaceHashTable = OpenAddressingHashTable< true, false > |
| using | m::wasm::LocalOpenAddressingInPlaceHashTable = OpenAddressingHashTable< false, true > |
| using | m::wasm::GlobalOpenAddressingInPlaceHashTable = OpenAddressingHashTable< true, true > |
Functions | |
| template<bool CmpPredicated, bool IsGlobal> | |
| void | m::wasm::quicksort (Buffer< IsGlobal > &buffer, const std::vector< SortingOperator::order_type > &order) |
Sorts the buffer buffer using the quicksort algorithm and a branchless binary partition algorithm. | |
| U64x1 | m::wasm::murmur3_bit_mix (U64x1 bits) |
Mixes the bits of bits using the Murmur3 algorithm. | |
| U64x1 | m::wasm::fnv_1a (Ptr< U8x1 > bytes, U32x1 num_bytes) |
Hashes num_bytes bytes of bytes using the FNV-1a algorithm. | |
| U64x1 | m::wasm::str_hash (NChar str) |
Hashes the string str. | |
| U64x1 | m::wasm::murmur3_64a_hash (std::vector< std::pair< const Type *, SQL_t > > values) |
Hashes the elements of values where the first element is the type of the value to hash and the second element is the value itself using the Murmur3-64a algorithm. | |
| template void | m::wasm::quicksort< false > (GlobalBuffer &, const std::vector< SortingOperator::order_type > &) |
| template void | m::wasm::quicksort< true > (GlobalBuffer &, const std::vector< SortingOperator::order_type > &) |
| #define ADD_TYPE | ( | TYPE | ) | , the_reference<TYPE, IsConst> |