MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / writeSourceFixture

Function writeSourceFixture

Tests/SCBuildTest/SCBuildFixtureTest.cpp:1359–1367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1357 " utf8[length++] = static_cast<char>(0x80 | (codePoint & 0x3F));\n"
1358 " }\n"
1359 " else\n"
1360 " {\n"
1361 " utf8[length++] = static_cast<char>(0xF0 | (codePoint >> 18));\n"
1362 " utf8[length++] = static_cast<char>(0x80 | ((codePoint >> 12) & 0x3F));\n"
1363 " utf8[length++] = static_cast<char>(0x80 | ((codePoint >> 6) & 0x3F));\n"
1364 " utf8[length++] = static_cast<char>(0x80 | (codePoint & 0x3F));\n"
1365 " }\n"
1366 " fwrite(utf8, 1, static_cast<size_t>(length), stdout);\n"
1367 " }\n"
1368 "#else\n"
1369 " fputs(value, stdout);\n"
1370 "#endif\n"

Callers 1

SCBuildFixtureTestMethod · 0.85

Calls 5

joinFunction · 0.50
ResultClass · 0.50
writeStringMethod · 0.45
viewMethod · 0.45

Tested by

no test coverage detected