MCPcopy Create free account
hub / github.com/apache/mesos / isValidStatus

Function isValidStatus

3rdparty/libprocess/src/http.cpp:209–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207
208
209bool isValidStatus(uint16_t code)
210{
211 return std::end(statuses) != std::find_if(
212 std::begin(statuses),
213 std::end(statuses),
214 [code](const StatusDescription& sd) { return sd.code == code; });
215}
216
217
218// Returns the default port for a given URL scheme.

Callers 3

on_message_completeMethod · 0.85
on_headers_completeMethod · 0.85
TEST_PFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_PFunction · 0.68