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

Method write

examples/server/httplib.h:4993–4995  ·  view source on GitHub ↗

Stream implementation

Source from the content-addressed store, hash-verified

4991
4992// Stream implementation
4993inline ssize_t Stream::write(const char *ptr) {
4994 return write(ptr, strlen(ptr));
4995}
4996
4997inline ssize_t Stream::write(const std::string &s) {
4998 return write(s.data(), s.size());

Callers 15

default_outfileFunction · 0.45
default_outfileFunction · 0.45
mainFunction · 0.45
export_splitFunction · 0.45
llava-surgery.pyFile · 0.45
clip_model_quantizeFunction · 0.45
mainFunction · 0.45
xsputnMethod · 0.45
write_headersFunction · 0.45

Calls 5

send_socketFunction · 0.85
writeFunction · 0.50
dataMethod · 0.45
sizeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected