MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / find

Method find

lesson7-Detection/src/utils/tinystr.h:161–164  ·  view source on GitHub ↗

find a char in a string. Return TiXmlString::npos if not found

Source from the content-addressed store, hash-verified

159
160 // find a char in a string. Return TiXmlString::npos if not found
161 size_type find (char lookup) const
162 {
163 return find(lookup, 0);
164 }
165
166 // find a char in a string from an offset. Return TiXmlString::npos if not found
167 size_type find (char tofind, size_type offset) const

Callers 3

loadPretrainedMethod · 0.45
PrintMethod · 0.45
replace_all_distinctFunction · 0.45

Calls 1

findFunction · 0.85

Tested by

no test coverage detected