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

Method setCapacity

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

sets the capacity. capacity can never be reduced less than size()

Source from the content-addressed store, hash-verified

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
74 /*!
75 * C-style array access

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected