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

Function WriteName

lib/llvm/codegen.cpp:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139Expect<void> WriteName(std::ostream &OS, std::string_view Data) noexcept {
140 WriteU32(OS, static_cast<uint32_t>(Data.size()));
141 for (const auto C : Data) {
142 WriteByte(OS, static_cast<uint8_t>(C));
143 }
144 return {};
145}
146
147inline constexpr bool startsWith(std::string_view Value,
148 std::string_view Prefix) noexcept {

Callers 1

outputWasmLibraryFunction · 0.85

Calls 3

WriteU32Function · 0.85
WriteByteFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected