MCPcopy Create free account
hub / github.com/VKCOM/kphp / server_reader

Function server_reader

net/net-connections.cpp:313–491  ·  view source on GitHub ↗

reads and parses as much as possible, and returns: 0 : all ok <0 : have to skip |res| bytes before invoking parse_execute >0 : have to read that much bytes before invoking parse_execute -1 : if c->error has been set NEED_MORE_BYTES=0x7fffffff : need at least one byte more */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 12

free_all_buffersFunction · 0.85
get_write_ptrFunction · 0.85
get_write_spaceFunction · 0.85
assertFunction · 0.85
readFunction · 0.85
advance_write_ptrFunction · 0.85
advance_read_ptrFunction · 0.85
nbit_setFunction · 0.85
nbit_ready_bytesFunction · 0.85
nbit_clearFunction · 0.85

Tested by

no test coverage detected