MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / advance_to

Function advance_to

src/myFunc.cpp:457–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457void advance_to(const std::string& haystack, size_t& offset, char needle) {
458
459 // I think std::string should behave correctly in this case, but just to be sure...
460 if(offset >= haystack.size())
461 return;
462 offset = haystack.find(needle, offset);
463 if(offset == std::string::npos)
464 offset = haystack.size();
465
466}
467
468long getReadNumberFromPileup(std::string const& fileName) {
469 string line ;

Callers 1

ChrCopyNumberMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected