MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / calculate_hash

Function calculate_hash

modules/benchmarks-cpp/src/ia_loop.cpp:125–127  ·  view source on GitHub ↗

Simple hash calculation for quad values

Source from the content-addressed store, hash-verified

123
124// Simple hash calculation for quad values
125inline uint64_t calculate_hash(int64_t value) {
126 return static_cast<uint64_t>(std::hash<int64_t>{}(value));
127}
128
129// =============================================================================
130// IA_LOOP BENCHMARK - POSITION AND VELOCITY OPERATIONS

Callers 1

move_agentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…