MCPcopy Create free account
hub / github.com/NativeScript/android / trim_c0_whitespace

Function trim_c0_whitespace

test-app/runtime/src/main/cpp/ada/ada.cpp:11761–11769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11759}
11760
11761void trim_c0_whitespace(std::string_view& input) noexcept {
11762 while (!input.empty() &&
11763 ada::unicode::is_c0_control_or_space(input.front())) {
11764 input.remove_prefix(1);
11765 }
11766 while (!input.empty() && ada::unicode::is_c0_control_or_space(input.back())) {
11767 input.remove_suffix(1);
11768 }
11769}
11770
11771ada_really_inline void parse_prepared_path(std::string_view input,
11772 ada::scheme::type type,

Callers 1

parse_url_implFunction · 0.85

Calls 4

is_c0_control_or_spaceFunction · 0.85
frontMethod · 0.80
backMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected