code
stringlengths
1
1.49M
vector
listlengths
0
7.38k
snippet
listlengths
0
7.38k
'''Plugin Performance profiling module for ClearCutter Loads an OSSIM plugin and sample log data, and identifies the CPU cost for each SID in a plugin as a percentage of total runtime to process the entire file ''' __author__ = "CP Constantine" __email__ = "conrad@alienvault.com" __copyright__ = 'Copyright:Alienvault...
[ [ 8, 0, 0.0577, 0.0962, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1346, 0.0192, 0, 0.66, 0.0714, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.1538, 0.0192, 0, 0.66...
[ "'''Plugin Performance profiling module for ClearCutter\n\nLoads an OSSIM plugin and sample log data, and identifies the CPU cost for each SID in a plugin\nas a percentage of total runtime to process the entire file\n'''", "__author__ = \"CP Constantine\"", "__email__ = \"conrad@alienvault.com\"", "__copyrigh...
#!/usr/bin/python # -*- coding: iso-8859-1 -*- # # progressbar - Text progressbar library for python. # Copyright (c) 2005 Nilton Volpato # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundatio...
[ [ 8, 0, 0.0831, 0.0509, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1126, 0.0027, 0, 0.66, 0.05, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.1153, 0.0027, 0, 0.66, ...
[ "\"\"\"Text progressbar library for python.\n\nThis library provides a text mode progressbar. This is tipically used\nto display the progress of a long running operation, providing a\nvisual clue that processing is underway.\n\nThe ProgressBar class manages the progress, and the format of the line\nis given by a nu...
'''Levenshtein Distance Calculator for Clearcutter log identification module''' __author__ = "CP Constantine" __email__ = "conrad@alienvault.com" __copyright__ = 'Copyright:Alienvault 2012' __credits__ = ["Conrad Constantine"] __version__ = "0.1" __license__ = "BSD" __status__ = "Prototype" __maintainer__ = "CP Consta...
[ [ 8, 0, 0.037, 0.037, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1111, 0.037, 0, 0.66, 0.1111, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.1481, 0.037, 0, 0.66, ...
[ "'''Levenshtein Distance Calculator for Clearcutter log identification module'''", "__author__ = \"CP Constantine\"", "__email__ = \"conrad@alienvault.com\"", "__copyright__ = 'Copyright:Alienvault 2012'", "__credits__ = [\"Conrad Constantine\"]", "__version__ = \"0.1\"", "__license__ = \"BSD\"", "__s...
'''Extract calls to logging libraries from code Trees''' class CodeScrape(object): ''' classdocs ''' def __init__(self,params): ''' Constructor ''' pass
[ [ 8, 0, 0.0667, 0.0667, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 3, 0, 0.5333, 0.7333, 0, 0.66, 1, 888, 0, 1, 0, 0, 186, 0, 0 ], [ 8, 1, 0.3333, 0.2, 1, 0.72, 0,...
[ "'''Extract calls to logging libraries from code Trees'''", "class CodeScrape(object):\n '''\n classdocs\n '''\n\n\n def __init__(self,params):\n '''", " '''\n classdocs\n '''", " def __init__(self,params):\n '''\n Constructor\n '''\n pass", " ...
""" Clusters Locate clusters of test in Logfiles, to assist in processing discrete log messages, from any given log data sample and assist in the creation of Regular Expression to parse those log entries """ __author__ = "CP Constantine" __email__ = "conrad@alienvault.com" __copyright__ = 'Copyright:Alienvault 2012' _...
[ [ 8, 0, 0.0111, 0.0177, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0265, 0.0044, 0, 0.66, 0.0833, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.031, 0.0044, 0, 0.66,...
[ "\"\"\"\nClusters Locate clusters of test in Logfiles, to assist in processing discrete log messages,\nfrom any given log data sample and assist in the creation of Regular Expression to parse those log entries\n\"\"\"", "__author__ = \"CP Constantine\"", "__email__ = \"conrad@alienvault.com\"", "__copyright__...
#!/usr/bin/python # -*- coding: iso-8859-1 -*- # # progressbar - Text progressbar library for python. # Copyright (c) 2005 Nilton Volpato # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundatio...
[ [ 8, 0, 0.0831, 0.0509, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1126, 0.0027, 0, 0.66, 0.05, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.1153, 0.0027, 0, 0.66, ...
[ "\"\"\"Text progressbar library for python.\n\nThis library provides a text mode progressbar. This is tipically used\nto display the progress of a long running operation, providing a\nvisual clue that processing is underway.\n\nThe ProgressBar class manages the progress, and the format of the line\nis given by a nu...