original_docstring:  Overwrites old array completely in process 
docstring: Overwrites old array completely in process
docstring_tokens: Overwrites old array completely in process
code: def save_long_str_to_idb(array_name, value):
      """ Overwrites old array completely in process """
      id = idc.get_array_id(array_name)
      if id != -1:
          idc.delete_array(id)
      id = idc.create_array(array_name)
      r = []
      for idx in xrange(len(value) / 1024 + 1):
          s = value[idx * 1024: (idx + 1) * 1024]
          r.append(s)
          idc.set_array_string(id, idx, s)
code_tokens: def save_long_str_to_idb ( array_name , value ) : id = idc . get_array_id ( array_name ) if id != - 1 : idc . delete_array ( id ) id = idc . create_array ( array_name ) r = [ ] for idx in xrange ( len ( value ) / 1024 + 1 ) : s = value [ idx * 1024 : ( idx + 1 ) * 1024 ] r . append ( s ) idc . set_array_string ( id , idx , s )
short_docstring: Overwrites old array completely in process
short_docstring_tokens: Overwrites old array completely in process
comment: """ Overwrites old array completely in process """