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

Method deserialize

deps/GraphBLAS/CUDA/jitify.hpp:3831–3838  ·  view source on GitHub ↗

! Restore a serialized program. * * \param serialized_program The serialized program to restore. * * \see serialize */

Source from the content-addressed store, hash-verified

3829 * \see serialize
3830 */
3831 static Program deserialize(std::string const& serialized_program) {
3832 Program program;
3833 if (!serialization::deserialize(serialized_program, &program._name,
3834 &program._options, &program._sources)) {
3835 throw std::runtime_error("Failed to deserialize program");
3836 }
3837 return program;
3838 }
3839
3840 /*! Save the program.
3841 *

Callers

nothing calls this directly

Calls 1

deserializeFunction · 0.85

Tested by

no test coverage detected