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

Method get_number64

lib_acl_cpp/src/redis/redis_command.cpp:465–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465long long int redis_command::get_number64(bool* success /* = NULL */)
466{
467 const redis_result* result = run();
468 if (result == NULL || result->get_type() != REDIS_RESULT_INTEGER) {
469 if (success) {
470 *success = false;
471 }
472 logger_result(result);
473 return -1;
474 }
475 if (success) {
476 *success = true;
477 }
478 return result->get_integer64();
479}
480
481int redis_command::get_number(std::vector<int>& out)
482{

Callers

nothing calls this directly

Calls 7

runFunction · 0.50
get_typeMethod · 0.45
get_integer64Method · 0.45
clearMethod · 0.45
get_childrenMethod · 0.45
reserveMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected