Reset emitter of the instance recursively
@param ins <Mux>
343528
function _walkResetEmiter (ins, em, _pem) {
    if ($type(ins) == OBJECT) {
        var items = ins
        if (instanceOf(ins, Mux)) {
            ins._$emitter(em, _pem)
            items = ins.$props()
        }
        $util.objEach(items, function (k, v) {
            _walkResetEmiter(v, em, _pem)
        })
    } else if ($type(ins) == ARRAY) {
        ins.forEach(function (v) {
            _walkResetEmiter(v, em, _pem)
        })
    }
}
1103868
public static void resetCounters() {
		unionCount = intersectionCount = differenceCount = symmetricDifferenceCount = complementCount = 
			unionSizeCount = intersectionSizeCount = differenceSizeCount = symmetricDifferenceSizeCount = complementSizeCount = 
				equalsCount = hashCodeCount = containsAllCount = containsAnyCount = containsAtLeastCount = 0;
	}
253258
private void reset() {
    size = 0;
    qualifier_index = 0;
    value_index = 0;
    base_time = Long.MIN_VALUE;
    last_timestamp = Long.MIN_VALUE;
  }
425568
void reset() {
        cleanup(); // cleaning up all context before reseting producer registry instance

        listeners.clear();
        registry.clear();

        String junittest = System.getProperty("JUNITTEST");
        if (junittest != null && junittest.equalsIgnoreCase("true")) // preventing listener's initialization for JUnit run's
            return;

        addListener(new JMXBridgeListener());

    }
556513
public void reset() {
		Enumeration<TreeNode> children = root.children();
		while (children.hasMoreElements()) {
			removeNodeFromParent((MutableTreeNode) children.nextElement());
			children = root.children();
		}
	}
689851
public void reset( Reader input ) throws IOException
    { 
        if ( input != null ) {
            reader = new IPushbackReader(new BufferedReader(input));
        }
        
        idx = -1;
    }
598061
public void setSystem(ParticleSystem system) {
		this.system = system;
		emitters.clear();
		system.setRemoveCompletedEmitters(false);
		for (int i = 0; i < system.getEmitterCount(); i++) {
			emitters.add(system.getEmitter(i));
		}
	}
935149
public final void reset ()
  {
    for (int i = 0; i < m_aIndexResult.length; i++)
      m_aIndexResult[i] = i;
    m_aCombinationsLeft = m_aTotalCombinations;
    m_nCombinationsLeft = m_nTotalCombinations;
  }
780542
public void invalidate(InternalIndex index) {
        String[] components = index.getComponents();
        if (components == null) {
            cache.remove(index.getName());
            return;
        }

        for (String component : components) {
            TypeConverter converter = cache.get(component);
            if (converter instanceof UnresolvedConverter) {
                cache.remove(component);
            }
        }
    }
437646
@Override
  protected void reset() {
    super.reset();
    mapClassesToNamedBoundProviders.clear();
    mapClassesToUnNamedBoundProviders.clear();
    hasTestModules = false;
    installBindingForScope();
  }
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);
    }
  }
101488
private void reset()
  {
    if (tc.isEntryEnabled())
      SibTr.entry(tc, "reset");

    if (iInitialised)
    {
      // Reset the ArrayLists associated with this message        
      iTopics.clear();
      iTopicSpaces.clear();
      iTopicSpaceMappings.clear();

      // Create a new message to send to this Neighbour.
      iSubscriptionMessage = createSubscriptionMessage();
    }
    else
    {
      iInitialised = true;
    }

    if (tc.isEntryEnabled())
      SibTr.exit(tc, "reset");
  }
593611
public void reset() {
		this.rawPatterns.clear();
		this.compiledPatterns.clear();
		this.inlineFormat = DEFAULT_INLINE_FORMAT;
		this.blockFormat = null;
		this.outlineOutputTag = DEFAULT_OUTLINE_OUTPUT_TAG;
		this.dynamicNameExtractionPattern = DEFAULT_TAG_NAME_PATTERN;
		this.lineContinuation = DEFAULT_LINE_CONTINUATION;
	}
737959
public void resetAll(MemberId leader, Collection<MemberId> members) {
    MemberId oldLeader = this.leader;
    this.leader = leader;
    this.members = Lists.newLinkedList(members);
    selectors.forEach(s -> s.reset(leader, this.members));
    if (!Objects.equals(oldLeader, leader)) {
      leaderChangeListeners.forEach(l -> l.accept(leader));
    }
  }
350886
public void reset() {
    this.state = State.FREE;
    this.level = Integer.MAX_VALUE;
    this.mark = 0;
    this.reason = null;
  }
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();
    }
372837
public function Reset()
	{
		parent::Reset();
		if ( ! is_null( $this->childIter ) )
		{
			$this->childIter = null;
		}
		$this->index = 0;
	}