code: def _resolve_max_size(filename, maxsizes):
      for pattern, maxsize in maxsizes.items() if maxsizes else ():
          if _match_glob(filename, pattern):
              break
      else:
          return None
      if not maxsize:
          return None, None
      maxtext, maxlines = maxsize
      if maxtext is not None:
          maxtext = int(maxtext)
      if maxlines is not None:
          maxlines = int(maxlines)
      return maxtext, maxlines
  
file_path: cpython/Tools/c-analyzer/c_parser/__init__.py
imports: from c_common.fsutil import match_glob
  from .parser import parse
  from .preprocessor import get_preprocessor
  from .info import resolve_parsed
label_desc: Use image node_id 4 for calling a global function with example usage: _resolve_max_size(filename, maxsizes) and returns: maxtext,  maxlines, None, None,  None