MCPcopy Create free account
hub / github.com/city-super/Octree-GS / find_any

Function find_any

SIBR_viewers/src/core/system/String.cpp:143–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142
143 SIBR_SYSTEM_EXPORT bool find_any(const std::vector<std::string>& needles, const std::string& haystack)
144 {
145 for (std::string needle : needles)
146 {
147 if (haystack.find(needle) != std::string::npos)
148 return true;
149 }
150
151 return false;
152 }
153
154 std::string timestamp(const std::string & format) {
155 auto now = std::time(nullptr);

Callers 1

getParsedColmapDataMethod · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected