MCPcopy Create free account
hub / github.com/Tencent/phxqueue / AddrScaleToString

Function AddrScaleToString

phxqueue/comm/utils/addr_util.cpp:59–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59string AddrScaleToString(const proto::AddrScale &addr_scale) {
60 return AddrToString(addr_scale.addr()) + "@" + to_string(addr_scale.scale());
61}
62
63string AddrScalesToString(const google::protobuf::RepeatedPtrField
64 <proto::AddrScale> &addr_scales) {

Callers 1

AddrScalesToStringFunction · 0.85

Calls 1

AddrToStringFunction · 0.85

Tested by

no test coverage detected