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

Method get_size

lib_acl_cpp/src/redis/redis_result.cpp:89–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89size_t redis_result::get_size() const
90{
91 if (result_type_ == REDIS_RESULT_ARRAY) {
92 return children_idx_;
93 } else if (result_type_ == REDIS_RESULT_STRING) {
94 if (argv_ == NULL || lens_ == NULL)
95 return 0;
96 return size_;
97 } else {
98 return size_;
99 }
100}
101
102int redis_result::get_integer(bool* success /* = NULL */) const
103{

Callers 10

test_zrangeFunction · 0.45
get_resultsFunction · 0.45
result_sizeMethod · 0.45
result_valueMethod · 0.45
get_stringsMethod · 0.45
scan_keysMethod · 0.45
reopenMethod · 0.45
bpopMethod · 0.45
runMethod · 0.45
get_messageMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_zrangeFunction · 0.36