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

Function read

include/customizer/serialization.hpp:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15template <storage::Ownership Ownership>
16inline void read(storage::tar::FileReader &reader,
17 const std::string &name,
18 detail::CellMetricImpl<Ownership> &metric)
19{
20 storage::serialization::read(reader, name + "/weights", metric.weights);
21 storage::serialization::read(reader, name + "/durations", metric.durations);
22 storage::serialization::read(reader, name + "/distances", metric.distances);
23}
24
25template <storage::Ownership Ownership>
26inline void write(storage::tar::FileWriter &writer,

Callers 2

readCellMetricsFunction · 0.70
readGraphFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected