Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/zvec
/ count
Method
count
src/ailego/container/vector_array.h:521–523 ·
view source on GitHub ↗
Retrieve count of vectors
Source
from the content-addressed store, hash-verified
519
520
//! Retrieve count of vectors
521
size_t count() const {
522
return (dimension_ > 0 ? buffer_.size() / (dimension_ >> 3) : 0u);
523
}
524
525
//! Retrieve dimension of vector
526
size_t dimension() const {
Callers
1
at
Method · 0.95
Calls
1
size
Method · 0.45
Tested by
no test coverage detected