MCPcopy Create free account
hub / github.com/VectorDB-NTU/RaBitQ-Library / size

Method size

include/rabitqlib/utils/array.hpp:52–52  ·  view source on GitHub ↗

@brief num of data objects

Source from the content-addressed store, hash-verified

50
51 /// @brief num of data objects
52 [[nodiscard]] constexpr auto size() const -> size_t { return array_impl::size(dims_); }
53
54 /// @brief num of bytes for all data objects
55 [[nodiscard]] constexpr auto bytes() const -> size_t { return sizeof(T) * size(); }

Callers 11

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
buildMethod · 0.45
searchMethod · 0.45
TEST_FFunction · 0.45
get_columnFunction · 0.45
get_free_vislistMethod · 0.45
~VisitedListPoolMethod · 0.45
horizontal_avgFunction · 0.45

Calls 1

sizeFunction · 0.70

Tested by 1

TEST_FFunction · 0.36