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

Method get_search

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

Source from the content-addressed store, hash-verified

12649}
12650
12651[[nodiscard]] std::string url::get_search() const noexcept {
12652 // If this's URL's query is either null or the empty string, then return the
12653 // empty string. Return U+003F (?), followed by this's URL's query.
12654 return (!query.has_value() || (query.value().empty())) ? ""
12655 : "?" + query.value();
12656}
12657
12658[[nodiscard]] const std::string& url::get_username() const noexcept {
12659 return username;

Callers 4

parse_url_implFunction · 0.60
processMethod · 0.60
canonicalize_searchFunction · 0.60
ada_get_searchFunction · 0.60

Calls 4

valueMethod · 0.80
has_valueMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected