Reset all cached data and loaded locates.
540991
public function reset()
    {
        $this->cache->setLocales(null);
        foreach ($this->getLocales() as $locale) {
            $this->cache->saveLocale($locale, null);
        }

        $this->locales = [];
        $this->catalogues = [];
    }
1100399
public function rebuild()
    {
        $this->cache->erase();
        $this->reset();
        $this->warmUpCache();
        $this->cache->save();
    }
1196127
public static function reset_caches() {
        self::$requestinguserid = null;
        self::$eventfactory = null;
        self::$eventmapper = null;
        self::$eventvault = null;
        self::$actionfactory = null;
        self::$eventretrievalstrategy = null;
        self::$coursecache = [];
        self::$modulecache = [];
    }
869421
private function clearSiteCaches()
    {
        $obj = Craft::$app->sites;
        $refObject = new \ReflectionObject($obj);
        if ($refObject->hasProperty('_sitesById')) {
            $refProperty1 = $refObject->getProperty('_sitesById');
            $refProperty1->setAccessible(true);
            $refProperty1->setValue($obj, null);
        }
        if ($refObject->hasProperty('_sitesByHandle')) {
            $refProperty2 = $refObject->getProperty('_sitesByHandle');
            $refProperty2->setAccessible(true);
            $refProperty2->setValue($obj, null);
        }
        $obj->init(); // reload sites
    }
739958
public function reset()
    { 
        $this->setPosition(0);
        $this->setOnWriteDataMode(false);
        $this->setDataBuffer(null);
        $this->setResource(null);
    }
654762
function clear() {
        var cache = caches[this.name];
        if (cache && cache.flush && !redisOffline) {
            cache.flush();
        }
    }
476452
static void reset() {
    activityIdMap.clear();
    for (ActivityScopedCache scopedCache : activityScopedCacheMap.values()) {
      scopedCache.clear();
    }

    activityScopedCacheMap.clear();
  }
1046208
def reset(self):
        """"""
        self.scores = torch.FloatTensor(torch.FloatStorage())
        self.targets = torch.LongTensor(torch.LongStorage())
        self.weights = torch.FloatTensor(torch.FloatStorage())
764906
public function reset()
    {
        $this->position           = 0;
        $this->mapIdToClassName   = [];
        $this->numericalIndex     = [];
        $this->argumentsById      = [];
        $this->constructorById    = [];
        $this->classNameById      = [];
        $this->dependenciesById   = [];
        $this->indexedByClassName = [];
    }
253945
public void refresh() {
        if (profileFile.lastModified() > profileFileLastModified) {
            profileFileLastModified = profileFile.lastModified();
            allProfiles = loadProfiles(profileFile);
        }
        credentialProviderCache.clear();
    }
1184562
def _reset(self):
        """"""
        self.nr_of_executed_insns = 0
        self.begin = None
        self.end = None
        self.coverage = {}
52376
def clear_cache():
        """"""
        del Cache._keys
        for k in list(Cache._cache.keys()):
            it = Cache._cache.pop(k)
            del it
        del Cache._cache
        Cache._keys = []
        Cache._cache = {}
        gc.collect()
837803
protected void resetCache() {
		cacheProperties.clear();
		linkedResourceMap.clear();
		cacheProperties.put(JawrConfig.JAWR_CHARSET_NAME, config.getResourceCharset().name());
	}
313450
void reset() {
        cd = initCd;
        serializer = initSerializer;
        in.position(initPosition);
        finalPosition = initFinalPosition;
        offset = initOffset;
    }
707115
private function reset() : void
    {
        $this->id = null;
        $this->data = [];
        $this->inRequest = false;
    }
254261
def reset(self):
        
        self.indexCount = 0
        indexDir = self.store.newDirectory(self.indexDirectory)
        if indexDir.exists():
            indexDir.remove()
        for src in self.getSources():
            src.removeReliableListener(self)
            src.addReliableListener(self, style=iaxiom.REMOTE)
888614
def reload(self):
        ''
        self.rows = []

#        if len(self.origCols) == 1 and self.origCols[0].type in (int, float, currency):
#            self.numericBinning()
#        else:
        self.discreteBinning()

        # automatically add cache to all columns now that everything is binned
        for c in self.nonKeyVisibleCols:
            c._cachedValues = collections.OrderedDict()