MCPcopy Create free account
hub / github.com/ablab/spades / resize

Method resize

ext/include/cppformat/format.h:266–270  ·  view source on GitHub ↗

Resizes the buffer. If T is a POD type new elements are not initialized.

Source from the content-addressed store, hash-verified

264
265 // Resizes the buffer. If T is a POD type new elements are not initialized.
266 void resize(std::size_t new_size) {
267 if (new_size > capacity_)
268 grow(new_size);
269 size_ = new_size;
270 }
271
272 // Reserves space to store at least capacity elements.
273 void reserve(std::size_t capacity) {

Callers 15

fixUTF8Function · 0.45
RegexErrorToStringFunction · 0.45
matchMethod · 0.45
buildFixItLineFunction · 0.45
raw_ostream.cppFile · 0.45
UTF8ToUTF16Method · 0.45
convertMethod · 0.45
FMT_NOEXCEPTFunction · 0.45
ReallocMethod · 0.45
ReallocMethod · 0.45
GenerateConsensusMethod · 0.45
SubgraphMethod · 0.45

Calls

no outgoing calls

Tested by 1

WaitMethod · 0.36