Clear and reset to orignal state
976636
def clear(self):
        """"""
        WhereQuery.clear(self)
        self._table = None
        self._parameters = []
        self._sql = None
637859
private function reset_state()
        {
            $this->state['helo'] = false;
            $this->state['mail'] = false;
            $this->state['rcpt'] = false;
        }
1038858
public function resetState()
	{
		// clean states
		$this->setStateArray( new StateArray() );
		$state_array = $this->getStateArray();
		$state_array->append( new $this->initial_state );
		Session::put($this->session_key,$state_array);
	}
1108621
public function reset()
  {
    $this->turnOff();
    $this->counter            = null;
    $this->startedAt          = null;
    $this->expiresAt          = null;
    $this->name               = $this->origStatus['name'];
    $this->metric             = $this->origStatus['metric'];
    $this->globalThreshold    = $this->origStatus['globalThreshold'];
    $this->componentThreshold = $this->origStatus['componentThreshold'];
    $this->metricFactor       = $this->origStatus['metricFactor'];
    $this->components         = $this->origStatus['components'];
  }
710157
def reset(self):
        
        for ents in self.__entity_set_map.values():
            for ent in ents:
                EntityState.release(ent, self)
        self.__entity_set_map.clear()
217916
def Reset(self):
    """"""
    self._displayed = 0
    self._currentpagelines = 0
    self._lastscroll = 1
    self._lines_to_show = self._cli_lines
766825
void reset() {

        if (this.keys == null) {
            this.len = Integer.MIN_VALUE;
            this.mask = Integer.MIN_VALUE;
            this.threshold = Integer.MIN_VALUE;
            this.count = Integer.MIN_VALUE;
            for (int i = 0; i < 3; i++) {
                this.ints[i] = Integer.MIN_VALUE;
            }
            this.map = null;
        } else {
            this.keys = new Object[this.keys.length];
        }

        this.count = 0;

    }
233714
def reset(self):
        
        self.operations = []
        self._last_overflow = 'WRAP'
        self.overflow(self._default_overflow or self._last_overflow)
818434
def reset(self):
        
        self.current_table = None
        self.tables = []
        self.data = [{}]
        self.additional_data = {}
        self.lines = []
        self.set_state('document')
        self.current_file = None
        self.set_of_energies = set()
829708
def reset(self):
        

        self.stream.write(self.normal_cursor)
        self.stream.write(self.csr(0, self.height))
        self.stream.write(self.move(self.height, 0))
291442
def clear(self):
    
    self.__init__(size=self.size, alpha=self.alpha, clock=self.clock)
719690
function _reset() {
  this._queue = [];
  this._commands = [{cmd: Constants.MAP.multi.name, args: []}];
  this._multi = false;
}
808219
function reset() {
			aBuffer = that.aBuffer = [];
			aRenderedControls = that.aRenderedControls = [];
			aStyleStack = that.aStyleStack = [{}];
		}
585563
private function reset()
    {
        $this->state   = self::IN_TEXT;
        $this->tagType = null;
        $this->buffer  = '';
        $this->tokens  = array();
        $this->seenTag = false;
        $this->line    = 0;
        $this->otag    = '{{';
        $this->ctag    = '}}';
        $this->otagLen = 2;
        $this->ctagLen = 2;
    }
40795
private function reset(): void
    {
        $this->value = 0;
        $this->color = null;
        $this->striped = false;
        $this->animate = false;
        $this->label = null;
    }
559446
public function resetState()
    {
        if ($this->ajaxWidget) {
            $this->widgetContext = $this->objectManager->get(\TYPO3\Fluid\Core\Widget\WidgetContext::class);
        }
    }
348386
function reset() {
    u = new Float64Array( height * width  )
    up = new Float64Array( height * width )
    un = new Float64Array( height * width )
    uu = new Float64Array( height * width )
  }