Home | History | Annotate | Download | only in hash_fn

Lines Matching refs:size_type

49     template<typename Size_Type>
53 typedef Size_Type size_type;
60 notify_resized(size_type size);
62 inline size_type
63 range_hash(size_type hash) const
64 { return size_type(hash & m_mask); }
67 size_type m_mask;
68 const static size_type s_num_bits_in_size_type;
69 const static size_type s_highest_bit_1;
72 template<typename Size_Type>
73 const typename mask_based_range_hashing<Size_Type>::size_type
74 mask_based_range_hashing<Size_Type>::s_num_bits_in_size_type =
75 sizeof(typename mask_based_range_hashing<Size_Type>::size_type) << 3;
77 template<typename Size_Type>
78 const typename mask_based_range_hashing<Size_Type>::size_type mask_based_range_hashing<Size_Type>::s_highest_bit_1 = static_cast<typename mask_based_range_hashing<Size_Type>::size_type>(1) << (s_num_bits_in_size_type - 1);
81 template<typename Size_Type>
83 mask_based_range_hashing<Size_Type>::
84 notify_resized(size_type size)
86 size_type i = 0;