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

Function GetItemOffset

libs/map/gps_track_storage.cpp:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78inline size_t GetItemOffset(size_t itemIndex)
79{
80 return kHeaderSize + itemIndex * kPointSize;
81}
82
83inline size_t GetItemCount(size_t fileSize)
84{

Callers 4

GpsTrackStorageMethod · 0.85
AppendMethod · 0.85
ClearMethod · 0.85
ForEachMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected