code: def set_size(self, name: str, size: int):
          
          if self._needs_to_be_in_name_map(name):
              if len(name) >= 128:
                  raise ValueError("Name is too long")
              self.name_map[name] = size
          else:
              crc32 = binascii.crc32(name.encode())
              self.crc32_map[crc32] = size
docs: Set the size of a resource in the RSTB.