MCPcopy Create free account
hub / github.com/chen3feng/toft / Find

Method Find

net/uri/query_params.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80QueryParam* QueryParams::Find(const std::string& name)
81{
82 for (size_t i = 0; i < m_params.size(); ++i)
83 {
84 if (m_params[i].name == name)
85 return &m_params[i];
86 }
87 return NULL;
88}
89
90const QueryParam* QueryParams::Find(const std::string& name) const
91{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected