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

Function overlaps

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

Source from the content-addressed store, hash-verified

11934}
11935
11936bool overlaps(std::string_view input1, const std::string& input2) noexcept {
11937 ada_log("helpers::overlaps check if string_view '", input1, "' [",
11938 input1.size(), " bytes] is part of string '", input2, "' [",
11939 input2.size(), " bytes]");
11940 return !input1.empty() && !input2.empty() && input1.data() >= input2.data() &&
11941 input1.data() < input2.data() + input2.size();
11942}
11943
11944template <class url_type>
11945ada_really_inline void strip_trailing_spaces_from_opaque_path(

Callers 15

update_base_hostnameMethod · 0.85
update_base_searchMethod · 0.85
update_base_pathnameMethod · 0.85
append_base_pathnameMethod · 0.85
update_base_usernameMethod · 0.85
append_base_usernameMethod · 0.85
update_base_passwordMethod · 0.85
append_base_passwordMethod · 0.85
set_protocolMethod · 0.85

Calls 3

sizeMethod · 0.45
emptyMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected