code: def decompile(self, data, ttFont):
      longFormat = ttFont["head"].indexToLocFormat
      if longFormat:
          format = "I"
      else:
          format = "H"
      locations = array.array(format)
      locations.frombytes(data)
      if sys.byteorder != "big":
          locations.byteswap()
      if not longFormat:
          l = array.array("I")
          for i in range(len(locations)):
              l.append(locations[i] * 2)
          locations = l
      if len(locations) < (ttFont["maxp"].numGlyphs + 1):
          log.warning(
              "corrupt 'loca' table, or wrong numGlyphs in 'maxp': %d %d",
              len(locations) - 1,
              ttFont["maxp"].numGlyphs,
          )
      self.locations = locations
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/_l_o_c_a.py
imports: from .None import DefaultTable
  import sys
  import array
  import logging
label_desc: Use image node_id 1 for calling the table__l_o_c_a obj's underlying member method code with example usage: obj.decompile(data, ttFont) without return types