MCPcopy Create free account
hub / github.com/HexHive/NASS / SimpleFastHash

Function SimpleFastHash

fuzz/libfuzzer/FuzzerUtil.cpp:229–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229uint64_t SimpleFastHash(const void *Data, size_t Size, uint64_t Initial) {
230 uint64_t Res = Initial;
231 const uint8_t *Bytes = static_cast<const uint8_t *>(Data);
232 for (size_t i = 0; i < Size; i++)
233 Res = Res * 11 + Bytes[i];
234 return Res;
235}
236
237} // namespace fuzzer

Callers 1

AddMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected