original_string: public function flush() {
          if ($this->count == 0) {
              return;
          }
          $events = $this->buffer;
          $this->count = 0;
          $this->buffer = array();
          $this->insert_event_entries($events);
      }
code: public function flush() {
          if ($this->count == 0) {
              return;
          }
          $events = $this->buffer;
          $this->count = 0;
          $this->buffer = array();
          $this->insert_event_entries($events);
      }
code_tokens: public function flush ( ) { if ( $ this -> count == 0 ) { return ; } $ events = $ this -> buffer ; $ this -> count = 0 ; $ this -> buffer = array ( ) ; $ this -> insert_event_entries ( $ events ) ; }
docstring: Flush event buffer.
docstring_tokens: Flush event buffer .