def _normalize_to_unit(self, value, unit):
        if unit == 'ms':
            return value / 1000.0
        if unit == 'us':
            return value / 1000000.0
        if unit == 'KB':
            return value * 1024.0
        if unit == 'MB':
            return value * 1024768.0
        if unit == 'GB':
            return value * 1073741824.0
        if unit == 'TB':
            return value * 1099511627776.0

        return value
Number of rows
dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/nagiosperfdata/nagiosperfdata.py/NagiosPerfdataCollector._normalize_to_unit--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/utils/qt/python_list_model.py/PythonListModel.rowCount