MCPcopy Create free account
hub / github.com/apache/brpc / CopyPAPrefixedWithSeqNo

Function CopyPAPrefixedWithSeqNo

test/brpc_http_rpc_protocol_unittest.cpp:544–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542const size_t PA_DATA_LEN = sizeof(PA_DATA) - 1/*not count the ending zero*/;
543
544static void CopyPAPrefixedWithSeqNo(char* buf, uint64_t seq_no) {
545 memcpy(buf, PA_DATA, PA_DATA_LEN);
546 *(uint64_t*)buf = seq_no;
547}
548
549class DownloadServiceImpl : public ::test::DownloadService {
550public:

Callers 3

DownloadMethod · 0.85
TEST_FFunction · 0.85
OnReadOnePartMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected