MCPcopy Create free account
hub / github.com/CAIDA/walrus / sorted_insert

Function sorted_insert

contrib/asGraphGenerator.py:119–159  ·  view source on GitHub ↗

Inserts the given value in the list while maintaining ascending order with ASNs. Args: list (List): The list of elements to search through. insertion (int): The autonomous system tuple or autonomous system number to be inserted. is_list_of_tuples (bool): True

(list, insertion, is_list_of_tuples, low, high)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

insert_providerFunction · 0.85
insert_customerFunction · 0.85
insert_peerFunction · 0.85
parse_relationshipsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected