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

Function GetItemCount

libs/map/gps_track_storage.cpp:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83inline size_t GetItemCount(size_t fileSize)
84{
85 ASSERT_GREATER_OR_EQUAL(fileSize, kHeaderSize, ());
86 return (fileSize - kHeaderSize) / kPointSize;
87}
88
89inline bool WriteVersion(fstream & f, uint32_t version)
90{

Callers 1

GpsTrackStorageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected