MCPcopy Create free account
hub / github.com/apache/brpc / get

Method get

src/brpc/ts.cpp:227–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225TsChannelGroup::~TsChannelGroup() {}
226
227TsChannel* TsChannelGroup::get(TsPid pid) {
228 return &_pids[pid];
229 // std::map<TsPid, TsChannel>::iterator it = _pids.find(pid);
230 // if (it != _pids.end()) {
231 // return &it->second;
232 // }
233 // return NULL;
234}
235
236TsChannel* TsChannelGroup::set(TsPid pid) {
237 std::map<TsPid, TsChannel>::iterator it = _pids.find(pid);

Callers 15

performOperationsFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
load_bugsMethod · 0.45
findMethod · 0.45
OnLifeCycleConstructMethod · 0.45
IsWatchingMethod · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 15

OnLifeCycleConstructMethod · 0.36
IsWatchingMethod · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36