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

Method CheckCrc

phxqueue/store/storemeta.cpp:101–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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));
103 return impl_->crc == tmp_crc;
104}
105
106
107class StoreMetaQueue::StoreMetaQueueImpl {

Callers 1

NextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected