MCPcopy Create free account
hub / github.com/Tencent/phxqueue / GetCrc

Method GetCrc

phxqueue/store/storemeta.cpp:97–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97uint32_t StoreMeta::GetCrc() const{
98 return impl_->crc;
99}
100
101bool StoreMeta::CheckCrc(uint32_t pre_crc) const {
102 auto tmp_crc = crc32(pre_crc, (const unsigned char *)&impl_->cursor_id, sizeof(uint64_t));

Callers 4

StoreMetaMethod · 0.80
storemeta.cppFile · 0.80
NextMethod · 0.80
PushBackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected