Resets all the requests counters to 0.
173107
public function resetRequestsCounter()
    {
        $uri = $this->createBaseUri()->withPath(self::API_EXECUTIONS_URL);
        $request = (new PsrRequest())->withUri($uri)->withMethod('delete');

        $this->ensureIsNotErrorResponse($this->connection->send($request));
    }
690134
private static void resetCounters() {
        atomCount = 0;
        bondCount = 0;
        atomContainerCount = 0;
        atomContainerSetCount = 0;
        reactionCount  = 0;
        reactionSetCount = 0;
        chemModelCount = 0;
        chemSequenceCount = 0;
        chemFileCount = 0;
    }
220998
public function reset()
    {
        $this->numRequests  = 0;
        $this->numProcessed = 0;

        $this->currItem                 = null;
        $this->resumptionToken          = null;
        $this->totalRecordsInCollection = null;
        $this->expireDate               = null;

        $this->batch = [];
    }
1154377
void clearCounter(String counterName) {
		final Counter counter = getCounterByName(counterName);
		if (counter != null) {
			final List<CounterRequest> requests = counter.getRequests();
			// on réinitialise le counter
			counter.clear();
			// et on purge les données correspondantes du collector utilisées pour les deltas
			globalRequestsByCounter.remove(counter);
			for (final CounterRequest request : requests) {
				requestsById.remove(request.getId());
				requestJRobinsById.remove(request.getId());
			}
		}
	}
298911
public function reset() : void
    {
        $this->buffer = [];
        $this->bufferSize = 0;
        $this->affectedRows = 0;
        $this->totalOperations = 0;
    }
550032
protected synchronized void reset() {
		if (max == 0) {
			return;
		}
		for (int i = 0; i < timestamps.length; i++) {
			timestamps[i] = 0;
		}
		min = 0;
		max = 0;
		tested = 0;
		locked = false;
	}
98531
public void resetPMICounters() {
        final String methodName = "resetPMICounters()";
        if (tc.isDebugEnabled())
            Tr.debug(tc, methodName + " cacheName=" + _sCacheName);

        if (_enable && this._maxInMemoryCacheEntryCount != null) {
            this._maxInMemoryCacheEntryCount.setCount(0);
        }
        if (_enable && this._inMemoryCacheEntryCount != null) {
            this._inMemoryCacheEntryCount.setCount(0);
        }
        if (_csmDisk != null && _csmDisk._enable) {
            if (_csmDisk._objectsOnDisk != null) {
                _csmDisk._objectsOnDisk.setCount(0);
            }
            if (_csmDisk._hitsOnDisk != null) {
                _csmDisk._hitsOnDisk.setCount(0);
            }
            if (_csmDisk._explicitInvalidationsFromDisk != null) {
                _csmDisk._explicitInvalidationsFromDisk.setCount(0);
            }
            if (_csmDisk._timeoutInvalidationsFromDisk != null) {
                _csmDisk._timeoutInvalidationsFromDisk.setCount(0);
            }
            if (_csmDisk._pendingRemovalFromDisk != null) {
                _csmDisk._pendingRemovalFromDisk.setCount(0);
            }
            if (_csmDisk._dependencyIdsOnDisk != null) {
                _csmDisk._dependencyIdsOnDisk.setCount(0);
            }
            if (_csmDisk._dependencyIdsBufferedForDisk != null) {
                _csmDisk._dependencyIdsBufferedForDisk.setCount(0);
            }
            if (_csmDisk._dependencyIdsOffloadedToDisk != null) {
                _csmDisk._dependencyIdsOffloadedToDisk.setCount(0);
            }
            if (_csmDisk._dependencyIdBasedInvalidationsFromDisk != null) {
                _csmDisk._dependencyIdBasedInvalidationsFromDisk.setCount(0);
            }
            if (_csmDisk._templatesOnDisk != null) {
                _csmDisk._templatesOnDisk.setCount(0);
            }
            if (_csmDisk._templatesBufferedForDisk != null) {
                _csmDisk._templatesBufferedForDisk.setCount(0);
            }
            if (_csmDisk._templatesOffloadedToDisk != null) {
                _csmDisk._templatesOffloadedToDisk.setCount(0);
            }
            if (_csmDisk._templateBasedInvalidationsFromDisk != null) {
                _csmDisk._templateBasedInvalidationsFromDisk.setCount(0);
            }
            if (_csmDisk._garbageCollectorInvalidationsFromDisk != null) {
                _csmDisk._garbageCollectorInvalidationsFromDisk.setCount(0);
            }
            if (_csmDisk._overflowInvalidationsFromDisk != null) {
                _csmDisk._overflowInvalidationsFromDisk.setCount(0);
            }
        }
        if (this._iCacheType == TYPE_SERVLET) {
            for (CacheStatsModule csm : templatesPassed.values()) {
                if (csm != null && csm._enable) {
                    if (csm._hitsInMemoryCount != null) {
                        csm._hitsInMemoryCount.setCount(0);
                    }
                    if (csm._hitsOnDiskCount != null) {
                        csm._hitsOnDiskCount.setCount(0);
                    }
                    if (csm._explicitInvalidationCount != null) {
                        csm._explicitInvalidationCount.setCount(0);
                    }
                    if (csm._lruInvalidationCount != null) {
                        csm._lruInvalidationCount.setCount(0);
                    }
                    if (csm._timeoutInvalidationCount != null) {
                        csm._timeoutInvalidationCount.setCount(0);
                    }
                    if (csm._inMemoryAndDiskCacheEntryCount != null) {
                        csm._inMemoryAndDiskCacheEntryCount.setCount(0);
                    }
                    if (csm._remoteHitCount != null) {
                        csm._remoteHitCount.setCount(0);
                    }
                    if (csm._missCount != null) {
                        csm._missCount.setCount(0);
                    }
                    if (csm._clientRequestCount != null) {
                        csm._clientRequestCount.setCount(0);
                    }
                    if (csm._distributedRequestCount != null) {
                        csm._distributedRequestCount.setCount(0);
                    }
                    if (csm._explicitMemoryInvalidationCount != null) {
                        csm._explicitMemoryInvalidationCount.setCount(0);
                    }
                    if (csm._explicitDiskInvalidationCount != null) {
                        csm._explicitDiskInvalidationCount.setCount(0);
                    }
                    if (csm._localExplicitInvalidationCount != null) {
                        csm._localExplicitInvalidationCount.setCount(0);
                    }
                    if (csm._remoteExplicitInvalidationCount != null) {
                        csm._remoteExplicitInvalidationCount.setCount(0);
                    }
                    if (csm._remoteCreationCount != null) {
                        csm._remoteCreationCount.setCount(0);
                    }
                }
            }
        } else if (_csmObject != null && _csmObject._enable) {
            if (_csmObject._hitsInMemoryCount != null) {
                _csmObject._hitsInMemoryCount.setCount(0);
            }
            if (_csmObject._hitsOnDiskCount != null) {
                _csmObject._hitsOnDiskCount.setCount(0);
            }
            if (_csmObject._explicitInvalidationCount != null) {
                _csmObject._explicitInvalidationCount.setCount(0);
            }
            if (_csmObject._lruInvalidationCount != null) {
                _csmObject._lruInvalidationCount.setCount(0);
            }
            if (_csmObject._timeoutInvalidationCount != null) {
                _csmObject._timeoutInvalidationCount.setCount(0);
            }
            if (_csmObject._inMemoryAndDiskCacheEntryCount != null) {
                _csmObject._inMemoryAndDiskCacheEntryCount.setCount(0);
            }
            if (_csmObject._remoteHitCount != null) {
                _csmObject._remoteHitCount.setCount(0);
            }
            if (_csmObject._missCount != null) {
                _csmObject._missCount.setCount(0);
            }
            if (_csmObject._clientRequestCount != null) {
                _csmObject._clientRequestCount.setCount(0);
            }
            if (_csmObject._distributedRequestCount != null) {
                _csmObject._distributedRequestCount.setCount(0);
            }
            if (_csmObject._explicitMemoryInvalidationCount != null) {
                _csmObject._explicitMemoryInvalidationCount.setCount(0);
            }
            if (_csmObject._explicitDiskInvalidationCount != null) {
                _csmObject._explicitDiskInvalidationCount.setCount(0);
            }
            if (_csmObject._localExplicitInvalidationCount != null) {
                _csmObject._localExplicitInvalidationCount.setCount(0);
            }
            if (_csmObject._remoteExplicitInvalidationCount != null) {
                _csmObject._remoteExplicitInvalidationCount.setCount(0);
            }
            if (_csmObject._remoteCreationCount != null) {
                _csmObject._remoteCreationCount.setCount(0);
            }
        }
    }
521778
public final void reset() {
        successfulTests = 0;
        failedTests = 0;
        timeoutTests = 0;
        errorTests = 0;
        individualErrors = 0;

        startTime = null;
        endTime = null;
    }
294845
void reset() {
    logger = null;
    level = Level.DEBUG;
    marker = null;
    startTime = -1L;
    startNanos = -1L;
    latency = -1L;
    owner = null;
    result = null;
    protocol = null;
    status = null;
    statusDetail = null;
    exception = null;
    attempt = null;
    attemptFinal = null;
    vip = null;
    endpoint = null;
    clientRegion = null;
    clientZone = null;
    clientApp = null;
    clientCluster = null;
    clientAsg = null;
    clientNode = null;
    serverRegion = null;
    serverZone = null;
    serverApp = null;
    serverCluster = null;
    serverAsg = null;
    serverNode = null;
    httpMethod = null;
    httpStatus = -1;
    uri = null;
    path = null;
    requestHeaders.clear();
    responseHeaders.clear();
    remoteAddress = null;
    remotePort = -1;
    additionalTags.clear();
    builder.delete(0, builder.length());
    inflightId = null;
  }
350886
public void reset() {
    this.state = State.FREE;
    this.level = Integer.MAX_VALUE;
    this.mark = 0;
    this.reason = null;
  }
333364
void reset(int count) {
      if (counter != null)
         counter.releaseShared(count);
      available.releaseShared(count);
   }
771472
def _reset_state(self):
        
        self._builders = {}
        self._total_data_size = 0
        self._progress_offset = 0
        self._current_progress_fraction = 0
760009
def reset_status(self):
        """"""
        for item in self.items:
            item.isProcessing = False
            item.currentProgress = 0
608239
void resetForRetry() {
    startTime = -1L;
    startNanos = -1L;
    latency = -1L;
    result = null;
    status = null;
    statusDetail = null;
    exception = null;
    attempt = null;
    attemptFinal = null;
    vip = null;
    serverRegion = null;
    serverZone = null;
    serverApp = null;
    serverCluster = null;
    serverAsg = null;
    serverNode = null;
    httpStatus = -1;
    requestHeaders.clear();
    responseHeaders.clear();
    remoteAddress = null;
    remotePort = -1;
    builder.delete(0, builder.length());
    inflightId = null;
  }
863676
protected function resetState()
    {
        $this->iteratedCount = 0;
        $this->retrievedCount = 0;
        $this->nextToken = false;
        $this->resources = null;
        $this->invalid = false;
    }
1253430
function resetstat(req, res) {
  this.stats.reset();
  res.send(null, Constants.OK);
}
505017
@Override
	public void resetStats()
    {
    	super.resetStats();
    	sentToQueueCount.set(0);
    	receivedFromQueueCount.set(0);
    	acknowledgedGetCount.set(0);
    	rollbackedGetCount.set(0);
    	expiredCount.set(0);
    }