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

Method get_all

test-app/runtime/src/main/cpp/ada/ada.h:8726–8737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8724}
8725
8726inline std::vector<std::string> url_search_params::get_all(
8727 const std::string_view key) {
8728 std::vector<std::string> out{};
8729
8730 for (auto &param : params) {
8731 if (param.first == key) {
8732 out.emplace_back(param.second);
8733 }
8734 }
8735
8736 return out;
8737}
8738
8739inline bool url_search_params::has(const std::string_view key) noexcept {
8740 auto entry = std::ranges::find_if(

Callers 2

GetAllMethod · 0.80

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected