2ad91695c52457eb492a045f9092fed84ea4897a,slips.py,,,#,14

Before Change


    // Create the queue for the thread
    inputProcessingqueue = Queue()

    globaldata.ip_profiles["1"] = "test"

    // Create the thread and start it
    inputProcessThread = InputProcessing(inputProcessingqueue, args.verbose, args.debug, config)

After Change



    // Profile thread
    // Create the queue for the profile thread
    profilerProcessQueue = Queue()
    // Create the profile thread and start it
    profilerProcessThread = ProfilerProcess(profilerProcessQueue, outputProcessQueue, args.verbose, args.debug, config, args.width)
    profilerProcessThread.start()
    outputProcessQueue.put("Started profiler thread")

    // Input thread
    // Create the queue for the input thread
    newstdin = os.fdopen(os.dup(sys.stdin.fileno()))
    inputProcessQueue = Queue()
    // Create the input thread and start it
    inputProcessThread = InputProcess(inputProcessQueue, outputProcessQueue, profilerProcessQueue, args.verbose, args.debug, newstdin, config)
    inputProcessThread.start()
    outputProcessQueue.put("Started input thread")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: 2ad91695c52457eb492a045f9092fed84ea4897a
Time: 2018-09-02
Author: eldraco@gmail.com
File Name: slips.py
Class Name:
Method Name:


Project Name: erikbern/ann-benchmarks
Commit Name: 2fc9ba306076e829a9612e9ce60bbe5294759740
Time: 2015-07-19
Author: erikbern@spotify.com
File Name: test/test.py
Class Name:
Method Name: check_algo


Project Name: automl/auto-sklearn
Commit Name: 679e77b78f7ba906cd2e6aa18366fa8facd153db
Time: 2017-02-11
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_test_evaluator.py
Class Name: TestEvaluator_Test
Method Name: test_datasets