Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VectorDB-NTU/RaBitQ-Library
/ bytes
Method
bytes
include/rabitqlib/utils/array.hpp:55–55 ·
view source on GitHub ↗
@brief num of bytes for all data objects
Source
from the content-addressed store, hash-verified
53
54
/// @brief num of bytes for all data objects
55
[[nodiscard]] constexpr auto bytes() const -> size_t { return sizeof(T) * size(); }
56
57
void destroy() {
58
size_t num_elements = size();
Callers
nothing calls this directly
Calls
1
size
Function · 0.70
Tested by
no test coverage detected