Lines Matching refs:nodiscard
196 [[nodiscard]] inline auto mix(uint64_t a, uint64_t b) -> uint64_t {
202 [[nodiscard]] inline auto r8(const uint8_t* p) -> uint64_t {
208 [[nodiscard]] inline auto r4(const uint8_t* p) -> uint64_t {
215 [[nodiscard]] inline auto r3(const uint8_t* p, size_t k) -> uint64_t {
219 [[maybe_unused]] [[nodiscard]] inline auto hash(void const* key, size_t len) -> uint64_t {
266 [[nodiscard]] inline auto hash(uint64_t x) -> uint64_t {
337 [[nodiscard]] constexpr static auto to64(Arg const& arg) -> uint64_t {
345 [[nodiscard]] static auto mix64(uint64_t state, uint64_t v) -> uint64_t {
353 [[nodiscard]] static auto calc_hash(T const& t, std::index_sequence<Idx...>) noexcept -> uint64_t {
639 [[nodiscard]] static constexpr auto calc_num_blocks_for_capacity(size_t capacity) {
695 [[nodiscard]] constexpr auto size() const -> size_t {
699 [[nodiscard]] constexpr auto capacity() const -> size_t {
704 [[nodiscard]] constexpr auto operator[](size_t i) const noexcept -> T const& {
708 [[nodiscard]] constexpr auto operator[](size_t i) noexcept -> T& {
712 [[nodiscard]] constexpr auto begin() -> iterator {
715 [[nodiscard]] constexpr auto begin() const -> const_iterator {
718 [[nodiscard]] constexpr auto cbegin() const -> const_iterator {
722 [[nodiscard]] constexpr auto end() -> iterator {
725 [[nodiscard]] constexpr auto end() const -> const_iterator {
728 [[nodiscard]] constexpr auto cend() const -> const_iterator {
732 [[nodiscard]] constexpr auto back() -> reference {
735 [[nodiscard]] constexpr auto back() const -> const_reference {
744 [[nodiscard]] auto empty() const {
755 [[nodiscard]] auto get_allocator() const -> allocator_type {
851 [[nodiscard]] auto next(value_idx_type bucket_idx) const -> value_idx_type {
858 [[nodiscard]] static constexpr auto at(bucket_pointer bucket_ptr, size_t offset) -> Bucket& {
863 [[nodiscard]] static constexpr auto dist_inc(dist_and_fingerprint_type x) -> dist_and_fingerprint_type {
867 [[nodiscard]] static constexpr auto dist_dec(dist_and_fingerprint_type x) -> dist_and_fingerprint_type {
873 [[nodiscard]] constexpr auto mixed_hash(K const& key) const -> uint64_t {
889 [[nodiscard]] constexpr auto dist_and_fingerprint_from_hash(uint64_t hash) const -> dist_and_fingerprint_type {
893 [[nodiscard]] constexpr auto bucket_idx_from_hash(uint64_t hash) const -> value_idx_type {
897 [[nodiscard]] static constexpr auto get_key(value_type const& vt) -> key_type const& {
906 [[nodiscard]] auto next_while_less(K const& key) const -> Bucket {
927 [[nodiscard]] static constexpr auto calc_num_buckets(uint8_t shifts) -> size_t {
931 [[nodiscard]] constexpr auto calc_shifts_for_size(size_t s) const -> uint8_t {
956 [[nodiscard]] auto is_full() const -> bool {
1350 [[nodiscard]] auto empty() const noexcept -> bool {
1354 [[nodiscard]] auto size() const noexcept -> size_t {
1358 [[nodiscard]] static constexpr auto max_size() noexcept -> size_t {
1823 auto bucket_count() const noexcept -> size_t { // NOLINT(modernize-use-nodiscard)
1827 static constexpr auto max_bucket_count() noexcept -> size_t { // NOLINT(modernize-use-nodiscard)
1833 [[nodiscard]] auto load_factor() const -> float {
1837 [[nodiscard]] auto max_load_factor() const -> float {
1886 [[nodiscard]] auto values() const noexcept -> value_container_type const& {