8a5e99fa839be41367ea9d67c169124f8dec4124,networkml/parsers/pcap/reader.py,,parallel_sessionizer,#Any#Any#Any#Any#Any#,246
Before Change
logger.error("exception processing {0}: {1}".format(pcap_file, err))
if csv_out_dir is not None:
for pcap_file, pcap_sessions in pcap_file_sessions.items():
pcap_to_sessioncsv(csv_out_dir, pcap_file, pcap_sessions)
return pcap_file_sessions
After Change
// Retrieve pre-cached CSVs.
for pcap_file in pcap_files:
csv_file = csv_filenames[pcap_file]
if os.path.exists(csv_file):
pcap_file_sessions[pcap_file] = sessioncsv_to_sessions(csv_filename)
else:
unparsed_pcaps.append(pcap_file)
futures = {
executor.submit(sessionizer, pcap_file, duration, threshold_time): pcap_file
for pcap_file in unparsed_pcaps}
pcap_file_sessions = {}
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: CyberReboot/NetworkML
Commit Name: 8a5e99fa839be41367ea9d67c169124f8dec4124
Time: 2020-01-16
Author: josh@vandervecken.com
File Name: networkml/parsers/pcap/reader.py
Class Name:
Method Name: parallel_sessionizer
Project Name: pantsbuild/pants
Commit Name: 9a7981e7680543d5ca733de31bc8ea3173e5ce2b
Time: 2013-04-09
Author: markcc@foursquare.com
File Name: src/python/twitter/pants/tasks/java_compile.py
Class Name: JavaCompile
Method Name: execute_single_compilation
Project Name: facebookresearch/ParlAI
Commit Name: b817aa34a2dc26e895793ec0f71310b092202b9e
Time: 2021-01-05
Author: EricMichaelSmith@users.noreply.github.com
File Name: parlai/crowdsourcing/tasks/qa_data_collection/run.py
Class Name:
Method Name: main