Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
inline uint32_t ROTL32(uint32_t x, int8_t r)
13
{
14
return (x << r) | (x >> (32 - r));
15
}
16
17
unsigned int MurmurHash3(unsigned int nHashSeed, Span<const unsigned char> vDataToHash)
18
{
Callers
1
MurmurHash3
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected