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

Method intersectedWith

plugins/slice/Range.cc:165–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165Range
166Range::intersectedWith(Range const &other) const
167{
168 return Range(std::max(m_beg, other.m_beg), std::min(m_end, other.m_end));
169}
170
171bool
172Range::blockIsInside(int64_t const blocksize, int64_t const blocknum) const

Callers 1

blockIsInsideMethod · 0.80

Calls 1

RangeClass · 0.70

Tested by

no test coverage detected