MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SipHash_32b

Function SipHash_32b

src/bench/crypto_hash.cpp:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71static void SipHash_32b(benchmark::State& state)
72{
73 uint256 x;
74 uint64_t k1 = 0;
75 while (state.KeepRunning()) {
76 *((uint64_t*)x.begin()) = SipHashUint256(0, ++k1, x);
77 }
78}
79
80static void FastRandom_32bit(benchmark::State& state)
81{

Callers

nothing calls this directly

Calls 3

SipHashUint256Function · 0.85
KeepRunningMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected