IOSS 2.0
Loading...
Searching...
No Matches
tsl::detail_robin_hash Namespace Reference

Classes

class  bucket_entry
 
class  bucket_entry_hash
 
class  bucket_entry_hash< true >
 
struct  has_is_transparent
 
struct  has_is_transparent< T, typename make_void< typename T::is_transparent >::type >
 
struct  is_power_of_two_policy
 
struct  is_power_of_two_policy< tsl::rh::power_of_two_growth_policy< GrowthFactor > >
 
struct  make_void
 
class  robin_hash
 

Typedefs

using slz_size_type = std::uint64_t
 
using truncated_hash_type = std::uint32_t
 

Functions

template<class T >
const T & clamp (const T &v, const T &lo, const T &hi)
 
template<typename T , typename U >
static T numeric_cast (U value, const char *error_message="numeric_cast() failed.")
 
template<class T , class Deserializer >
static T deserialize_value (Deserializer &deserializer)
 

Detailed Description

MIT License

Copyright (c) 2017, 2023 Thibaut Goetghebuer-Planchon tessi.nosp@m.l@gm.nosp@m.x.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Typedef Documentation

◆ slz_size_type

Fixed size type used to represent size_type values on serialization. Need to be big enough to represent a std::size_t on 32 and 64 bits platforms, and must be the same size on both platforms.

◆ truncated_hash_type

Function Documentation

◆ clamp()

template<class T >
const T & tsl::detail_robin_hash::clamp ( const T & v,
const T & lo,
const T & hi )

◆ deserialize_value()

template<class T , class Deserializer >
static T tsl::detail_robin_hash::deserialize_value ( Deserializer & deserializer)
static

◆ numeric_cast()

template<typename T , typename U >
static T tsl::detail_robin_hash::numeric_cast ( U value,
const char * error_message = "numeric_cast() failed." )
static