original_docstring: 
          add an element to heap while keeping the attribute of heap
          :param value: the value added to the heap
          :return: None
          
docstring: add an element to heap while keeping the attribute of heap
docstring_tokens: add an element to heap while keeping the attribute of heap
code: def add(self,value):
          """
          add an element to heap while keeping the attribute of heap
          :param value: the value added to the heap
          :return: None
          """
          if self._count>self.maxsize:
              raise Exception("full")
          self._elements[self._count]=value
          self._count+=1
          self._siftup(self._count-1)
code_tokens: def add ( self , value ) : if self . _count > self . maxsize : raise Exception ( "full" ) self . _elements [ self . _count ] = value self . _count += 1 self . _siftup ( self . _count - 1 )
short_docstring: add an element to heap while keeping the attribute of heap
short_docstring_tokens: add an element to heap while keeping the attribute of heap
comment: """
          add an element to heap while keeping the attribute of heap
          :param value: the value added to the heap
          :return: None
          """