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

Method get_integer64

lib_acl_cpp/src/redis/redis_result.cpp:120–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120long long int redis_result::get_integer64(bool* success /* = NULL */) const
121{
122 if (success) {
123 *success = false;
124 }
125 if (result_type_ != REDIS_RESULT_INTEGER) {
126 return -1;
127 }
128 const char* ptr = get(0);
129 if (ptr == NULL || *ptr == 0) {
130 return -1;
131 }
132 if (success) {
133 *success = true;
134 }
135 return acl_atoi64(ptr);
136}
137
138double redis_result::get_double(bool* success /* = NULL */) const
139{

Callers 9

initMethod · 0.45
result_number64Method · 0.45
get_number64Method · 0.45
get_pending_messageMethod · 0.45
add_one_posMethod · 0.45
eval_number64Method · 0.45
evalsha_number64Method · 0.45
role_masterMethod · 0.45
role_slaveMethod · 0.45

Calls 2

acl_atoi64Function · 0.85
getFunction · 0.50

Tested by

no test coverage detected