sequence
stringlengths
557
12.7k
docstring
stringlengths
4
15.2k
(module (function_definition (function_name_relation_completions) function_name_relation_completions (parameters (typed_parameter (identifier_completion_text) identifier_completion_text (type (identifier_str) identifier_str )type )typed_parameter (typed_para...
Filter BEL relations by prefix Args: prefix: completion string bel_fmt: short, medium, long BEL formats spec: BEL specification Returns: list: list of BEL relations that match prefix
(module (function_definition (function_name_msg_debug) function_name_msg_debug (parameters (identifier_message) identifier_message )parameters (block (if_statement (comparison_operator (identifier__log_lvl) identifier__log_lvl (attribute (identifier_...
Log a debug message :param message: the message to be logged
(module (function_definition (function_name_load_session) function_name_load_session (parameters (default_parameter (identifier_fname) identifier_fname (None) None )default_parameter )parameters (block (if_statement (comparison_operator (identifier_f...
Load current Scapy session from the file specified in the fname arg. This will erase any existing session. params: - fname: file to load the scapy session from
(module (function_definition (function_name__convert_data) function_name__convert_data (parameters (identifier_self) identifier_self (identifier_data) identifier_data (identifier_data_type) identifier_data_type (identifier_num_recs) identifier_num_recs (identifier_num_values) ide...
Converts data to the appropriate type using the struct.unpack method, rather than using numpy.