MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / toUpper

Function toUpper

plugins/wasi_crypto/utils/hostfunction.cpp:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12namespace {
13std::string toUpper(std::string_view Name) noexcept {
14 std::string Ret{Name};
15 std::transform(Ret.begin(), Ret.end(), Ret.begin(),
16 [](char C) { return std::toupper(C); });
17 return Ret;
18}
19} // namespace
20
21WasiCryptoExpect<AsymmetricCommon::Algorithm>

Callers 1

tryFromFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected