MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / read_pipe_data

Function read_pipe_data

smallthinker/tools/run/run.cpp:1214–1218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1212}
1213
1214static std::string read_pipe_data() {
1215 std::ostringstream result;
1216 result << std::cin.rdbuf(); // Read all data from std::cin
1217 return result.str();
1218}
1219
1220static void ctrl_c_handling() {
1221#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))

Callers 1

mainFunction · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected