MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / request

Method request

3rdparty/cppdap/src/session.cpp:177–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 }
176
177 std::pair<const dap::TypeInfo*, GenericRequestHandler> request(
178 const std::string& name) {
179 std::unique_lock<std::mutex> lock(requestMutex);
180 auto it = requestMap.find(name);
181 return (it != requestMap.end()) ? it->second : decltype(it->second){};
182 }
183
184 void put(const dap::TypeInfo* typeinfo,
185 const GenericRequestHandler& handler) {

Callers 1

processRequestMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected