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

Method capacity

binderlib/include_android9/utils/KeyedVector.h:59–59  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

57 inline bool isEmpty() const { return mVector.isEmpty(); }
58 //! returns how many items can be stored without reallocating the backing store
59 inline size_t capacity() const { return mVector.capacity(); }
60 //! sets the capacity. capacity can never be reduced less than size()
61 inline ssize_t setCapacity(size_t size) { return mVector.setCapacity(size); }
62

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected