code: def _parse_size(size_str):
      suffixes = {
          "": 1e6,
          "b": 1.0,
          "k": 1e3,
          "M": 1e6,
          "G": 1e9,
          "T": 1e12,
          "kb": 1e3,
          "Mb": 1e6,
          "Gb": 1e9,
          "Tb": 1e12,
          "kib": 1024.0,
          "Mib": 1024.0**2,
          "Gib": 1024.0**3,
          "Tib": 1024.0**4,
      }
      m = re.match(
          r"^\s*(\d+)\s*({0})\s*$".format("|".join(suffixes.keys())),
          size_str,
          re.I,
      )
      if not m or m.group(2) not in suffixes:
          raise ValueError("Invalid size string")
  
      return float(m.group(1)) * suffixes[m.group(2)]
  
file_path: catboost/contrib/python/scipy/py3/scipy/_lib/_testutils.py
imports: import os
  import re
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: _parse_size(size_str) and returns: unknown