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

Function ROTL32

src/hash.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <string>
11
12inline uint32_t ROTL32(uint32_t x, int8_t r)
13{
14 return (x << r) | (x >> (32 - r));
15}
16
17unsigned int MurmurHash3(unsigned int nHashSeed, Span<const unsigned char> vDataToHash)
18{

Callers 1

MurmurHash3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected