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

Function serialize

deps/GraphBLAS/CUDA/jitify.hpp:3635–3638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3633static constexpr const size_t kSerializationVersion = 1;
3634
3635inline void serialize(std::ostream& stream, size_t u) {
3636 uint64_t u64 = u;
3637 stream.write(reinterpret_cast<char*>(&u64), sizeof(u64));
3638}
3639
3640inline bool deserialize(std::istream& stream, size_t* size) {
3641 uint64_t u64;

Callers 3

serialize_magic_numberFunction · 0.85
serializeMethod · 0.85
serializeMethod · 0.85

Calls 1

serialize_magic_numberFunction · 0.85

Tested by

no test coverage detected