MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rioGenericUpdateChecksum

Function rioGenericUpdateChecksum

app/redis-6.2.6/src/rio.c:387–389  ·  view source on GitHub ↗

This function can be installed both in memory and file streams when checksum * computation is needed. */

Source from the content-addressed store, hash-verified

385/* This function can be installed both in memory and file streams when checksum
386 * computation is needed. */
387void rioGenericUpdateChecksum(rio *r, const void *buf, size_t len) {
388 r->cksum = crc64(r->cksum,buf,len);
389}
390
391/* Set the file-based rio object to auto-fsync every 'bytes' file written.
392 * By default this is set to zero that means no automatic file sync is

Callers 1

rdbLoadProgressCallbackFunction · 0.85

Calls 1

crc64Function · 0.85

Tested by

no test coverage detected