MCPcopy Create free account
hub / github.com/ElementsProject/elements / Value

Function Value

src/leveldb/util/crc32c.h:20–20  ·  view source on GitHub ↗

Return the crc32c of data[0,n-1]

Source from the content-addressed store, hash-verified

18
19// Return the crc32c of data[0,n-1]
20inline uint32_t Value(const char* data, size_t n) { return Extend(0, data, n); }
21
22static const uint32_t kMaskDelta = 0xa282ead8ul;
23

Callers 13

WriteRawBlockMethod · 0.85
ReadBlockFunction · 0.85
Crc32cMethod · 0.85
TESTFunction · 0.85
FixChecksumMethod · 0.85
BuildMethod · 0.85
CheckMethod · 0.85
TESTFunction · 0.85
ReadPhysicalRecordMethod · 0.85
BuildMethod · 0.85
ReadValueMethod · 0.85
VerifyMethod · 0.85

Calls 1

ExtendFunction · 0.70

Tested by 8

TESTFunction · 0.68
FixChecksumMethod · 0.68
BuildMethod · 0.68
CheckMethod · 0.68
TESTFunction · 0.68
BuildMethod · 0.68
ReadValueMethod · 0.68
VerifyMethod · 0.68