8f00ab4ca319da50c20d5ffb3be1b4d64a9fa4c8,grakel/kernels/odd_sth.py,,big_dag_append,#Any#Any#Any#,200

Before Change


                if ck in D_hash_map:
                    node = D_hash_map[key][0]
                    D_edges[nodes_idx].append(node)
                    n += D_vertex[nodes_idx][2]
                    d += D_vertex[nodes_idx][0]
            
            new_key = str(D_labels[nodes_idx])+"("+(",".join(n))+")"
            if new_key not in D_hash_map:
                D_hash_map[new_key] = list()
            D_hash_map[new_key].append(node_idx) 
            
            if merge_features:
                freq = 1

After Change


                if ck in D_hash_map:
                    node = D_hash_map[ck][0]
                    // add edges with their new indexes
                    if node not in v_nodes:
                        d_edges.append(node)
                        v_nodes.add(node)
            
            D_edges[nodes_idx] = d_edges
            D_hash_map[key] = [nodes_idx]

            if merge_features:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: ysig/GraKeL
Commit Name: 8f00ab4ca319da50c20d5ffb3be1b4d64a9fa4c8
Time: 2017-12-06
Author: y.siglidis@gmail.com
File Name: grakel/kernels/odd_sth.py
Class Name:
Method Name: big_dag_append


Project Name: pyinstaller/pyinstaller
Commit Name: f1a093ebed17dab737153888733c06ed807b6746
Time: 2015-05-11
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/depend/analysis.py
Class Name: TOC
Method Name: insert


Project Name: pyinstaller/pyinstaller
Commit Name: f1a093ebed17dab737153888733c06ed807b6746
Time: 2015-05-11
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/depend/analysis.py
Class Name: TOC
Method Name: append