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

Method build_request

lib_acl_cpp/src/redis/redis_command.cpp:991–1003  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

989}
990
991void redis_command::build_request(size_t argc, const char* argv[], const size_t lens[])
992{
993 if (pipeline_) {
994 redis_pipeline_message* msg = get_pipeline_message();
995 build_request1(argc, argv, lens);
996 msg->set(request_buf_);
997 msg->set_slot(static_cast<size_t>(slot_));
998 } else if (slice_req_) {
999 build_request2(argc, argv, lens);
1000 } else {
1001 build_request1(argc, argv, lens);
1002 }
1003}
1004
1005void redis_command::build_request1(size_t argc, const char* argv[], const size_t lens[])
1006{

Callers

nothing calls this directly

Calls 5

acl_ui64toa_radixFunction · 0.85
setMethod · 0.45
set_slotMethod · 0.45
formatMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected