Resets the current context environment, notifiers and motion detectors.
@public
8092
function Reset () {
  log.info('Reseting environment...')
  for (let m in motionDetectors) {
    RemoveDetector(motionDetectors[m])
  }
  for (let n in em.GetNotifiers()) {
    RemoveNotifier(em.GetNotifiers()[n], true)
  }
  em.SetNotifiers([])
  if (em.GetEnvironment()) {
    em.GetEnvironment().removeAllListeners('changedState')
    em.GetEnvironment().exit()
    em.SetEnvironment(undefined)
  }
  motionDetectors = []
  Object.keys(pm.GetPlugins()).forEach(function (key) {
    let p = pm.GetPlugins()[key]
    console.log(`  Attempting to reset plugin ${p.id} with key ${key}...`)
    if (p.Reset) {
      p.Reset()
      log.info('ok.')
    }
  })
  pm.ResetPlugins()
  config = {}
  log.info('Done Reseting environment.')
}
595865
public void reset() {
        setDisplayName(null);
        setAbbreviatedDisplayName(null);
        setDescription(null);
        setInverseIsA(ArrayUtils.EMPTY_STRING_ARRAY);
        setTermIds(ArrayUtils.EMPTY_STRING_ARRAY);
        setPropertyDefinitions(new PropertyDefinition[]{});
        setReferenceDefinitions(new ReferenceDefinition[]{});
        setInDataSource(false);
        setAccessed(null);
        setCreated(null);
        setUpdated(null);
    }
1213143
function reset(context) {
    context.shadowOffsetX = null;
    context.shadowOffsetY = null;
    context.shadowBlur = null;
    context.shadowColor = '';
    context.strokeStyle = null;
    context.lineWidth = 0;
    context.save();
}
976839
public void reset() {
		trackerLeft.reset();
		trackerRight.reset();
		keyToWorld.reset();
		currToKey.reset();
		first = true;
		tick = 0;
	}
640961
def reset(self):
        
        self.grid = [[0 for dummy_l in range(self.grid_width)] for dummy_l in range(self.grid_height)]
635933
def reset(self):
    

    self.activeCells = np.empty(0, dtype="uint32")
    self.activeDeltaSegments = np.empty(0, dtype="uint32")
    self.activeFeatureLocationSegments = np.empty(0, dtype="uint32")
193102
public function reset() {
        $this->processstarted = false;
        $this->linenb = 0;
        $this->cir->init();
        $this->errors = array();
    }
572144
def reset(self):
        
        self._cli.reset()
        self._cli.buffers[DEFAULT_BUFFER].reset()
        self._cli.renderer.request_absolute_cursor_position()
        self._cli._redraw()
782417
public static void reset() {
        getInstance().notifier.set(null);
        getInstance().concurrencyStrategy.set(null);
        getInstance().metricsPublisher.set(null);
        getInstance().propertiesFactory.set(null);
        getInstance().commandExecutionHook.set(null);
        HystrixMetricsPublisherFactory.reset();
    }
264032
function reset() {

    // reset for subsequent use
    transIndex = 0;
    image = null;
    pixels = null;
    indexedPixels = null;
    colorTab = null;
    closeStream = false;
    firstFrame = true;
  }
1005920
def reset(self):
        """"""
        self._positions = []
        self._line = 1
        self._curr = None  # current scope we are analyzing
        self._scope = 0
        self.language = None
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;

    }
326599
def reset(self):
        
        self._x = self._start_x
        self._y = self._start_y
1033818
public void reset() {

        this.pp.setIndex(0);
        this.pp.setErrorIndex(-1);
        this.errorMessage = "";
        this.warning = false;
        this.rawValues = null;

    }
699015
function reset() {
		foreach ($this->fields as &$field) {
			$field['value']=NULL;
			$field['initial']=NULL;
			$field['changed']=FALSE;
			if ($field['pkey'])
				$field['previous']=NULL;
			unset($field);
		}
		foreach ($this->adhoc as &$field) {
			$field['value']=NULL;
			unset($field);
		}
		parent::reset();
	}
1137210
private function resetContext() {
        $this->debug_tokens = $this->tokens;
        $this->tokens = array_merge(array(), $this->context);
    }
380177
public void reset() {
    mGestureInProgress = false;
    mPointerCount = 0;
    for (int i = 0; i < MAX_POINTERS; i++) {
      mId[i] = MotionEvent.INVALID_POINTER_ID;
    }
  }