MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / SkipSpaces

Function SkipSpaces

rtpose_wrapper/src/gtest/gtest-all.cpp:9049–9053  ·  view source on GitHub ↗

Skips to the first non-space char in str. Returns an empty string if str contains only whitespace characters.

Source from the content-addressed store, hash-verified

9047// Skips to the first non-space char in str. Returns an empty string if str
9048// contains only whitespace characters.
9049static const char* SkipSpaces(const char* str) {
9050 while (IsSpace(*str))
9051 str++;
9052 return str;
9053}
9054
9055// Verifies that registered_tests match the test names in
9056// defined_test_names_; returns registered_tests if successful, or

Callers 1

Calls 1

IsSpaceFunction · 0.85

Tested by

no test coverage detected