MCPcopy Create free account
hub / github.com/Kitware/CMake / request

Method request

Utilities/cmcppdap/src/session.cpp:171–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170
171 std::pair<const dap::TypeInfo*, GenericRequestHandler> request(
172 const std::string& name) {
173 std::unique_lock<std::mutex> lock(requestMutex);
174 auto it = requestMap.find(name);
175 return (it != requestMap.end()) ? it->second : decltype(it->second){};
176 }
177
178 void put(const dap::TypeInfo* typeinfo,
179 const GenericRequestHandler& handler) {

Callers 1

processRequestMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected