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

Function gen_key

deps/GraphBLAS/CUDA/test/dataFactory.hpp:17–19  ·  view source on GitHub ↗

CAUTION: This assumes our indices are small enough to fit into a 32-bit int.

Source from the content-addressed store, hash-verified

15
16// CAUTION: This assumes our indices are small enough to fit into a 32-bit int.
17inline std::int64_t gen_key(std::int64_t i, std::int64_t j) {
18 return (std::int64_t) i << 32 | (std::int64_t) j;
19}
20
21//Vector generators
22template<typename T>

Callers 1

fill_randomMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected