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

Method intersection

lib/swoc/include/swoc/IPRange.h:1462–1466  ·  view source on GitHub ↗

Sequnce of ranges that intersect @a r. * * @param r Search range. * @return Iterator pair covering ranges that intersect @a r. */

Source from the content-addressed store, hash-verified

1460 * @return Iterator pair covering ranges that intersect @a r.
1461 */
1462 std::pair<iterator, iterator>
1463 intersection(IP4Range const &r) {
1464 auto &&[begin, end] = _ip4.intersection(r);
1465 return {this->iterator_at(begin), this->iterator_at(end)};
1466 }
1467
1468 /** Sequnce of ranges that intersect @a r.
1469 *

Callers

nothing calls this directly

Calls 6

iterator_atMethod · 0.95
is_ip4Method · 0.45
ip4Method · 0.45
is_ip6Method · 0.45
ip6Method · 0.45
endMethod · 0.45

Tested by

no test coverage detected