MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / CompareEndState

Function CompareEndState

system/lib/libcxx/src/filesystem/path.cpp:342–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342static int CompareEndState(PathParser* LHS, PathParser* RHS) {
343 if (LHS->atEnd() && !RHS->atEnd())
344 return -1;
345 else if (!LHS->atEnd() && RHS->atEnd())
346 return 1;
347 return 0;
348}
349
350int path::__compare(string_view_t __s) const {
351 auto LHS = PathParser::CreateBegin(__pn_);

Callers 1

__compareMethod · 0.85

Calls 1

atEndMethod · 0.80

Tested by

no test coverage detected