cd83fed56a184063215f932ef768f8834328654c,networkml/featurizers/funcs/host.py,HostBase,HostBase_1,#,26

Before Change


        [22, 23, 25, 53, 67, 68, 69, 80, 88, 110, 123, 137, 138, 139, 143, 161, 443, 631])
    WK_NONPRIV_TCPUDP_PORTS = frozenset(
        [1900, 2375, 2376, 5222, 5349, 5353, 5354, 5349, 5357, 6653])
    DROP_PROTOS = {"frame", "data", "eth", "ip", "ipv6"}

    def _mac(self, mac):
        return netaddr.EUI(int(mac), dialect=netaddr.mac_unix_expanded)

After Change


        [22, 23, 25, 53, 67, 68, 69, 80, 88, 110, 123, 137, 138, 139, 143, 161, 443, 631])
    WK_NONPRIV_TCPUDP_PORTS = frozenset(
        [1900, 2375, 2376, 5222, 5349, 5353, 5354, 5349, 5357, 6653])
    DROP_PROTOS = frozenset(
        ["frame", "data", "eth", "ip", "ipv6"])

    def _mac(self, mac):
        return netaddr.EUI(int(mac), dialect=netaddr.mac_unix_expanded)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: CyberReboot/NetworkML
Commit Name: cd83fed56a184063215f932ef768f8834328654c
Time: 2020-04-01
Author: josh@vandervecken.com
File Name: networkml/featurizers/funcs/host.py
Class Name: HostBase
Method Name: HostBase_1


Project Name: enthought/chaco
Commit Name: 4a6683521cce012b5df4830d64f41518798fc817
Time: 2020-12-01
Author: kitchoi@users.noreply.github.com
File Name: ci/edmtool.py
Class Name:
Method Name:


Project Name: jnothman/UpSetPlot
Commit Name: f2f419b89221602dc31c69de32df1cba281db481
Time: 2019-05-30
Author: joel.nothman@gmail.com
File Name: upsetplot/tests/test_data.py
Class Name:
Method Name: test_from_contents