MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / getWindowSeqList

Method getWindowSeqList

libapp2sys/src/main/cpp/udp.h:396–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394 }
395
396 std::string getWindowSeqList(TimeoutEvent *window) {
397 std::stringstream s;
398 for (int i = 0; i < CONST_WINDOW; i++) {
399 s << (window[i].udpPkg ? window[i].udpPkg->seq : -1);
400 s << ";";
401 }
402 return s.str();
403 }
404
405 TimeoutEvent* getWindowBySeq(TimeoutEvent *window, uint32_t seq) {
406 for (uint32_t i = 0; i < CONST_WINDOW; i++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected