MCPcopy Create free account
hub / github.com/Cantera/cantera / func_write

Function func_write

src/clib/ctfunc.cpp:169–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168
169 int func_write(int i, const char* arg, size_t len, char* buf)
170 {
171 try {
172 return static_cast<int>(copyString(FuncCabinet::at(i)->write(arg), buf, len));
173 } catch (...) {
174 return handleAllExceptions(-1, ERR);
175 }
176 }
177}

Callers 1

TESTFunction · 0.85

Calls 3

copyStringFunction · 0.85
handleAllExceptionsFunction · 0.70
writeMethod · 0.45

Tested by 1

TESTFunction · 0.68