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

Method setCapacity

binderlib/include_android9/utils/Vector.h:95–95  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

93 inline size_t capacity() const { return VectorImpl::capacity(); }
94 //! sets the capacity. capacity can never be reduced less than size()
95 inline ssize_t setCapacity(size_t size) { return VectorImpl::setCapacity(size); }
96
97 /*!
98 * set the size of the vector. items are appended with the default

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected