MCPcopy Create free account
hub / github.com/TheLegendAli/DeepLab-Context / UrlEncode

Method UrlEncode

src/gtest/gtest-all.cpp:4743–4760  ·  view source on GitHub ↗

Checks if str contains '=', '&', '%' or '\n' characters. If yes, replaces them by "%xx" where xx is their hexadecimal value. For example, replaces "=" with "%3D". This algorithm is O(strlen(str)) in both time and space -- important as the input str may contain an arbitrarily long test failure message and stack trace.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected