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

Method setCapacity

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

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

Source from the content-addressed store, hash-verified

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
63 // returns true if the arguments is known to be identical to this vector
64 inline bool isIdenticalTo(const KeyedVector& rhs) const;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected