MCPcopy Create free account
hub / github.com/ceph/ceph / update

Method update

src/include/buffer.h:1261–1263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1259 hash(uint32_t init) : crc(init) { }
1260
1261 void update(const buffer::list& bl) {
1262 crc = bl.crc32c(crc);
1263 }
1264
1265 uint32_t digest() {
1266 return crc;

Callers 1

buffer.hFile · 0.45

Calls 1

crc32cMethod · 0.80

Tested by

no test coverage detected