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

Function FileSize

libs/drape_frontend/arrow3d.cpp:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105unsigned long FileSize(void * file, void * userData)
106{
107 auto reader = static_cast<ReaderSource<ReaderPtr<Reader>> *>(userData);
108 CHECK(reader != nullptr, ());
109 CHECK_LESS(reader->Size(), static_cast<uint64_t>(std::numeric_limits<size_t>::max()), ());
110 return static_cast<size_t>(reader->Size());
111}
112} // namespace fast_obj_adapter
113
114class FastObjMeshGuard

Callers

nothing calls this directly

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected