MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / hash_larson64

Function hash_larson64

deps/GraphBLAS/CUDA/jitify.hpp:429–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427 return ss.str();
428}
429inline unsigned long long hash_larson64(const char* s,
430 unsigned long long seed = 0) {
431 unsigned long long hash = seed;
432 while (*s) {
433 hash = hash * 101 + *s++;
434 }
435 return hash;
436}
437
438inline uint64_t hash_combine(uint64_t a, uint64_t b) {
439 // Note: The magic number comes from the golden ratio

Callers 4

load_sourceFunction · 0.85
Kernel_implMethod · 0.85
Program_implMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected