MCPcopy Create free account
hub / github.com/acl-dev/acl / eval_number64

Method eval_number64

lib_acl_cpp/src/redis/redis_script.cpp:73–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73bool redis_script::eval_number64(const char* script,
74 const std::vector<string>& keys,
75 const std::vector<string>& args,
76 long long int& out)
77{
78 const redis_result* result = eval_cmd("EVAL", script, keys, args);
79 if (result == NULL) {
80 return false;
81 }
82
83 bool success;
84 out = result->get_integer64(&success);
85 return success;
86}
87
88int redis_script::eval_string(const char* script,
89 const std::vector<string>& keys,

Callers

nothing calls this directly

Calls 5

get_integer64Method · 0.45
get_childrenMethod · 0.45
clearMethod · 0.45
reserveMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected