MCPcopy Create free account
hub / github.com/comaps/comaps / Read

Method Read

generator/osm_source.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40uint64_t SourceReader::Read(char * buffer, uint64_t bufferSize)
41{
42 m_file->read(buffer, static_cast<std::streamsize>(bufferSize));
43 auto const gcount = static_cast<uint64_t>(m_file->gcount());
44 m_pos += gcount;
45 return gcount;
46}
47
48// Functions ---------------------------------------------------------------------------------------
49void AddElementToCache(cache::IntermediateDataWriter & cache, OsmElement && element)

Callers 15

DeserializeMethod · 0.45
UNIT_TESTFunction · 0.45
operator()Method · 0.45
ReadRoadAccessFunction · 0.45
GetPointMethod · 0.45
IndexFileReaderMethod · 0.45
OSMElementCacheReaderMethod · 0.45
LoadWaterGeometryMethod · 0.45

Calls 1

readMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.36