694a088b4ecc62d8ebb2614c5ac66c52c08545d4,scipy/weave/standard_array_spec.py,,,#,7
Before Change
from .c_spec import num_to_c_types
import numpy
num_typecode = {}
num_typecode["?"] = "PyArray_BOOL"
num_typecode["b"] = "PyArray_BYTE"
num_typecode["B"] = "PyArray_UBYTE"
num_typecode["h"] = "PyArray_SHORT"
num_typecode["H"] = "PyArray_USHORT"
num_typecode["i"] = "PyArray_INT"
num_typecode["I"] = "PyArray_UINT"
num_typecode["l"] = "PyArray_LONG"
num_typecode["L"] = "PyArray_ULONG"
num_typecode["q"] = "PyArray_LONGLONG"
num_typecode["Q"] = "PyArray_ULONGLONG"
num_typecode["f"] = "PyArray_FLOAT"
num_typecode["d"] = "PyArray_DOUBLE"
num_typecode["g"] = "PyArray_LONGDOUBLE"
num_typecode["F"] = "PyArray_CFLOAT"
num_typecode["D"] = "PyArray_CDOUBLE"
num_typecode["G"] = "PyArray_CLONGDOUBLE"
type_check_code = \
After Change
from .c_spec import num_to_c_types
import numpy
num_typecode = {"?": "PyArray_BOOL",
"b": "PyArray_BYTE",
"B": "PyArray_UBYTE",
"h": "PyArray_SHORT",
"H": "PyArray_USHORT",
"i": "PyArray_INT",
"I": "PyArray_UINT",
"l": "PyArray_LONG",
"L": "PyArray_ULONG",
"q": "PyArray_LONGLONG",
"Q": "PyArray_ULONGLONG",
"f": "PyArray_FLOAT",
"d": "PyArray_DOUBLE",
"g": "PyArray_LONGDOUBLE",
"F": "PyArray_CFLOAT",
"D": "PyArray_CDOUBLE",
"G": "PyArray_CLONGDOUBLE"}
type_check_code = \
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 15
Instances
Project Name: scipy/scipy
Commit Name: 694a088b4ecc62d8ebb2614c5ac66c52c08545d4
Time: 2015-11-08
Author: remy.leone@gmail.com
File Name: scipy/weave/standard_array_spec.py
Class Name:
Method Name:
Project Name: MTG/freesound
Commit Name: 17a09cac2d83d31c78248f33df74a482042ad34e
Time: 2019-05-10
Author: alastair.porter@upf.edu
File Name: utils/search/search_forum.py
Class Name:
Method Name: convert_to_solr_document
Project Name: RasaHQ/rasa
Commit Name: 0d0c2f9d6bb3c0c5b0c1e83dab2d9d8b6819303d
Time: 2018-08-22
Author: tom@rasa.com
File Name: tests/test_channels.py
Class Name:
Method Name: test_is_slack_message_false