Searched refs:routedIPv4AddressCount (Results 1 – 3 of 3) sorted by relevance
77 assertEquals(0, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()80 assertEquals(1l << 32, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()86 assertEquals(1l << 32, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()92 assertEquals(1l << 24, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()96 assertEquals((1l << 24) + (1 << 7), NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()103 assertEquals(1l, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()112 assertEquals(7l, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()118 assertEquals(7l - 4 + 4 + 16 + 65536, NetworkUtils.routedIPv4AddressCount(set)); in testRoutedIPv4AddressCount()
427 public static long routedIPv4AddressCount(final TreeSet<IpPrefix> prefixes) { in routedIPv4AddressCount() method in NetworkUtils
892 if (NetworkUtils.routedIPv4AddressCount(ipv4Prefixes) > MOST_IPV4_ADDRESSES_COUNT) { in providesRoutesToMostDestinations()