Resets the iterator so that one can start again from the beginning.
14978
public void reset() {
        done = false;
        for (int i = 0; i < current.length; ++i) {
            current[i] = 0;
        }
    }
816618
public void reset()
   {
      min.set(Long.MAX_VALUE);
      max.set(0);
      total.set(0);
      times.set(0);
   }
13867
@Override
    public final void reset()
    {
        m_currentCodepoint_ = 0;
        m_nextCodepoint_    = 0;
        m_nextIndex_        = 0;
        m_nextBlock_ = m_trie_.m_index_[0] << Trie.INDEX_STAGE_2_SHIFT_;
        if (m_nextBlock_ == m_trie_.m_dataOffset_) {
            m_nextValue_ = m_initialValue_;
        }
        else {
            m_nextValue_ = extract(m_trie_.getValue(m_nextBlock_));
        }
        m_nextBlockIndex_ = 0;
        m_nextTrailIndexOffset_ = TRAIL_SURROGATE_INDEX_BLOCK_LENGTH_;
    }
148898
def reset(self):
        """"""
        self._init_counter = -1
        self._counter = -1
        for cell in self._children.values():
            cell.reset()
563529
public void reset() {
    this.result = UNDEF;
    this.var2index = new TreeMap<>();
    this.index2var = new TreeMap<>();
    switch (this.algorithm) {
      case WBO:
        this.solver = new WBO(this.configuration);
        break;
      case INC_WBO:
        this.solver = new IncWBO(this.configuration);
        break;
      case LINEAR_SU:
        this.solver = new LinearSU(this.configuration);
        break;
      case LINEAR_US:
        this.solver = new LinearUS(this.configuration);
        break;
      case MSU3:
        this.solver = new MSU3(this.configuration);
        break;
      case WMSU3:
        this.solver = new WMSU3(this.configuration);
        break;
      default:
        throw new IllegalArgumentException("Unknown MaxSAT algorithm: " + this.algorithm);
    }
  }
1149067
public void reset()
    {
        for(int i = 0; i < index.size(); i++)
            index.set(i, i);
    }
541501
public function reset()
	{
		$this->started = $this->now();
		$this->prefix  = '';
		$this->marks   = array();
		$this->memory  = memory_get_usage(true);
	}
1193140
public synchronized void reset() throws BlockStoreException {
        try {
            WriteBatch batch = db.createWriteBatch();
            try {
                DBIterator it = db.iterator();
                try {
                    it.seekToFirst();
                    while (it.hasNext())
                        batch.delete(it.next().getKey());
                    db.write(batch);
                } finally {
                    it.close();
                }
            } finally {
                batch.close();
            }
            initStoreIfNeeded();
        } catch (IOException e) {
            throw new BlockStoreException(e);
        }
    }
119712
public static function reset() {
		if (empty(self::$_initialState)) {
			self::$_initialState = get_class_vars('Inflector');
			return;
		}
		foreach (self::$_initialState as $key => $val) {
			if ($key != '_initialState') {
				self::${$key} = $val;
			}
		}
	}
1352432
public function reset()
    {
        // We need to reset our recursion handler, because
        // the content of classes might change with another run.
        $this->createClass('Brainworxx\\Krexx\\Service\\Flow\\Recursion');
        // Initialize the code generation.
        $this->createClass('Brainworxx\\Krexx\\Analyse\\Code\\Codegen');
        $this->createClass('Brainworxx\\Krexx\\Analyse\\Code\\Scope');
        // We also reset our emergency handler timer.
        $this->emergencyHandler->resetTimer();
    }
863676
protected function resetState()
    {
        $this->iteratedCount = 0;
        $this->retrievedCount = 0;
        $this->nextToken = false;
        $this->resources = null;
        $this->invalid = false;
    }
162096
public void reset() {
        synchronized (lock) {
            released = false;
            e = null;
            result = null;
            runningThreadId = null;
        }
    }
404
public void reset()
    {
        try{
            out=IO.getNullWriter();
            super.flush();
            out=new OutputStreamWriter(os,encoding);
            written=false;
        }
        catch(UnsupportedEncodingException e)
        {
            log.fatal(e); System.exit(1);
        }
    }
193102
public function reset() {
        $this->processstarted = false;
        $this->linenb = 0;
        $this->cir->init();
        $this->errors = array();
    }
223811
@Override
    public void reset() {
        if (!iter.resetSupported()) {
            throw new IllegalStateException(
                            "Cannot reset MultipleEpochsIterator with base iter that does not support reset");
        }
        epochs = 0;
        lastBatch = batch;
        batch = 0;
        iterationsCounter.set(0);
        iter.reset();
    }
1132065
protected void reset() {
		if (this.status == ProcessStatus.STOPPED || this.status == ProcessStatus.COMPLETED) {
			if (this.runOnce) {
				throw new UnsupportedOperationException("This process template can only safely execute once; "
						+ "instantiate a new instance per request");
			}

			this.status = ProcessStatus.RESET;
		}
	}
521778
public final void reset() {
        successfulTests = 0;
        failedTests = 0;
        timeoutTests = 0;
        errorTests = 0;
        individualErrors = 0;

        startTime = null;
        endTime = null;
    }