clear all pools.
964920
public void clear(){
		for(Entry<String, Pool<BehaviorTree>> entry : pools.entries()){
			entry.value.clear();
		}
		pools.clear();
	}
807173
def clear_all(self):
        
        self._lock.acquire()
        try:
            self._cache = {}
            self._updated = False
        finally:
            self._lock.release()
195253
def clear(self):
        """"""
        for i, value in enumerate(self.buffer):
            self.buffer[i] = 0
379188
public synchronized void clear()
    {
        pool.forEachUntil(new DoUntilProcedure<E>()
        {
            public boolean execute(E object)
            {
                destroyObject(object);
                return false;
            }
        });
        pool.clear();
        numActive = 0;
        notifyAll(); // num sleeping has changed
    }
1279250
public void removeAll() {
		for (Light light : lightList) {
			light.dispose();
		}
		lightList.clear();

		for (Light light : disabledLights) {
			light.dispose();
		}
		disabledLights.clear();
	}
1178379
def clear(self):
        """"""

        r = self._h._http_resource(
            method='DELETE',
            resource=('user', 'keys'),
        )

        return r.ok
205300
private void cleanup() {
    if (operation instanceof Command && log.isOpen()) {
      try {
        log.release(index);
      } catch (IllegalStateException e) {
      }
    }

    session.release();

    index = 0;
    session = null;
    instant = null;
    operation = null;

    pool.release(this);
  }
636483
public function clear()
    {
        $this->paths = [];
        $this->names = [];
        $this->recursive = false;
        $this->file_only = false;
        $this->directory_only = false;
    }
1039191
public static function clearAll()
  {
    $names = array_keys(self::$_instances);
    foreach ($names as $name) {
      self::clearInstance($name);
    }
  }
614659
private function clearConnectionPool()
    {
        $deleted = $this->connectionPool->removeInvalid();

        foreach ($deleted as $deletedid)
        {
            $this->emit('disconnect', [ $deletedid ]);
        }
    }
1205110
public function clear() {
		$fileEngine = $this->getFileEngine();
		$fileEngine->removeAll();
		if (!$this->tm->hasOpenTransaction()) {
			$fileEngine->flush();
		}
	}
1015939
public void clear() {
        Node<T> node = head.next, next;
        size = 0;
        head.reset(); // Clearing references.
        tail = head;
        iterator.currentNode = head;
        while (node != null) {
            next = node.next;
            node.free(pool);
            node = next;
        }
    }
492331
public function clearAll()
    {
        $this->clearErrors();
        $this->clearWarnings();
        $this->clearProgWarnings();
        $this->clearDebugMessages();
        $this->clearInfos();
        
        unset(self::$session_vars["focus_element"]);
        unset(self::$session_vars["error_element"]);
        unset(self::$session_vars["active_tab"]);
    }
803068
def disconnect_pools(self):
        """"""
        with self._lock:
            for pool in self._pools.itervalues():
                pool.disconnect()
            self._pools.clear()
398121
public function purgeAll() {
		
		if ($this->useFallback) {
			if ($this->log) {
				$this->log->trace("Purging the whole file cache.");
			}
			$files = glob($this->getDirectory()."*");
			foreach ($files as $filename) {
				unlink($filename);
			}
			return;
		}
		
		apc_clear_cache('user');
	}
1312419
def clear(self):
        """"""
        if len(self.list):
            self._LOG.debug("List cleared.")
        self.list.clear()
937676
public void clearAll() {
        this.auths.clear();
        this.authsByUser.clear();
        File[] auths = this.authStoreDir.listFiles(new AuthFilenameFilter());
        for (int i = 0; i < auths.length; i++) {
            auths[i].delete();
        }
    }