MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / allocate_blocks

Method allocate_blocks

include/util/packed_vector.hpp:524–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522
523 private:
524 void allocate_blocks(std::size_t num_blocks)
525 {
526 vec.resize(vec.size() + num_blocks * BLOCK_WORDS);
527 }
528
529 inline InternalIndex get_internal_index(const std::size_t index) const
530 {

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected