MCPcopy Create free account
hub / github.com/apache/trafficserver / isValid

Method isValid

plugins/slice/Range.cc:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include <cstring>
27
28bool
29Range::isValid() const
30{
31 return m_beg < m_end && (0 <= m_beg || 0 == m_end);
32}
33
34int64_t
35Range::size() const

Callers 15

validate_ipMethod · 0.45
failoverMethod · 0.45
CreateUDPSocketMethod · 0.45
connectUpMethod · 0.45
openMethod · 0.45
connect_reMethod · 0.45
main_acceptMethod · 0.45
accept_internalMethod · 0.45
has_ipv4Method · 0.45
has_ipv6Method · 0.45
storeMethod · 0.45

Calls

no outgoing calls

Tested by 3

testContentRangeFunction · 0.36
testContentRangeFunction · 0.36