Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ data_size
Method
data_size
tests/test_vector_unique_ptr_member.cpp:19–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
}
18
19
std::size_t data_size() const { return data_.size(); }
20
21
private:
22
explicit VectorOwner(std::vector<std::unique_ptr<DataType>> data) : data_(std::move(data)) {}
Callers
1
test_create
Function · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected