5d095f66fde8f10b45a93c0b35be0a85762b0458,debug_toolbar/panels/templates/panel.py,TemplatesPanel,_store_template_info,#TemplatesPanel#Any#,81

Before Change


                // matching prettified version in the associated list.
                key_values = sorted(context_layer.items())
                if key_values in self.seen_layers:
                    index = self.seen_layers.index(key_values)
                    pformatted = self.pformat_layers[index]
                else:
                    temp_layer = {}
                    for key, value in context_layer.items():
                        // Replace any request elements - they have a large

After Change


                // Check if the layer is in the cache.
                key_values = sorted(context_layer.items())
                pformatted = None
                for _key_values, _pformatted in self.pformat_layers:
                    if _key_values == key_values:
                        pformatted = _pformatted
                        break

                if pformatted is None:
                    temp_layer = {}
                    for key, value in context_layer.items():
                        // Replace any request elements - they have a large
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: jazzband/django-debug-toolbar
Commit Name: 5d095f66fde8f10b45a93c0b35be0a85762b0458
Time: 2019-06-20
Author: jon.dufresne@gmail.com
File Name: debug_toolbar/panels/templates/panel.py
Class Name: TemplatesPanel
Method Name: _store_template_info


Project Name: explosion/spaCy
Commit Name: 6c221d4841126ae6e923b02df28c303bba5d3bd6
Time: 2020-12-08
Author: adrianeboyd@gmail.com
File Name: spacy/pipeline/entityruler.py
Class Name: EntityRuler
Method Name: add_patterns


Project Name: mindsdb/mindsdb
Commit Name: 7e0ec8394f8cf3faaf490a5c54816c945dcd067c
Time: 2018-08-31
Author: jorge.torres.maldonado@gmail.com
File Name: libs/helpers/norm_denorm_helpers.py
Class Name:
Method Name: denorm