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

Function read

include/storage/serialization.hpp:112–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111template <typename T>
112inline void
113read(storage::tar::FileReader &reader, const std::string &name, util::DeallocatingVector<T> &vec)
114{
115 vec.resize(reader.ReadElementCount64(name));
116 reader.ReadStreaming<T>(name, vec.begin(), vec.size());
117}
118
119template <typename T>
120inline void write(storage::tar::FileWriter &writer,

Callers

nothing calls this directly

Calls 7

insertMethod · 0.80
resizeMethod · 0.45
ReadElementCount64Method · 0.45
beginMethod · 0.45
sizeMethod · 0.45
ReadIntoMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected