MCPcopy Create free account
hub / github.com/HexHive/NASS / capacity

Method capacity

binderlib/include_android9/utils/SortedVector.h:70–70  ·  view source on GitHub ↗

returns how many items can be stored without reallocating the backing store

Source from the content-addressed store, hash-verified

68 inline bool isEmpty() const { return VectorImpl::isEmpty(); }
69 //! returns how many items can be stored without reallocating the backing store
70 inline size_t capacity() const { return VectorImpl::capacity(); }
71 //! sets the capacity. capacity can never be reduced less than size()
72 inline ssize_t setCapacity(size_t size) { return VectorImpl::setCapacity(size); }
73

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected